ARM: orion5x: use node labels for UART and SATA on edmini_v2
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Apr 2014 21:26:21 +0000 (23:26 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sat, 26 Apr 2014 14:40:21 +0000 (14:40 +0000)
This commit converts the existing devices described in the edmini_v2
Device Tree to use node labels: the UART and SATA device. Also, it
reorders the eth and mdio node label references to be sorted
alphabetically.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Link: https://lkml.kernel.org/r/1398202002-28530-18-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts

index df53d25..83f45a7 100644 (file)
        soc {
                ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>,
                         <MBUS_ID(0x09, 0x00) 0 0xf2200000 0x800>;
-
-               internal-regs {
-                       serial@12000 {
-                               clock-frequency = <166666667>;
-                               status = "okay";
-                       };
-
-                       sata@80000 {
-                               status = "okay";
-                               nr-ports = <2>;
-                       };
-               };
        };
 
        gpio-keys {
        };
 };
 
+&eth {
+       status = "okay";
+
+       ethernet-port@0 {
+               phy-handle = <&ethphy>;
+       };
+};
+
 &mdio {
        status = "okay";
 
        };
 };
 
-&eth {
+&sata {
        status = "okay";
+       nr-ports = <2>;
+};
 
-       ethernet-port@0 {
-               phy-handle = <&ethphy>;
-       };
+&uart0 {
+       clock-frequency = <166666667>;
+       status = "okay";
 };