Commit 770df8c8 authored by Jelle van der Waa's avatar Jelle van der Waa Committed by Maxime Ripard

ARM: dts: sun7i: Add regulator configuration to the pcduino3 dts file

Add regulator configuration to the pcduino3 dts file.
Signed-off-by: default avatarJelle van der Waa <jelle@vdwaa.nl>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
[Maxime: Removed usb_power_supply node that isn't defined in the DTSI]
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent af283532
......@@ -111,6 +111,10 @@ &ahci_pwr_pin_a {
allwinner,pins = "PH2";
};
&cpu0 {
cpu-supply = <&reg_dcdc2>;
};
&ehci0 {
status = "okay";
};
......@@ -137,16 +141,14 @@ &i2c0 {
status = "okay";
axp209: pmic@34 {
compatible = "x-powers,axp209";
reg = <0x34>;
interrupt-parent = <&nmi_intc>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <1>;
};
};
#include "axp209.dtsi"
&ir0 {
pinctrl-names = "default";
pinctrl-0 = <&ir0_rx_pins_a>;
......@@ -192,6 +194,31 @@ &reg_ahci_5v {
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 = <1000000>;
regulator-max-microvolt = <1400000>;
regulator-name = "vdd-int-pll";
};
&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 {
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