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