Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+31 −4
Original line number Diff line number Diff line
@@ -111,6 +111,10 @@
	allwinner,pins = "PH2";
};

&cpu0 {
	cpu-supply = <&reg_dcdc2>;
};

&ehci0 {
	status = "okay";
};
@@ -137,16 +141,14 @@
	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 @@
	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";
};