> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/fdtbus.4.md).

# fdtbus.4

`fdtbus` — Flattened Device Tree 总线驱动程序

## 名称

`fdtbus`

## 概要

`options FDT`

## 描述

`fdtbus` 抽象总线驱动程序是 [fdt(4)](/man/man4/fdt.4.md) 硬件资源描述与 FreeBSD 原生 newbus 设备驱动程序框架之间的主要连接和转换层。对于嵌入式系统，`fdtbus` 代表通常在高度集成芯片（system-on-chip）上发现的外设。

`fdtbus` 驱动程序为所有面向 [fdt(4)](/man/man4/fdt.4.md) 的设备驱动程序提供通用的公共基础设施，其主要职责如下：

* 创建反映 flattened device tree 中 [fdt(4)](/man/man4/fdt.4.md) 节点的 newbus 子设备。
* 管理 SYS\_RES\_IRQ 资源。
* 管理 SYS\_RES\_MEMORY、SYS\_RES\_IOPORT 资源。

## 参见

[fdt(4)](/man/man4/fdt.4.md), [openfirm(4)](/man/man4/openfirm.4.md), [simplebus(4)](/man/man4/simplebus.4.md)

## 标准

IEEE Std 1275：IEEE Boot（初始化配置）固件标准：核心要求与实践（`Open Firmware`）。

Power.org 嵌入式 Power 架构平台要求标准（`ePAPR`）。

## 历史

`fdtbus` 支持首次出现于 FreeBSD 9.0。

## 作者

`fdtbus` 支持由 Semihalf 在 FreeBSD Foundation 赞助下开发。本手册页由 Rafal Jaworowski 编写。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/fdtbus.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
