Commit 13c3e5db authored by Angus Ainslie's avatar Angus Ainslie Committed by Angus Ainslie (Purism)

imx8mq-librem5-devkit.dts : use the new dt bindings for the rohm bd971837 PMIC

parent ddabd420
......@@ -625,19 +625,11 @@
clocks = <&pmic_osc>;
clock-names = "osc";
clock-output-names = "pmic_clk";
rohm,reset-snvs-powered;
interrupt-parent = <&gpio1>;
interrupts = <3 GPIO_ACTIVE_LOW>;
interrupt-names = "irq";
bd71837,pmic-buck1-uses-i2c-dvs;
bd71837,pmic-buck1-dvs-voltage = <900000>, <850000>, <800000>; /* VDD_SOC: Run-Idle-Suspend */
bd71837,pmic-buck2-uses-i2c-dvs;
bd71837,pmic-buck2-dvs-voltage = <1000000>, <900000>, <0>; /* VDD_ARM: Run-Idle */
bd71837,pmic-buck3-uses-i2c-dvs;
bd71837,pmic-buck3-dvs-voltage = <1000000>, <0>, <0>; /* VDD_GPU: Run */
bd71837,pmic-buck4-uses-i2c-dvs;
bd71837,pmic-buck4-dvs-voltage = <1000000>, <0>, <0>; /* VDD_VPU: Run */
gpo {
rohm,drv = <0x0C>; /* 0b0000_1100 all gpos with cmos output mode */
};
......@@ -648,45 +640,50 @@
buck1_reg: BUCK1 {
reg = <0>;
regulator-compatible = "buck1";
regulator-name = "buck1";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1300000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <1250>;
rohm,dvs-run-voltage = <900000>;
rohm,dvs-idle-voltage = <850000>;
rohm,dvs-suspend-voltage = <800000>;
};
buck2_reg: BUCK2 {
reg = <1>;
regulator-compatible = "buck2";
regulator-name = "buck2";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1300000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <1250>;
rohm,dvs-run-voltage = <1000000>;
rohm,dvs-idle-voltage = <900000>;
};
buck3_reg: BUCK3 {
reg = <2>;
regulator-compatible = "buck3";
regulator-name = "buck3";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1300000>;
regulator-boot-on;
regulator-always-on;
rohm,dvs-run-voltage = <1000000>;
};
buck4_reg: BUCK4 {
reg = <3>;
regulator-compatible = "buck4";
regulator-name = "buck4";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1300000>;
regulator-boot-on;
regulator-always-on;
rohm,dvs-run-voltage = <1000000>;
};
buck5_reg: BUCK5 {
reg = <4>;
regulator-compatible = "buck5";
regulator-name = "buck5";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1350000>;
regulator-boot-on;
......@@ -695,7 +692,7 @@
buck6_reg: BUCK6 {
reg = <5>;
regulator-compatible = "buck6";
regulator-name = "buck6";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
......@@ -704,7 +701,7 @@
buck7_reg: BUCK7 {
reg = <6>;
regulator-compatible = "buck7";
regulator-name = "buck7";
regulator-min-microvolt = <1605000>;
regulator-max-microvolt = <1995000>;
regulator-boot-on;
......@@ -713,7 +710,7 @@
buck8_reg: BUCK8 {
reg = <7>;
regulator-compatible = "buck8";
regulator-name = "buck8";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1400000>;
regulator-boot-on;
......@@ -722,7 +719,7 @@
ldo1_reg: LDO1 {
reg = <8>;
regulator-compatible = "ldo1";
regulator-name = "ldo1";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
......@@ -731,7 +728,7 @@
ldo2_reg: LDO2 {
reg = <9>;
regulator-compatible = "ldo2";
regulator-name = "ldo2";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
regulator-boot-on;
......@@ -740,7 +737,7 @@
ldo3_reg: LDO3 {
reg = <10>;
regulator-compatible = "ldo3";
regulator-name = "ldo3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
......@@ -749,7 +746,7 @@
ldo4_reg: LDO4 {
reg = <11>;
regulator-compatible = "ldo4";
regulator-name = "ldo4";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
......@@ -758,7 +755,7 @@
ldo5_reg: LDO5 {
reg = <12>;
regulator-compatible = "ldo5";
regulator-name = "ldo5";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
......@@ -767,7 +764,7 @@
ldo6_reg: LDO6 {
reg = <13>;
regulator-compatible = "ldo6";
regulator-name = "ldo6";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
......@@ -776,7 +773,7 @@
ldo7_reg: LDO7 {
reg = <14>;
regulator-compatible = "ldo7";
regulator-name = "ldo7";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment