ARM: orion5x: add node labels in Orion5x SoC Device Tree file
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Apr 2014 21:26:18 +0000 (23:26 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sat, 26 Apr 2014 14:39:51 +0000 (14:39 +0000)
In order to ease identification of devices, it is useful to have
Device Tree labels on all devices. This commit adds such labels to the
Orion5x SoC Device Tree file.

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-15-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/orion5x.dtsi

index 31d46e6dbf51743d997adfd8aa937058e145dae3..aef5d17fe39622081beb3278e44ac3d55e352126 100644 (file)
@@ -41,7 +41,7 @@
                                interrupts = <6>, <7>, <8>, <9>;
                        };
 
-                       spi@10600 {
+                       spi: spi@10600 {
                                compatible = "marvell,orion-spi";
                                #address-cells = <1>;
                                #size-cells = <0>;
@@ -50,7 +50,7 @@
                                status = "disabled";
                        };
 
-                       i2c@11000 {
+                       i2c: i2c@11000 {
                                compatible = "marvell,mv64xxx-i2c";
                                reg = <0x11000 0x20>;
                                #address-cells = <1>;
@@ -60,7 +60,7 @@
                                status = "disabled";
                        };
 
-                       serial@12000 {
+                       uart0: serial@12000 {
                                compatible = "ns16550a";
                                reg = <0x12000 0x100>;
                                reg-shift = <2>;
@@ -69,7 +69,7 @@
                                status = "disabled";
                        };
 
-                       serial@12100 {
+                       uart1: serial@12100 {
                                compatible = "ns16550a";
                                reg = <0x12100 0x100>;
                                reg-shift = <2>;
                                reg = <0x20200 0x08>;
                        };
 
-                       wdt@20300 {
+                       wdt: wdt@20300 {
                                compatible = "marvell,orion-wdt";
                                reg = <0x20300 0x28>;
                                status = "okay";
                        };
 
-                       ehci@50000 {
+                       ehci0: ehci@50000 {
                                compatible = "marvell,orion-ehci";
                                reg = <0x50000 0x1000>;
                                interrupts = <17>;
                                status = "disabled";
                        };
 
-                       xor@60900 {
+                       xor: xor@60900 {
                                compatible = "marvell,orion-xor";
                                reg = <0x60900 0x100
                                       0x60b00 0x100>;
                                marvell,tx-checksum-limit = <1600>;
                                status = "disabled";
 
-                               ethernet-port@0 {
+                               ethport: ethernet-port@0 {
                                        compatible = "marvell,orion-eth-port";
                                        reg = <0>;
                                        /* overwrite MAC address in bootloader */
                                /* add phy nodes in board file */
                        };
 
-                       sata@80000 {
+                       sata: sata@80000 {
                                compatible = "marvell,orion-sata";
                                reg = <0x80000 0x5000>;
                                interrupts = <29>;
                                status = "disabled";
                        };
 
-                       ehci@a0000 {
+                       ehci1: ehci@a0000 {
                                compatible = "marvell,orion-ehci";
                                reg = <0xa0000 0x1000>;
                                interrupts = <12>;
                        };
                };
 
-               crypto@90000 {
+               cesa: crypto@90000 {
                        compatible = "marvell,orion-crypto";
                        reg = <MBUS_ID(0xf0, 0x01) 0x90000 0x10000>,
                              <MBUS_ID(0x09, 0x00) 0x0 0x800>;