]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: am4372: let boards access all nodes through labels
authorFelipe Balbi <balbi@ti.com>
Mon, 23 Jun 2014 18:20:58 +0000 (13:20 -0500)
committerTony Lindgren <tony@atomide.com>
Tue, 1 Jul 2014 12:45:03 +0000 (05:45 -0700)
By providing labels for rtc, wdt, cpu and dispc nodes,
boards can access them to add board-specific data.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Tested-by: Franklin Cooper Jr. <fcooper@ti.com>
Tested-by: Tom Rini <trini@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am4372.dtsi

index 49fa596222547d646c79a031b260097cf9a8bf8e..8d3c16304636500996291420e39e3fe29c5eb218 100644 (file)
@@ -30,7 +30,7 @@
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
-               cpu@0 {
+               cpu: cpu@0 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        reg = <0>;
                        ti,hwmods = "counter_32k";
                };
 
-               rtc@44e3e000 {
+               rtc: rtc@44e3e000 {
                        compatible = "ti,am4372-rtc","ti,da830-rtc";
                        reg = <0x44e3e000 0x1000>;
                        interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
                        status = "disabled";
                };
 
-               wdt@44e35000 {
+               wdt: wdt@44e35000 {
                        compatible = "ti,am4372-wdt","ti,omap3-wdt";
                        reg = <0x44e35000 0x1000>;
                        interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
                        #size-cells = <1>;
                        ranges;
 
-                       dispc@4832a400 {
+                       dispc: dispc@4832a400 {
                                compatible = "ti,omap3-dispc";
                                reg = <0x4832a400 0x400>;
                                interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;