Dtb Firmware Access
mmc@1e100000 { compatible = "mycompany,mmc"; reg = <0x1e100000 0x1000>; interrupts = <2>; max-frequency = <50000000>; bus-width = <4>; status = "okay"; };
dtc -I dts -O dtb -o myboard.dtb myboard.dts To decompile an existing DTB back to DTS for inspection:
cpu@0 { compatible = "arm,cortex-a7"; device_type = "cpu"; reg = <0>; clock-frequency = <1200000000>; }; }; dtb firmware
uart0: serial@1e000000 { compatible = "ns16550a"; reg = <0x1e000000 0x1000>; interrupts = <1>; clock-frequency = <24000000>; current-speed = <115200>; status = "okay"; };
memory@0 { device_type = "memory"; reg = <0x0 0x20000000>; /* 512 MB at address 0 */ }; mmc@1e100000 { compatible = "mycompany
tftp myboard.dtb fdt addr $loadaddr bootz $kernel_addr - $fdt_addr Or when building a Linux kernel with the DTB appended:
soc { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges; reg = <
chosen { bootargs = "console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait"; stdout-path = &uart0; };