Skip to contentSkip to conversation

ARM: dts: sun4i: A1000: add axp209 regulator nodes

PATCH New codekipper at gmail.com 2 participants 2 messages Dec 20, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: sun4i: A1000: add axp209 regulator nodes

From: Marcus Cooper <[email protected]>

This patch adds the regulator nodes for the axp209 by including the axp209 dtsi.

DCDC2 is used as the cpu power supply. This patch also references it from the cpu node.

---
 arch/arm/boot/dts/sun4i-a10-a1000.dts | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
arch/arm/boot/dts/sun4i-a10-a1000.dts +31 -0
index 68c6bdb2cf7c..f3fc27412a67 100644
@@ -117,6 +117,10 @@
 	status = "okay";
 };
 
+&cpu0 {
+	cpu-supply = <&reg_dcdc2>;
+};
+
 &ehci0 {
 	status = "okay";
 };
@@ -196,6 +200,33 @@
 	};
 };
 
+#include "axp209.dtsi"
+
+&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 = <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 {
 	status = "okay";
 };
Signature · 1 line
2.11.0
#1 lore raw

PATCH v2 1/1 ARM: dts: sun4i: A1000: add axp209 regulator nodes

Quoted 9 lines · codekipper at gmail.com

From: Marcus Cooper <[email protected]>

This patch adds the regulator nodes for the axp209 by including the axp209 dtsi.

DCDC2 is used as the cpu power supply. This patch also references it from the cpu node.

Applied, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161220/88378e27/attachment.sig>