gpu*_*guy 5 embedded devices device-tree
以下是设备树文件中的代码片段:
flash@0 {
compatible = "n25q128";
reg = <0x0>;
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
partition@qspi-fsbl-uboot {
label = "qspi-fsbl-uboot";
reg = <0x0 0x100000>;
};
partition@qspi-linux {
label = "qspi-linux";
reg = <0x100000 0x500000>;
};
partition@qspi-device-tree {
label = "qspi-device-tree";
reg = <0x600000 0x20000>;
};
partition@qspi-rootfs {
label = "qspi-rootfs";
reg = <0x620000 0x5E0000>;
};
partition@qspi-bitstream {
label = "qspi-bitstream";
reg = <0xC00000 0x400000>;
};
};
Run Code Online (Sandbox Code Playgroud)
我的简单问题是 < > 中的两个值是什么?例如在 reg = <0x600000 0x20000>;
我认为它是 initial 和 final address ,但这在这里意义不大,因为 final 不能低于 initial 。
| 归档时间: |
|
| 查看次数: |
1944 次 |
| 最近记录: |