Commit bc1e2718 authored by Priit Laes's avatar Priit Laes Committed by Maxime Ripard

ARM: dts: sun4i: gemei-g9: Convert to use axp209 regulator nodes

Add regulator nodes for axp209 using the axp209.dtsi include.
Signed-off-by: default avatarPriit Laes <plaes@plaes.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent e6c9b754
...@@ -72,6 +72,10 @@ chosen { ...@@ -72,6 +72,10 @@ chosen {
* Touchscreen - gt801_2plus1 @ i2c adapter 2 @ 0x48 * Touchscreen - gt801_2plus1 @ i2c adapter 2 @ 0x48
*/ */
&cpu0 {
cpu-supply = <&reg_dcdc2>;
};
&ehci0 { &ehci0 {
status = "okay"; status = "okay";
}; };
...@@ -86,15 +90,13 @@ &i2c0 { ...@@ -86,15 +90,13 @@ &i2c0 {
status = "okay"; status = "okay";
axp209: pmic@34 { axp209: pmic@34 {
compatible = "x-powers,axp209";
reg = <0x34>; reg = <0x34>;
interrupts = <0>; interrupts = <0>;
interrupt-controller;
#interrupt-cells = <1>;
}; };
}; };
#include "axp209.dtsi"
&i2c1 { &i2c1 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins_a>; pinctrl-0 = <&i2c1_pins_a>;
...@@ -146,6 +148,31 @@ &mmc0 { ...@@ -146,6 +148,31 @@ &mmc0 {
status = "okay"; status = "okay";
}; };
&reg_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1400000>;
regulator-name = "vdd-cpu";
};
&reg_dcdc3 {
regulator-always-on;
regulator-min-microvolt = <1250000>;
regulator-max-microvolt = <1250000>;
regulator-name = "vdd-int-dll";
};
&reg_ldo1 {
regulator-name = "vdd-rtc";
};
&reg_ldo2 {
regulator-always-on;
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
regulator-name = "avcc";
};
&reg_usb1_vbus { &reg_usb1_vbus {
status = "okay"; status = "okay";
}; };
......
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