mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-23 05:00:24 +09:00
ARM: dts: imx8mm-verdin: follow changed pmic
The used PMIC has been changed from RHOM BD71837 to NXP PCA9450A. Adjust the device tree accordingly. Remove the old ADC node as the ADC has been changed and has no longer a separate power rail. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
This commit is contained in:
parent
8f9abdf4d4
commit
caafc6c497
@ -2,7 +2,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2020 Toradex
|
* Copyright 2020 Toradex
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
wdt-reboot {
|
wdt-reboot {
|
||||||
compatible = "wdt-reboot";
|
compatible = "wdt-reboot";
|
||||||
@ -90,11 +89,11 @@
|
|||||||
u-boot,dm-spl;
|
u-boot,dm-spl;
|
||||||
};
|
};
|
||||||
|
|
||||||
&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} {
|
&{/soc@0/bus@30800000/i2c@30a20000/pmic} {
|
||||||
u-boot,dm-spl;
|
u-boot,dm-spl;
|
||||||
};
|
};
|
||||||
|
|
||||||
&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators} {
|
&{/soc@0/bus@30800000/i2c@30a20000/pmic/regulators} {
|
||||||
u-boot,dm-spl;
|
u-boot,dm-spl;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -203,115 +203,123 @@
|
|||||||
pinctrl-0 = <&pinctrl_i2c1>;
|
pinctrl-0 = <&pinctrl_i2c1>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
pmic@4b {
|
/* Assembled on V1.1 HW and later */
|
||||||
compatible = "rohm,bd71840", "rohm,bd71837";
|
pmic {
|
||||||
bd71837,pmic-buck2-uses-i2c-dvs;
|
reg = <0x25>;
|
||||||
bd71837,pmic-buck2-dvs-voltage = <1000000>, <900000>, <0>; /* VDD_ARM: Run-Idle */
|
u-boot,dm-spl;
|
||||||
gpio_intr = <&gpio1 3 GPIO_ACTIVE_LOW>;
|
compatible = "nxp,pca9450a";
|
||||||
/* PMIC BD71837 PMIC_nINT GPIO1_IO3 */
|
/* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */
|
||||||
pinctrl-0 = <&pinctrl_pmic>;
|
pinctrl-0 = <&pinctrl_pmic>;
|
||||||
reg = <0x4b>;
|
gpio_intr = <&gpio1 3 GPIO_ACTIVE_LOW>;
|
||||||
|
|
||||||
gpo {
|
|
||||||
rohm,drv = <0x0C>; /* 0b0000_1100 all gpos with cmos output mode */
|
|
||||||
};
|
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
buck1_reg: BUCK1 {
|
u-boot,dm-spl;
|
||||||
regulator-always-on;
|
#address-cells = <1>;
|
||||||
regulator-boot-on;
|
#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";
|
regulator-compatible = "buck1";
|
||||||
regulator-max-microvolt = <1300000>;
|
regulator-min-microvolt = <600000>;
|
||||||
regulator-min-microvolt = <700000>;
|
regulator-max-microvolt = <2187500>;
|
||||||
regulator-ramp-delay = <1250>;
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-ramp-delay = <3125>;
|
||||||
};
|
};
|
||||||
|
|
||||||
buck2_reg: BUCK2 {
|
buck2_reg: regulator@1 {
|
||||||
regulator-always-on;
|
reg = <1>;
|
||||||
regulator-boot-on;
|
|
||||||
regulator-compatible = "buck2";
|
regulator-compatible = "buck2";
|
||||||
regulator-max-microvolt = <1300000>;
|
regulator-min-microvolt = <600000>;
|
||||||
regulator-min-microvolt = <700000>;
|
regulator-max-microvolt = <2187500>;
|
||||||
regulator-ramp-delay = <1250>;
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-ramp-delay = <3125>;
|
||||||
};
|
};
|
||||||
|
|
||||||
buck5_reg: BUCK5 {
|
buck3_reg: regulator@2 {
|
||||||
regulator-always-on;
|
reg = <2>;
|
||||||
|
regulator-compatible = "buck3";
|
||||||
|
regulator-min-microvolt = <600000>;
|
||||||
|
regulator-max-microvolt = <2187500>;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
buck4_reg: regulator@3 {
|
||||||
|
reg = <3>;
|
||||||
|
regulator-compatible = "buck4";
|
||||||
|
regulator-min-microvolt = <600000>;
|
||||||
|
regulator-max-microvolt = <3400000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
buck5_reg: regulator@4 {
|
||||||
|
reg = <4>;
|
||||||
regulator-compatible = "buck5";
|
regulator-compatible = "buck5";
|
||||||
regulator-max-microvolt = <1350000>;
|
regulator-min-microvolt = <600000>;
|
||||||
regulator-min-microvolt = <700000>;
|
regulator-max-microvolt = <3400000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
buck6_reg: BUCK6 {
|
buck6_reg: regulator@5 {
|
||||||
regulator-always-on;
|
reg = <5>;
|
||||||
regulator-boot-on;
|
|
||||||
regulator-compatible = "buck6";
|
regulator-compatible = "buck6";
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-min-microvolt = <600000>;
|
||||||
regulator-min-microvolt = <3000000>;
|
regulator-max-microvolt = <3400000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
buck7_reg: BUCK7 {
|
ldo1_reg: regulator@6 {
|
||||||
regulator-always-on;
|
reg = <6>;
|
||||||
regulator-boot-on;
|
|
||||||
regulator-compatible = "buck7";
|
|
||||||
regulator-max-microvolt = <1995000>;
|
|
||||||
regulator-min-microvolt = <1605000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
buck8_reg: BUCK8 {
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-compatible = "buck8";
|
|
||||||
regulator-max-microvolt = <1400000>;
|
|
||||||
regulator-min-microvolt = <800000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
ldo1_reg: LDO1 {
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-compatible = "ldo1";
|
regulator-compatible = "ldo1";
|
||||||
|
regulator-min-microvolt = <1600000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-min-microvolt = <3000000>;
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
ldo2_reg: LDO2 {
|
ldo2_reg: regulator@7 {
|
||||||
regulator-always-on;
|
reg = <7>;
|
||||||
regulator-boot-on;
|
|
||||||
regulator-compatible = "ldo2";
|
regulator-compatible = "ldo2";
|
||||||
regulator-max-microvolt = <900000>;
|
regulator-min-microvolt = <800000>;
|
||||||
regulator-min-microvolt = <900000>;
|
regulator-max-microvolt = <1150000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
ldo3_reg: LDO3 {
|
ldo3_reg: regulator@8 {
|
||||||
regulator-always-on;
|
reg = <8>;
|
||||||
regulator-boot-on;
|
|
||||||
regulator-compatible = "ldo3";
|
regulator-compatible = "ldo3";
|
||||||
|
regulator-min-microvolt = <800000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-min-microvolt = <1800000>;
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
ldo4_reg: LDO4 {
|
ldo4_reg: regulator@9 {
|
||||||
regulator-always-on;
|
reg = <9>;
|
||||||
regulator-boot-on;
|
|
||||||
regulator-compatible = "ldo4";
|
regulator-compatible = "ldo4";
|
||||||
regulator-max-microvolt = <1800000>;
|
regulator-min-microvolt = <800000>;
|
||||||
regulator-min-microvolt = <900000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
ldo5_reg: LDO5 {
|
|
||||||
regulator-compatible = "ldo5";
|
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
ldo6_reg: LDO6 {
|
ldo5_reg: regulator@10 {
|
||||||
regulator-always-on;
|
reg = <10>;
|
||||||
regulator-boot-on;
|
regulator-compatible = "ldo5";
|
||||||
regulator-compatible = "ldo6";
|
regulator-min-microvolt = <800000>;
|
||||||
regulator-max-microvolt = <1800000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-min-microvolt = <900000>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -321,12 +329,6 @@
|
|||||||
reg = <0x32>;
|
reg = <0x32>;
|
||||||
};
|
};
|
||||||
|
|
||||||
adc@34 {
|
|
||||||
compatible = "maxim,max11607";
|
|
||||||
reg = <0x34>;
|
|
||||||
vcc-supply = <&ldo5_reg>;
|
|
||||||
};
|
|
||||||
|
|
||||||
eeprom_module: eeprom@50 {
|
eeprom_module: eeprom@50 {
|
||||||
compatible = "st,24c02", "atmel,24c02", "i2c-eeprom";
|
compatible = "st,24c02", "atmel,24c02", "i2c-eeprom";
|
||||||
pagesize = <16>;
|
pagesize = <16>;
|
||||||
|
Loading…
Reference in New Issue
Block a user