ARM: dts: rockchip: dalang-carrier: Move i2c nodes into SOM
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 15 Jul 2020 08:34:12 +0000 (14:04 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 18 Jul 2020 15:06:12 +0000 (17:06 +0200)
I2C nodes and associated slave devices defined in Carrier board
are specific to rk3399pro vmrac SOM.

So, move them into SOM dtsi.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Link: https://lore.kernel.org/r/20200715083418.112003-2-jagan@amarulasolutions.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi
arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi

index df3712a..176b53b 100644 (file)
        status = "okay";
 };
 
-&i2c1 {
-       status = "okay";
-       i2c-scl-rising-time-ns = <140>;
-       i2c-scl-falling-time-ns = <30>;
-};
-
-&i2c2 {
-       status = "okay";
-       clock-frequency = <400000>;
-
-       hym8563: hym8563@51 {
-               compatible = "haoyu,hym8563";
-               reg = <0x51>;
-               #clock-cells = <0>;
-               clock-frequency = <32768>;
-               clock-output-names = "hym8563";
-               pinctrl-names = "default";
-               pinctrl-0 = <&hym8563_int>;
-               interrupt-parent = <&gpio4>;
-               interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
-       };
-};
-
 &pwm0 {
        status = "okay";
 };
 &uart2 {
        status = "okay";
 };
-
-&pinctrl {
-       hym8563 {
-               hym8563_int: hym8563-int {
-                       rockchip,pins =
-                               <4 RK_PD6 0 &pcfg_pull_up>;
-               };
-       };
-};
index 0a51633..e115381 100644 (file)
        };
 };
 
+&i2c1 {
+       i2c-scl-falling-time-ns = <30>;
+       i2c-scl-rising-time-ns = <140>;
+       status = "okay";
+};
+
+&i2c2 {
+       clock-frequency = <400000>;
+       status = "okay";
+
+       hym8563: hym8563@51 {
+               compatible = "haoyu,hym8563";
+               reg = <0x51>;
+               #clock-cells = <0>;
+               clock-frequency = <32768>;
+               clock-output-names = "hym8563";
+               pinctrl-names = "default";
+               pinctrl-0 = <&hym8563_int>;
+               interrupt-parent = <&gpio4>;
+               interrupts = <RK_PD6 IRQ_TYPE_LEVEL_LOW>;
+       };
+};
+
 &io_domains {
        status = "okay";
        bt656-supply = <&vcca_1v8>;
 };
 
 &pinctrl {
+       hym8563 {
+               hym8563_int: hym8563-int {
+                       rockchip,pins = <4 RK_PD6 0 &pcfg_pull_up>;
+               };
+       };
+
        pmic {
                pmic_int_l: pmic-int-l {
                        rockchip,pins =