ARM: dts: exynos: Use labels instead of full paths in exynos4412-trats2
authorMaciej Purski <m.purski@samsung.com>
Mon, 5 Feb 2018 07:57:07 +0000 (08:57 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 13 Feb 2018 17:41:11 +0000 (18:41 +0100)
Extend camera and i2c1_isp nodes by labels, not by full path in Exynos
4412 Trats2.  This avoids error-prone redefinition of nodes.

Signed-off-by: Maciej Purski <m.purski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos4412-trats2.dts

index 7da6600..95b638f 100644 (file)
                };
        };
 
-       camera: camera {
-               pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
-               pinctrl-names = "default";
-               status = "okay";
-               assigned-clocks = <&clock CLK_MOUT_CAM0>,
-                                 <&clock CLK_MOUT_CAM1>;
-               assigned-clock-parents = <&clock CLK_XUSBXTI>,
-                                        <&clock CLK_XUSBXTI>;
-
-
-       };
 
        wlan_pwrseq: sdhci3-pwrseq {
                compatible = "mmc-pwrseq-simple";
        status = "okay";
 };
 
+&camera {
+       pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
+       pinctrl-names = "default";
+       status = "okay";
+       assigned-clocks = <&clock CLK_MOUT_CAM0>,
+                         <&clock CLK_MOUT_CAM1>;
+       assigned-clock-parents = <&clock CLK_XUSBXTI>,
+                                <&clock CLK_XUSBXTI>;
+};
+
 &cpu0 {
        cpu0-supply = <&buck2_reg>;
 };
        pinctrl-0 = <&fimc_is_uart>;
        pinctrl-names = "default";
        status = "okay";
-
-       i2c1_isp: i2c-isp@12140000 {
-               pinctrl-0 = <&fimc_is_i2c1>;
-               pinctrl-names = "default";
-
-               s5k6a3@10 {
-                       compatible = "samsung,s5k6a3";
-                       reg = <0x10>;
-                       svdda-supply = <&cam_io_reg>;
-                       svddio-supply = <&ldo19_reg>;
-                       afvdd-supply = <&ldo19_reg>;
-                       clock-frequency = <24000000>;
-                       /* CAM_B_CLKOUT */
-                       clocks = <&camera 1>;
-                       clock-names = "extclk";
-                       samsung,camclk-out = <1>;
-                       gpios = <&gpm1 6 GPIO_ACTIVE_HIGH>;
-
-                       port {
-                               is_s5k6a3_ep: endpoint {
-                                       remote-endpoint = <&csis1_ep>;
-                                       data-lanes = <1>;
-                               };
-                       };
-               };
-       };
 };
 
 &fimc_lite_0 {
        };
 };
 
+&i2c1_isp {
+       pinctrl-0 = <&fimc_is_i2c1>;
+       pinctrl-names = "default";
+
+       s5k6a3@10 {
+               compatible = "samsung,s5k6a3";
+               reg = <0x10>;
+               svdda-supply = <&cam_io_reg>;
+               svddio-supply = <&ldo19_reg>;
+               afvdd-supply = <&ldo19_reg>;
+               clock-frequency = <24000000>;
+               /* CAM_B_CLKOUT */
+               clocks = <&camera 1>;
+               clock-names = "extclk";
+               samsung,camclk-out = <1>;
+               gpios = <&gpm1 6 GPIO_ACTIVE_HIGH>;
+
+               port {
+                       is_s5k6a3_ep: endpoint {
+                               remote-endpoint = <&csis1_ep>;
+                               data-lanes = <1>;
+                       };
+               };
+       };
+};
+
 &i2c_3 {
        samsung,i2c-sda-delay = <100>;
        samsung,i2c-slave-addr = <0x10>;