ARM: dts: at91: add labels to soc dtsi for derivative boards
authorBen Whitten <ben.whitten@gmail.com>
Fri, 15 Jun 2018 13:40:51 +0000 (14:40 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 20 Jul 2018 08:04:53 +0000 (10:04 +0200)
This adds labels to commonly used device-tree nodes so that derivative
boards can avoid ahb/apb hierarchy.

Signed-off-by: Ben Whitten <ben.whitten@lairdtech.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/at91sam9x5.dtsi
arch/arm/boot/dts/sama5d3.dtsi

index a3c3c31..11c0ef1 100644 (file)
                                };
                        };
 
-                       rstc@fffffe00 {
+                       reset_controller: rstc@fffffe00 {
                                compatible = "atmel,at91sam9g45-rstc";
                                reg = <0xfffffe00 0x10>;
                                clocks = <&clk32k>;
                        };
 
-                       shdwc@fffffe10 {
+                       shutdown_controller: shdwc@fffffe10 {
                                compatible = "atmel,at91sam9x5-shdwc";
                                reg = <0xfffffe10 0x10>;
                                clocks = <&clk32k>;
                                clock-names = "dma_clk";
                        };
 
-                       pinctrl@fffff400 {
+                       pinctrl: pinctrl@fffff400 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                                compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
                                };
                        };
 
-                       watchdog@fffffe40 {
+                       watchdog: watchdog@fffffe40 {
                                compatible = "atmel,at91sam9260-wdt";
                                reg = <0xfffffe40 0x10>;
                                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
index eae5e1e..1408fa4 100644 (file)
                                atmel,external-irqs = <47>;
                        };
 
-                       pinctrl@fffff200 {
+                       pinctrl: pinctrl@fffff200 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                                compatible = "atmel,sama5d3-pinctrl", "atmel,at91sam9x5-pinctrl", "simple-bus";
                                };
                        };
 
-                       rstc@fffffe00 {
+                       reset_controller: rstc@fffffe00 {
                                compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc";
                                reg = <0xfffffe00 0x10>;
                                clocks = <&clk32k>;
                        };
 
-                       shutdown-controller@fffffe10 {
+                       shutdown_controller: shutdown-controller@fffffe10 {
                                compatible = "atmel,at91sam9x5-shdwc";
                                reg = <0xfffffe10 0x10>;
                                clocks = <&clk32k>;
                                clocks = <&mck>;
                        };
 
-                       watchdog@fffffe40 {
+                       watchdog: watchdog@fffffe40 {
                                compatible = "atmel,at91sam9260-wdt";
                                reg = <0xfffffe40 0x10>;
                                interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;