1
0
Fork 0

MLK-24702-2: dts: arm64 freescale: imx8mn ab2 regulator power tree

Follow the same regulator power tree as imx8mm ab2
target platforms

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
(cherry picked from commit 7597adf8d2042dc437be21fd02988dc884f5db3c)
5.4-rM2-2.2.x-imx-squashed
Adrian Alonso 2020-09-02 09:54:26 -05:00
parent 639d69a651
commit 36fa113277
1 changed files with 84 additions and 40 deletions

View File

@ -59,46 +59,90 @@
reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
};
regulators {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <0>;
reg_usdhc2_vmmc: regulator-usdhc2 {
compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
regulator-name = "VSD_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
off-on-delay-us = <12000>;
enable-active-high;
};
reg_usdhc2_vmmc: regulator-usdhc2 {
compatible = "regulator-fixed";
regulator-name = "VSD_3V3";
pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
enable-active-high;
startup-delay-us = <100>;
off-on-delay-us = <12000>;
};
reg_ab2_ana_pwr: regulator-ab2-ana-pwr {
compatible = "regulator-fixed";
regulator-name = "ANA_12V0";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ab2_ana_pwr>;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>;
vin-supply = <&buck5_reg>;
enable-active-high;
};
reg_ab2_ana_pwr: regulator-ab2-ana-pwr {
compatible = "regulator-fixed";
regulator-name = "ab2_ana_pwr";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ab2_ana_pwr>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
};
reg_ab2_vdd_pwr_5v0: regulator-ab2-vdd-pwr-5v0 {
compatible = "regulator-fixed";
regulator-name = "VDD_5V0";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ab2_vdd_pwr_5v0>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
vin-supply = <&buck5_reg>;
enable-active-high;
regulator-always-on;
regulator-boot-on;
};
reg_ab2_vdd_pwr_5v0: regulator-ab2-vdd-pwr-5v0 {
compatible = "regulator-fixed";
regulator-name = "ab2_vdd_pwr_5v0";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ab2_vdd_pwr_5v0>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
};
reg_adc_dvdd_3v3: reg-adc-dvdd-3v3 {
compatible = "regulator-fixed";
regulator-name = "ADC_DVDD_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&reg_ab2_ana_pwr>;
};
reg_adc_avdd_5v0: reg-adc-avdd-5v0 {
compatible = "regulator-fixed";
regulator-name = "ADC_AVDD_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&reg_ab2_ana_pwr>;
};
reg_dac_dvdd_3v3: reg-dac-dvdd-3v3 {
compatible = "regulator-fixed";
regulator-name = "DAC_DVDD_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&reg_ab2_ana_pwr>;
};
reg_dac_avdd_5v0: reg-dac-avdd-5v0 {
compatible = "regulator-fixed";
regulator-name = "DAC_AVDD_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&reg_ab2_ana_pwr>;
};
reg_cph_3v3: reg-cph-3v3 {
compatible = "regulator-fixed";
regulator-name = "CPH_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&reg_ab2_vdd_pwr_5v0>;
};
reg_cph_1v8: reg-cph-1v8 {
compatible = "regulator-fixed";
regulator-name = "CPH_1V8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&reg_cph_3v3>;
};
sound-ak5552 {
@ -644,7 +688,7 @@
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
vcc-supply = <&buck5_reg>;
vcc-supply = <&buck4_reg>;
};
pca6416_2: gpio@21 {
@ -677,8 +721,8 @@
compatible = "asahi-kasei,ak5552";
reg = <0x13>;
reset-gpios = <&pca6416 2 GPIO_ACTIVE_HIGH>;
AVDD-supply = <&reg_ab2_ana_pwr>;
DVDD-supply = <&reg_ab2_vdd_pwr_5v0>;
AVDD-supply = <&reg_adc_avdd_5v0>;
DVDD-supply = <&reg_adc_dvdd_3v3>;
};
};