]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: i.MX51: digi-connectcore: Move RTC from SOM to JSK
authorAlexander Shiyan <shc_work@mail.ru>
Sun, 23 Dec 2018 06:03:40 +0000 (09:03 +0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 12 Jan 2019 03:05:30 +0000 (11:05 +0800)
In fact, the RTC battery can only be connected outside the module,
so this patch moves the PMIC RTC property and its power from SOM dts
to JSK.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts
arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi

index 2967a748d85988abb90a74c8f7ee7abf99bb546a..a5010e9e343bbe4c264d6996adc4bb662ebbc0fd 100644 (file)
@@ -27,6 +27,18 @@ &owire {
        status = "okay";
 };
 
+&pmic {
+       fsl,mc13xxx-uses-rtc;
+
+       regulators {
+               vcoincell_reg: vcoincell {
+                       regulator-min-microvolt = <3000000>;
+                       regulator-max-microvolt = <3000000>;
+                       regulator-always-on;
+               };
+       };
+};
+
 &uart1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart1>;
index 82d8df097ef1fbb6296640fe1631bd90c604db92..e9421b851ad5e322f1718f3255680ecbfd152d04 100644 (file)
@@ -37,7 +37,6 @@ pmic: mc13892@0 {
                reg = <0>;
                interrupt-parent = <&gpio1>;
                interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
-               fsl,mc13xxx-uses-rtc;
 
                regulators {
                        sw1_reg: sw1 {
@@ -142,12 +141,6 @@ vusb_reg: vusb {
                        pwgt2spi_reg: pwgt2spi {
                                regulator-always-on;
                        };
-
-                       vcoincell_reg: vcoincell {
-                               regulator-min-microvolt = <3000000>;
-                               regulator-max-microvolt = <3000000>;
-                               regulator-always-on;
-                       };
                };
        };
 };