cpus { #address-cells = <1>; #size-cells = <0>;
memory@0 { device_type = "memory"; reg = <0x0 0x20000000>; /* 512 MB at address 0 */ }; dtb firmware
dtc -I dts -O dtb -o myboard.dtb myboard.dts To decompile an existing DTB back to DTS for inspection: cpus { #address-cells = <1>; #size-cells = <0>;
cpu@0 { compatible = "arm,cortex-a7"; device_type = "cpu"; reg = <0>; clock-frequency = <1200000000>; }; }; cpus { #address-cells = <
usb@1e200000 { compatible = "generic-ehci"; reg = <0x1e200000 0x1000>; interrupts = <3>; status = "okay"; }; }; }; Save the .dts file, then use the Device Tree Compiler:
chosen { bootargs = "console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait"; stdout-path = &uart0; };