]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: dts: Sort the test.dts file a little
authorSimon Glass <sjg@chromium.org>
Fri, 22 May 2015 21:42:15 +0000 (15:42 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 09:34:47 +0000 (03:34 -0600)
There are some core test nodes near the beginning of the file which should
be grouped together. But for other nodes, let's sort them.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
arch/sandbox/dts/test.dts

index 1bc3ca0770c5ac1c6784c1621e4200f92b359e95..52ff436027a177f86dddcd9a14853224902e7d60 100644 (file)
@@ -8,9 +8,11 @@
 
        aliases {
                console = &uart0;
+               eth0 = "/eth@10002000";
+               eth5 = &eth_5;
                i2c0 = "/i2c@0";
-               spi0 = "/spi@0";
                pci0 = &pci;
+               spi0 = "/spi@0";
                testfdt6 = "/e-test";
                testbus3 = "/some-bus";
                testfdt0 = "/some-bus/c-test@0";
                testfdt3 = "/b-test";
                testfdt5 = "/some-bus/c-test@5";
                testfdt8 = "/a-test";
-               eth0 = "/eth@10002000";
-               eth5 = &eth_5;
                usb0 = &usb_0;
                usb1 = &usb_1;
                usb2 = &usb_2;
        };
 
-       uart0: serial {
-               compatible = "sandbox,serial";
-               u-boot,dm-pre-reloc;
-       };
-
        a-test {
                reg = <0>;
                compatible = "denx,u-boot-fdt-test";
                compatible = "denx,u-boot-fdt-test";
        };
 
+       eth@10002000 {
+               compatible = "sandbox,eth";
+               reg = <0x10002000 0x1000>;
+               fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x00>;
+       };
+
+       eth_5: eth@10003000 {
+               compatible = "sandbox,eth";
+               reg = <0x10003000 0x1000>;
+               fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x11>;
+       };
+
+       eth@10004000 {
+               compatible = "sandbox,eth";
+               reg = <0x10004000 0x1000>;
+               fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x22>;
+       };
+
        gpio_a: base-gpios {
                compatible = "sandbox,gpio";
                gpio-controller;
                };
        };
 
-       eth@10002000 {
-               compatible = "sandbox,eth";
-               reg = <0x10002000 0x1000>;
-               fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x00>;
-       };
-
-       eth_5: eth@10003000 {
-               compatible = "sandbox,eth";
-               reg = <0x10003000 0x1000>;
-               fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x11>;
-       };
-
-       eth@10004000 {
-               compatible = "sandbox,eth";
-               reg = <0x10004000 0x1000>;
-               fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x22>;
+       uart0: serial {
+               compatible = "sandbox,serial";
+               u-boot,dm-pre-reloc;
        };
 
        usb_0: usb@0 {