[PATCH v8 3/3] ARM: dts: hi3620-hi4511: Add HI6421 MFD and regulator nodes
Add Hi6421 MFD dts node and regulator nodes into hi3620-hi4511 board config dts file. Signed-off-by: Guodong Xu --- arch/arm/boot/dts/hi3620-hi4511.dts | 233 1 file changed, 233 insertions(+) diff --git a/arch/arm/boot/dts/hi3620-hi4511.dts b/arch/arm/boot/dts/hi3620-hi4511.dts index fe62392..a1aadbb 100644 --- a/arch/arm/boot/dts/hi3620-hi4511.dts +++ b/arch/arm/boot/dts/hi3620-hi4511.dts @@ -635,6 +635,239 @@ pinctrl-single,bias-pullup = <0 1 0 1>; }; }; + + hi6421 { + compatible = "hisilicon,hi6421-pmic"; + reg = <0xc0 0x0180>; /* 0x60 << 2 */ + + regulators { + // supply for MLC NAND/ eMMC + hi6421_vout0_reg: hi6421_vout0 { + regulator-name = "VOUT0"; + regulator-min-microvolt = <285>; + regulator-max-microvolt = <285>; + }; + + // supply for 26M Oscillator + hi6421_vout1_reg: hi6421_vout1 { + regulator-name = "VOUT1"; + regulator-min-microvolt = <170>; + regulator-max-microvolt = <200>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for AP system + hi6421_vout2_reg: hi6421_vout2 { + regulator-name = "VOUT2"; + regulator-min-microvolt = <105>; + regulator-max-microvolt = <140>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for DDR PHY I/O + hi6421_vout3_reg: hi6421_vout3 { + regulator-name = "VOUT3"; + regulator-min-microvolt = <105>; + regulator-max-microvolt = <140>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for MIPI, USB2.0, PCIe, PLL Analog + hi6421_vout4_reg: hi6421_vout4 { + regulator-name = "VOUT4"; + regulator-min-microvolt = <150>; + regulator-max-microvolt = <300>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for I/O 1.8V + hi6421_vout5_reg: hi6421_vout5 { + regulator-name = "VOUT5"; + regulator-min-microvolt = <150>; + regulator-max-microvolt = <300>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for I/O 2.6V + hi6421_vout6_reg: hi6421_vout6 { + regulator-name = "VOUT6"; + regulator-min-microvolt = <150>; + regulator-max-microvolt = <300>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for SD I/O + hi6421_vout7_reg: hi6421_vout7 { + regulator-name = "VOUT7"; + regulator-min-microvolt = <150>; + regulator-max-microvolt = <300>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for USB PHY + hi6421_vout8_reg: hi6421_vout8 { + regulator-name = "VOUT8"; + regulator-min-microvolt = <150>; + regulator-max-microvolt =
[PATCH v8 3/3] ARM: dts: hi3620-hi4511: Add HI6421 MFD and regulator nodes
Add Hi6421 MFD dts node and regulator nodes into hi3620-hi4511 board config dts file. Signed-off-by: Guodong Xu guodong...@linaro.org --- arch/arm/boot/dts/hi3620-hi4511.dts | 233 1 file changed, 233 insertions(+) diff --git a/arch/arm/boot/dts/hi3620-hi4511.dts b/arch/arm/boot/dts/hi3620-hi4511.dts index fe62392..a1aadbb 100644 --- a/arch/arm/boot/dts/hi3620-hi4511.dts +++ b/arch/arm/boot/dts/hi3620-hi4511.dts @@ -635,6 +635,239 @@ pinctrl-single,bias-pullup = 0 1 0 1; }; }; + + hi6421 { + compatible = hisilicon,hi6421-pmic; + reg = 0xc0 0x0180; /* 0x60 2 */ + + regulators { + // supply for MLC NAND/ eMMC + hi6421_vout0_reg: hi6421_vout0 { + regulator-name = VOUT0; + regulator-min-microvolt = 285; + regulator-max-microvolt = 285; + }; + + // supply for 26M Oscillator + hi6421_vout1_reg: hi6421_vout1 { + regulator-name = VOUT1; + regulator-min-microvolt = 170; + regulator-max-microvolt = 200; + regulator-boot-on; + regulator-always-on; + }; + + // supply for AP system + hi6421_vout2_reg: hi6421_vout2 { + regulator-name = VOUT2; + regulator-min-microvolt = 105; + regulator-max-microvolt = 140; + regulator-boot-on; + regulator-always-on; + }; + + // supply for DDR PHY I/O + hi6421_vout3_reg: hi6421_vout3 { + regulator-name = VOUT3; + regulator-min-microvolt = 105; + regulator-max-microvolt = 140; + regulator-boot-on; + regulator-always-on; + }; + + // supply for MIPI, USB2.0, PCIe, PLL Analog + hi6421_vout4_reg: hi6421_vout4 { + regulator-name = VOUT4; + regulator-min-microvolt = 150; + regulator-max-microvolt = 300; + regulator-boot-on; + regulator-always-on; + }; + + // supply for I/O 1.8V + hi6421_vout5_reg: hi6421_vout5 { + regulator-name = VOUT5; + regulator-min-microvolt = 150; + regulator-max-microvolt = 300; + regulator-boot-on; + regulator-always-on; + }; + + // supply for I/O 2.6V + hi6421_vout6_reg: hi6421_vout6 { + regulator-name = VOUT6; + regulator-min-microvolt = 150; + regulator-max-microvolt = 300; + regulator-boot-on; + regulator-always-on; + }; + + // supply for SD I/O + hi6421_vout7_reg: hi6421_vout7 { + regulator-name = VOUT7; + regulator-min-microvolt = 150; + regulator-max-microvolt = 300; + regulator-boot-on; + regulator-always-on; + }; + + // supply for USB PHY + hi6421_vout8_reg: hi6421_vout8 { + regulator-name = VOUT8; + regulator-min-microvolt = 150; + regulator-max-microvolt = 330; +