summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mn-ab2.dts
diff options
context:
space:
mode:
authorAdrian Alonso <adrian.alonso@nxp.com>2020-09-02 09:54:26 -0500
committerAdrian Alonso <adrian.alonso@nxp.com>2020-09-08 09:57:41 -0500
commit7597adf8d2042dc437be21fd02988dc884f5db3c (patch)
tree61b15ec997df13f2b92e0e8657cec195e6b9b1b9 /arch/arm64/boot/dts/freescale/imx8mn-ab2.dts
parent6c65808df8bc46ec6383e28aa9dba0f89f9bec5f (diff)
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>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mn-ab2.dts')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mn-ab2.dts128
1 files changed, 86 insertions, 42 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ab2.dts b/arch/arm64/boot/dts/freescale/imx8mn-ab2.dts
index ac7c04029533..505e742d40f9 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-ab2.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-ab2.dts
@@ -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 = "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 = "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_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_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_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>;
};
};