1
0
Fork 0

MLK-24702-1: dts: arm64: freescale: imx8mn ddr4 ab2 regulator tree

Aling to use the same regulator power tree as imx8mm ab2
target boards

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
(cherry picked from commit 6c65808df8bc46ec6383e28aa9dba0f89f9bec5f)
5.4-rM2-2.2.x-imx-squashed
Adrian Alonso 2020-09-02 09:52:50 -05:00
parent b946e13f9b
commit 639d69a651
1 changed files with 58 additions and 8 deletions

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright 2019 NXP
* Copyright 2020 NXP
*/
/dts-v1/;
@ -63,26 +63,76 @@
reg_ab2_ana_pwr: regulator-ab2-ana-pwr {
compatible = "regulator-fixed";
regulator-name = "ab2_ana_pwr";
regulator-name = "ANA_12V0";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ab2_ana_pwr>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>;
vin-supply = <&buck5_reg>;
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";
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 {
@ -516,8 +566,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>;
};
};