Kernel 3.10 device tree 配置Notes Andrew Yang
1. SIPC devices 配置
1.1 /* memory reserved for SMEM */
/memreserve/ 0x87800000 0x240000;
这段配置是share memory 起始physical address和长度
1.2 sipc设备根节点的配置
sipc: sipc@0x87800000 {
compatible = "sprd,sipc";
reg = <0x87800000 0x240000>; /* <SMEM SIZE>*/
//#interrupt-cells = <2>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x8000000 0x88000000 0x1b00000>,
<0x07800000 0x87800000 0x180000>, <0x9aff000 0x89aff000 0x1000>, <0x0a800000 0x8a800000 0x201000>, <0x07980000 0x87980000 0xc0000>,
<0x0aa00000 0x8aa00000 0x1000>;
sipc: sipc@0x87800000 设备树节点定义从share memory 起始physical address开始 reg = <0x87800000 0x240000>; 第一个cell是share memory 起始physical address,第二个cell是长度。这正好和1.1小节对应
ranges是地址映射表,第一个cell是相对于physical base address的偏移,第二个cell是起始地址值,第三个cell是length,具体每一组值含义在下节详细介绍
1.3子节点设备描述
sipc_cpw@0x8000000 {
sprd,name = "sipc-w";
sprd,dst = <2>;
sprd,ap2cp = <0xf5240000>;
sprd,cp2ap = <0xf5240004>;
sprd,trig = <0x01>; /* trigger bit */
sprd,clr = <0x01>; /* clear bit */
interrupts = <0 68 0x0>;
reg = <0x8000000 0x1b00000> , <0x07800000 0x180000>,
<0x9aff000 0x1000>;
ARM Device Tree设备树_计算机硬件及网络_IT/计算机_专业资料。ARM linux in kernel 3.0ARM ?Linux ?设 备树(Device ?Tree) ? 宋宝华 ?Barry ?Song ?<...
码在 arch/arm/plat-xxx 和 arch/arm/mach-xxx, 采用 Device Tree 后, 许多硬件的细节可以直接透过 它传递给 Linux,而不再需要在 kernel 中进行大量的冗余...
android MSM8974 上DeviceTree简介_计算机硬件及网络_IT/计算机_专业资料。devicetree简介设备描述源文件放在"kernel/arch/arm/boot/dts/"下后缀是".dts"或"....
而是根据现有的源文件和目标 板的具体配置对类似配置的扁平设备树源 泉修改得...* 图3 Mode of Startup Linux Kernel Based on Flatted Device Tree ...
三、修改板子相应配置 1、从源码根目录下进入 include/configs 目录,复制 trats...四、增加自己的 Device Tree Source 1 、从源码根目录下进入 arch/arm/Dts ...
设置 Software Platform Settings, 在弹出的选项框中设置 OS 为 device-tree (确 保你已经有支持 BSP 的 device-tree 的文件, 并将 device-tree 的 bsp 文件...
OK Loading Device Tree to 1763f000, end 17643c98 ... OK Starting kernel ... Booting Linux on physical CPU 0x0 Linux version 3.8.0-xilinx (sigma...
7. 仍然采用激活其它工具窗口的方式,激活 Network Device Tree 工具窗口,联机后显示如下图所示 (图八)Network Device Tree 工具窗口 通过该窗口显示信息,可以了解...
ethernet bridge configuration in the linux kernel....An ethernet bridge is a device commonly used to...NOTES brctl(8) replaces the older brcfg tool. ...
/* length of flat device tree */ rd_start, rd_end;/* ramdisk start...(" kernel loaded at 0x%08lx, end = 0x%08lx\n", load, *load_end)...
热门文档