arm: spear6xx: add labels to various nodes in spear600.dtsi
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 17 Apr 2017 12:46:39 +0000 (14:46 +0200)
committerOlof Johansson <olof@lixom.net>
Wed, 19 Apr 2017 14:08:09 +0000 (07:08 -0700)
Having labels allows to more easily reference nodes in .dts files
including spear600.dtsi.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/spear600.dtsi

index 9f60a7b..8459286 100644 (file)
@@ -49,7 +49,7 @@
                        #interrupt-cells = <1>;
                };
 
-               clcd@fc200000 {
+               clcd: clcd@fc200000 {
                        compatible = "arm,pl110", "arm,primecell";
                        reg = <0xfc200000 0x1000>;
                        interrupt-parent = <&vic1>;
@@ -57,7 +57,7 @@
                        status = "disabled";
                };
 
-               dma@fc400000 {
+               dmac: dma@fc400000 {
                        compatible = "arm,pl080", "arm,primecell";
                        reg = <0xfc400000 0x1000>;
                        interrupt-parent = <&vic1>;
@@ -97,7 +97,7 @@
                        status = "disabled";
                };
 
-               ehci@e1800000 {
+               ehci_usb0: ehci@e1800000 {
                        compatible = "st,spear600-ehci", "usb-ehci";
                        reg = <0xe1800000 0x1000>;
                        interrupt-parent = <&vic1>;
                        status = "disabled";
                };
 
-               ehci@e2000000 {
+               ehci_usb1: ehci@e2000000 {
                        compatible = "st,spear600-ehci", "usb-ehci";
                        reg = <0xe2000000 0x1000>;
                        interrupt-parent = <&vic1>;
                        status = "disabled";
                };
 
-               ohci@e1900000 {
+               ohci_usb0: ohci@e1900000 {
                        compatible = "st,spear600-ohci", "usb-ohci";
                        reg = <0xe1900000 0x1000>;
                        interrupt-parent = <&vic1>;
                        status = "disabled";
                };
 
-               ohci@e2100000 {
+               ohci_usb1: ohci@e2100000 {
                        compatible = "st,spear600-ohci", "usb-ohci";
                        reg = <0xe2100000 0x1000>;
                        interrupt-parent = <&vic1>;
                        compatible = "simple-bus";
                        ranges = <0xd0000000 0xd0000000 0x30000000>;
 
-                       serial@d0000000 {
+                       uart0: serial@d0000000 {
                                compatible = "arm,pl011", "arm,primecell";
                                reg = <0xd0000000 0x1000>;
                                interrupt-parent = <&vic0>;
                                status = "disabled";
                        };
 
-                       serial@d0080000 {
+                       uart1: serial@d0080000 {
                                compatible = "arm,pl011", "arm,primecell";
                                reg = <0xd0080000 0x1000>;
                                interrupt-parent = <&vic0>;
                                interrupts = <4>;
                        };
 
-                       i2c@d0200000 {
+                       i2c: i2c@d0200000 {
                                #address-cells = <1>;
                                #size-cells = <0>;
                                compatible = "snps,designware-i2c";
                                status = "disabled";
                        };
 
-                       rtc@fc900000 {
+                       rtc: rtc@fc900000 {
                                compatible = "st,spear600-rtc";
                                reg = <0xfc900000 0x1000>;
                                interrupts = <10>;