From: Robin Gong Date: Thu, 13 Aug 2020 16:45:21 +0000 (+0800) Subject: LF-2202-1: arm64: dts: imx8mp-evk: update dts for new pca9450 X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~577^2~2^2~369 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=5ad8945dc1b4e58d48be6ed4342ae8ba12dd1899;p=linux.git LF-2202-1: arm64: dts: imx8mp-evk: update dts for new pca9450 Because pca9450 regulator driver upstreamed, update dts for it. Signed-off-by: Robin Gong Reviewed-by: Anson Huang --- diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index af0407209020..e47fb5df44a8 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -136,21 +136,22 @@ }; &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>; @@ -253,22 +254,15 @@ 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; @@ -276,84 +270,79 @@ 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; }; }; };