Commit 543b273b authored by Ezequiel Garcia's avatar Ezequiel Garcia

MIPS: dts: ci20: Enable the PMIC in the devicetree

Add the active-semi ACT 8600 PMIC that is connected to the i2c0 bus
on the Creator CI20 board.
Signed-off-by: Ezequiel Garcia's avatarEzequiel Garcia <ezequiel@collabora.com>
parent ee9b6d87
......@@ -86,6 +86,85 @@
pinctrl-0 = <&pins_uart4>;
};
&i2c0 {
status = "okay";
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pins_i2c0>;
pmic: act8600@5a {
compatible = "active-semi,act8600";
reg = <0x5a>;
regulators {
vddcore1v2_reg: DCDC_REG1 {
regulator-name = "vddcore1v2";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1400000>;
regulator-always-on;
};
vddmem1v5_reg: DCDC_REG2 {
regulator-name = "vddmem1v5";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-always-on;
};
vccio3v3_reg: DCDC_REG3 {
regulator-name = "vccio3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
vcc5v_reg: SUDCDC_REG4 {
regulator-name = "vcc5v";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
vcc2v5_reg: LDO_REG5 {
regulator-name = "vcc2v5";
regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <2500000>;
regulator-always-on;
};
vwifi_reg: LDO_REG6 {
regulator-name = "vwifi3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
vcim2v8_reg: LDO_REG7 {
regulator-name = "vcim2v8";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
};
vcim1v5_reg: LDO_REG8 {
regulator-name = "vcim1v5";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
};
/* Do not disable RTC as they connect to reset line */
vrtc1v8_reg: LDO_REG9 {
regulator-name = "vrtc1v8";
regulator-always-on;
};
vrtc1v1_reg: LDO_REG10 {
regulator-name = "vrtc1v2";
regulator-always-on;
};
};
};
};
&nemc {
status = "okay";
......@@ -208,6 +287,12 @@
bias-disable;
};
pins_i2c0: i2c0 {
function = "i2c0";
groups = "i2c0-data";
bias-disable;
};
pins_nemc: nemc {
function = "nemc";
groups = "nemc-data", "nemc-cle-ale", "nemc-rd-we", "nemc-frd-fwe";
......
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