arm: dts: lpc32xx: add labels to all defined peripheral nodes
authorVladimir Zapolskiy <vz@mleia.com>
Sat, 17 Oct 2015 21:35:51 +0000 (00:35 +0300)
committerVladimir Zapolskiy <vz@mleia.com>
Wed, 18 Nov 2015 16:00:58 +0000 (18:00 +0200)
To simplify writing of dts files for all lpc32xx.dtsi users who adjust
device node properties, add labels to all defined peripheral device
nodes in lpc32xx.dtsi.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/boot/dts/lpc32xx.dtsi

index f35e982..00570b3 100644 (file)
@@ -49,7 +49,7 @@
                        status = "disabled";
                };
 
-               dma@31000000 {
+               dma: dma@31000000 {
                        compatible = "arm,pl080", "arm,primecell";
                        reg = <0x31000000 0x1000>;
                        interrupts = <0x1c 0>;
                /*
                 * Enable either ohci or usbd (gadget)!
                 */
-               ohci@31020000 {
+               ohci: ohci@31020000 {
                        compatible = "nxp,ohci-nxp", "usb-ohci";
                        reg = <0x31020000 0x300>;
                        interrupts = <0x3b 0>;
                        status = "disabled";
                };
 
-               usbd@31020000 {
+               usbd: usbd@31020000 {
                        compatible = "nxp,lpc3220-udc";
                        reg = <0x31020000 0x300>;
                        interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>;
                        status = "disabled";
                };
 
-               clcd@31040000 {
+               clcd: clcd@31040000 {
                        compatible = "arm,pl110", "arm,primecell";
                        reg = <0x31040000 0x1000>;
                        interrupts = <0x0e 0>;
                                reg = <0x20094000 0x1000>;
                        };
 
-                       sd@20098000 {
+                       sd: sd@20098000 {
                                compatible = "arm,pl18x", "arm,primecell";
                                reg = <0x20098000 0x1000>;
                                interrupts = <0x0f 0>, <0x0d 0>;
                                status = "disabled";
                        };
 
-                       rtc@40024000 {
+                       rtc: rtc@40024000 {
                                compatible = "nxp,lpc3220-rtc";
                                reg = <0x40024000 0x1000>;
                                interrupts = <0x34 0>;
                                #gpio-cells = <3>; /* bank, pin, flags */
                        };
 
-                       watchdog@4003C000 {
+                       watchdog: watchdog@4003C000 {
                                compatible = "nxp,pnx4008-wdt";
                                reg = <0x4003C000 0x1000>;
                        };
                         * them
                         */
 
-                       adc@40048000 {
+                       adc: adc@40048000 {
                                compatible = "nxp,lpc3220-adc";
                                reg = <0x40048000 0x1000>;
                                interrupts = <0x27 0>;
                                status = "disabled";
                        };
 
-                       tsc@40048000 {
+                       tsc: tsc@40048000 {
                                compatible = "nxp,lpc3220-tsc";
                                reg = <0x40048000 0x1000>;
                                interrupts = <0x27 0>;
                                status = "disabled";
                        };
 
-                       key@40050000 {
+                       key: key@40050000 {
                                compatible = "nxp,lpc3220-key";
                                reg = <0x40050000 0x1000>;
                                interrupts = <54 0>;