arm64: t210b01: enable max77812

This commit is contained in:
2025-07-13 12:54:07 -05:00
parent 5cf46c9d99
commit 65acc50ac4
2 changed files with 69 additions and 2 deletions

View File

@@ -74,7 +74,74 @@
status = "okay";
clock-frequency = <400000>;
pmic: pmic@3c {
pmic_a: pmic@33 {
compatible = "maxim,max77812-regulator";
reg = <0x33>;
maxim,soft-start-slew-rate = <5000>;
maxim,shutdown-slew-rate = <5000>;
maxim,ramp-up-slew-rate = <5000>;
maxim,ramp-down-slew-rate = <5000>;
status = "okay";
/* interrupt-parent = <&gpio>; */
/* interrupts = <TEGRA_GPIO(K, 6) IRQ_TYPE_NONE>; */
regulators {
gpu_max_reg: m1vout {
regulator-name = "vdd-gpu";
regulator-min-microvolt = <250000>;
regulator-max-microvolt = <1525000>;
/* regulator-max-microamp = <10000000>; */ /* 0x33 cfg */
/* regulator-max-microamp = <15000000>; */ /* 0x31 cfg */
regulator-init-microvolt = <800000>;
regulator-ramp-delay = <5000>;
regulator-enable-ramp-delay = <5000>;
regulator-disable-ramp-delay = <5000>;
maxim,peak-current-limit-ua = <7200000>;
};
m2vout {
regulator-name = "vdd-mvout2";
regulator-min-microvolt = <250000>;
regulator-max-microvolt = <1525000>;
regulator-ramp-delay = <5000>;
regulator-enable-ramp-delay = <5000>;
regulator-disable-ramp-delay = <5000>;
maxim,peak-current-limit-ua = <7200000>;
};
ram_max_reg: m3vout {
status = "okay";
regulator-name = "vddio-ddr";
regulator-min-microvolt = <550000>; /* Set min lpddr4x normally allowed */
regulator-max-microvolt = <650000>; /* Set max lpddr4x normally allowed */
/* regulator-max-microamp = <5000000>; */
regulator-always-on;
regulator-boot-on;
/* regulator-init-microvolt = <600000>; */ /* Controlled by bootloader */
regulator-ramp-delay = <5000>;
regulator-enable-ramp-delay = <5000>;
regulator-disable-ramp-delay = <5000>;
maxim,peak-current-limit-ua = <7200000>;
};
cpu_max_reg: m4vout {
regulator-name = "vdd-cpu";
regulator-min-microvolt = <250000>;
regulator-max-microvolt = <1525000>;
/* regulator-max-microamp = <5000000>; */
regulator-always-on;
regulator-boot-on;
regulator-init-microvolt = <1000000>;
regulator-ramp-delay = <5000>;
regulator-enable-ramp-delay = <5000>;
regulator-disable-ramp-delay = <5000>;
maxim,peak-current-limit-ua = <7200000>;
};
};
};
pmic_b: pmic@3c {
compatible = "maxim,max77620";
reg = <0x3c>;
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;

View File

@@ -49,7 +49,7 @@
};
i2c@7000d000 {
pmic: pmic@3c {
pmic_b: pmic@3c {
regulators {
/* Vali: Powers LDO 2V8 for Sio VDD
* Powers LDO 1V8 for I2C1 VDDQ and ALC5639.