LF-2202-1: arm64: dts: imx8mp-evk: update dts for new pca9450
authorRobin Gong <yibin.gong@nxp.com>
Thu, 13 Aug 2020 16:45:21 +0000 (00:45 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:23:00 +0000 (11:23 +0800)
Because pca9450 regulator driver upstreamed, update dts for it.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
arch/arm64/boot/dts/freescale/imx8mp-evk.dts

index af04072..e47fb5d 100644 (file)
 };
 
 &A53_0 {
-       cpu-supply = <&buck2_reg>;
+       cpu-supply = <&buck2>;
 };
 
 &A53_1 {
-       cpu-supply = <&buck2_reg>;
+       cpu-supply = <&buck2>;
 };
 
 &A53_2 {
-       cpu-supply = <&buck2_reg>;
+       cpu-supply = <&buck2>;
 };
 
 &A53_3 {
-       cpu-supply = <&buck2_reg>;
+       cpu-supply = <&buck2>;
 };
 
+
 &pwm1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pwm1>;
 
        pmic: pca9450@25 {
                reg = <0x25>;
-               compatible = "nxp,pca9450";
+               compatible = "nxp,pca9450c";
                /* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */
                pinctrl-0 = <&pinctrl_pmic>;
-               gpio_intr = <&gpio1 3 GPIO_ACTIVE_LOW>;
+               interrupt-parent = <&gpio1>;
+               interrupts = <3 GPIO_ACTIVE_LOW>;
 
                regulators {
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
-                       pca9450,pmic-buck2-uses-i2c-dvs;
-                       /* Run/Standby voltage */
-                       pca9450,pmic-buck2-dvs-voltage = <950000>, <850000>;
-
-                       buck1_reg: regulator@0 {
-                               reg = <0>;
-                               regulator-compatible = "buck1";
+                       buck1: BUCK1 {
+                               regulator-name = "BUCK1";
                                regulator-min-microvolt = <600000>;
                                regulator-max-microvolt = <2187500>;
                                regulator-boot-on;
                                regulator-ramp-delay = <3125>;
                        };
 
-                       buck2_reg: regulator@1 {
-                               reg = <1>;
-                               regulator-compatible = "buck2";
+                       buck2: BUCK2 {
+                               regulator-name = "BUCK2";
                                regulator-min-microvolt = <600000>;
                                regulator-max-microvolt = <2187500>;
                                regulator-boot-on;
                                regulator-always-on;
                                regulator-ramp-delay = <3125>;
+                               nxp,dvs-run-voltage = <950000>;
+                               nxp,dvs-standby-voltage = <850000>;
                        };
 
-                       buck4_reg: regulator@3 {
-                               reg = <3>;
-                               regulator-compatible = "buck4";
+                       buck4: BUCK4{
+                               regulator-name = "BUCK4";
                                regulator-min-microvolt = <600000>;
                                regulator-max-microvolt = <3400000>;
                                regulator-boot-on;
                                regulator-always-on;
                        };
 
-                       buck5_reg: regulator@4 {
-                               reg = <4>;
-                               regulator-compatible = "buck5";
+                       buck5: BUCK5{
+                               regulator-name = "BUCK5";
                                regulator-min-microvolt = <600000>;
                                regulator-max-microvolt = <3400000>;
                                regulator-boot-on;
                                regulator-always-on;
                        };
 
-                       buck6_reg: regulator@5 {
-                               reg = <5>;
-                               regulator-compatible = "buck6";
+                       buck6: BUCK6 {
+                               regulator-name = "BUCK6";
                                regulator-min-microvolt = <600000>;
                                regulator-max-microvolt = <3400000>;
                                regulator-boot-on;
                                regulator-always-on;
                        };
 
-                       ldo1_reg: regulator@6 {
-                               reg = <6>;
-                               regulator-compatible = "ldo1";
+                       ldo1: LDO1 {
+                               regulator-name = "LDO1";
                                regulator-min-microvolt = <1600000>;
                                regulator-max-microvolt = <3300000>;
                                regulator-boot-on;
                                regulator-always-on;
                        };
 
-                       ldo2_reg: regulator@7 {
-                               reg = <7>;
-                               regulator-compatible = "ldo2";
+                       ldo2: LDO2 {
+                               regulator-name = "LDO2";
                                regulator-min-microvolt = <800000>;
                                regulator-max-microvolt = <1150000>;
                                regulator-boot-on;
                                regulator-always-on;
                        };
 
-                       ldo3_reg: regulator@8 {
-                               reg = <8>;
-                               regulator-compatible = "ldo3";
+                       ldo3: LDO3 {
+                               regulator-name = "LDO3";
                                regulator-min-microvolt = <800000>;
                                regulator-max-microvolt = <3300000>;
                                regulator-boot-on;
                                regulator-always-on;
                        };
 
-                       ldo4_reg: regulator@9 {
-                               reg = <9>;
-                               regulator-compatible = "ldo4";
+                       ldo4: LDO4 {
+                               regulator-name = "LDO4";
                                regulator-min-microvolt = <800000>;
                                regulator-max-microvolt = <3300000>;
                                regulator-boot-on;
                                regulator-always-on;
                        };
 
-                       ldo5_reg: regulator@10 {
-                               reg = <10>;
-                               regulator-compatible = "ldo5";
+                       ldo5: LDO5 {
+                               regulator-name = "LDO5";
                                regulator-min-microvolt = <1800000>;
                                regulator-max-microvolt = <3300000>;
+                               regulator-boot-on;
+                               regulator-always-on;
                        };
                };
        };