ARM: dts: s3c2416: Use labels for overriding nodes in SMDK2416
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Fri, 17 Apr 2015 12:43:51 +0000 (21:43 +0900)
committerKukjin Kim <kgene@kernel.org>
Wed, 3 Jun 2015 00:56:54 +0000 (09:56 +0900)
Usage of labels instead of full paths reduces possible mistakes when
overriding nodes.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/s3c2416-smdk2416.dts

index ea92fd69529a5be3573a07a028aad7e87e02be9c..f257926c13b775c4e76152b8335d1dec281820c4 100644 (file)
                        #clock-cells = <0>;
                };
        };
+};
 
-       serial@50000000 {
-               status = "okay";
-               pinctrl-names = "default";
-               pinctrl-0 = <&uart0_data>, <&uart0_fctl>;
-       };
+&rtc {
+       status = "okay";
+};
 
-       serial@50004000 {
-               status = "okay";
-               pinctrl-names = "default";
-               pinctrl-0 = <&uart1_data>, <&uart1_fctl>;
-       };
+&sdhci_0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&sd1_clk>, <&sd1_cmd>,
+                       <&sd1_bus1>, <&sd1_bus4>;
+       bus-width = <4>;
+       broken-cd;
+       status = "okay";
+};
 
-       serial@50008000 {
-               status = "okay";
-               pinctrl-names = "default";
-               pinctrl-0 = <&uart2_data>;
-       };
+&sdhci_1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&sd0_clk>, <&sd0_cmd>,
+                       <&sd0_bus1>, <&sd0_bus4>;
+       bus-width = <4>;
+       cd-gpios = <&gpf 1 0>;
+       cd-inverted;
+       status = "okay";
+};
 
-       serial@5000C000 {
-               status = "okay";
-               pinctrl-names = "default";
-               pinctrl-0 = <&uart3_data>;
-       };
+&uart_0 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart0_data>, <&uart0_fctl>;
+};
 
-       watchdog@53000000 {
-               status = "okay";
-       };
+&uart_1 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart1_data>, <&uart1_fctl>;
+};
 
-       rtc@57000000 {
-               status = "okay";
-       };
+&uart_2 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart2_data>;
+};
 
-       sdhci@4AC00000 {
-               pinctrl-names = "default";
-               pinctrl-0 = <&sd0_clk>, <&sd0_cmd>,
-                               <&sd0_bus1>, <&sd0_bus4>;
-               bus-width = <4>;
-               cd-gpios = <&gpf 1 0>;
-               cd-inverted;
-               status = "okay";
-       };
+&uart_3 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart3_data>;
+};
 
-       sdhci@4A800000 {
-               pinctrl-names = "default";
-               pinctrl-0 = <&sd1_clk>, <&sd1_cmd>,
-                               <&sd1_bus1>, <&sd1_bus4>;
-               bus-width = <4>;
-               broken-cd;
-               status = "okay";
-       };
+&watchdog {
+       status = "okay";
 };