Commit 74c5076b authored by Angus Ainslie's avatar Angus Ainslie

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

parent 1c6afeb2
......@@ -470,19 +470,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 */
};
......@@ -493,45 +485,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;
......@@ -540,7 +537,7 @@
buck6_reg: BUCK6 {
reg = <5>;
regulator-compatible = "buck6";
regulator-name = "buck6";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
......@@ -549,7 +546,7 @@
buck7_reg: BUCK7 {
reg = <6>;
regulator-compatible = "buck7";
regulator-name = "buck7";
regulator-min-microvolt = <1605000>;
regulator-max-microvolt = <1995000>;
regulator-boot-on;
......@@ -558,7 +555,7 @@
buck8_reg: BUCK8 {
reg = <7>;
regulator-compatible = "buck8";
regulator-name = "buck8";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1400000>;
regulator-boot-on;
......@@ -567,7 +564,7 @@
ldo1_reg: LDO1 {
reg = <8>;
regulator-compatible = "ldo1";
regulator-name = "ldo1";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
......@@ -576,7 +573,7 @@
ldo2_reg: LDO2 {
reg = <9>;
regulator-compatible = "ldo2";
regulator-name = "ldo2";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
regulator-boot-on;
......@@ -585,7 +582,7 @@
ldo3_reg: LDO3 {
reg = <10>;
regulator-compatible = "ldo3";
regulator-name = "ldo3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
......@@ -594,7 +591,7 @@
ldo4_reg: LDO4 {
reg = <11>;
regulator-compatible = "ldo4";
regulator-name = "ldo4";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
......@@ -603,7 +600,7 @@
ldo5_reg: LDO5 {
reg = <12>;
regulator-compatible = "ldo5";
regulator-name = "ldo5";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
......@@ -612,7 +609,7 @@
ldo6_reg: LDO6 {
reg = <13>;
regulator-compatible = "ldo6";
regulator-name = "ldo6";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
......@@ -621,7 +618,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