From: hdegoede@redhat.com (Hans de Goede)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/6] ARM: dts: sun7i: Add regulator configuration to the pcduino3 dts file
Date: Fri, 14 Aug 2015 16:44:34 +0200 [thread overview]
Message-ID: <1439563477-12295-4-git-send-email-hdegoede@redhat.com> (raw)
In-Reply-To: <1439563477-12295-1-git-send-email-hdegoede@redhat.com>
From: Jelle van der Waa <jelle@vdwaa.nl>
Add regulator configuration to the pcduino3 dts file.
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 39 ++++++++++++++++++++++++++++----
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
index afc9ece..99e238b 100644
--- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
+++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
@@ -111,6 +111,10 @@
allwinner,pins = "PH2";
};
+&cpu0 {
+ cpu-supply = <®_dcdc2>;
+};
+
&ehci0 {
status = "okay";
};
@@ -137,16 +141,14 @@
status = "okay";
axp209: pmic at 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";
};
+®_dcdc2 {
+ regulator-always-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-name = "vdd-cpu";
+};
+
+®_dcdc3 {
+ regulator-always-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-name = "vdd-int-pll";
+};
+
+®_ldo1 {
+ regulator-name = "vdd-rtc";
+};
+
+®_ldo2 {
+ regulator-always-on;
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3000000>;
+ regulator-name = "avcc";
+};
+
®_usb1_vbus {
status = "okay";
};
@@ -206,6 +233,10 @@
status = "okay";
};
+&usb_power_supply {
+ status = "okay";
+};
+
&usbphy {
usb1_vbus-supply = <®_usb1_vbus>;
usb2_vbus-supply = <®_usb2_vbus>;
--
2.4.3
next prev parent reply other threads:[~2015-08-14 14:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-14 14:44 [PATCH 0/6] ARM: dts: sunxi: Various sunxi devicetree patches Hans de Goede
2015-08-14 14:44 ` [PATCH 1/6] ARM: dts: sun5i: Add simplefb node for tvencoder output Hans de Goede
2015-08-20 6:43 ` Maxime Ripard
2015-08-14 14:44 ` [PATCH 2/6] ARM: dts: sun7i: Enable i2c bus 1 and 2 on the Wits A20 Pro DKT Hans de Goede
2015-08-14 14:50 ` Hans de Goede
2015-08-14 14:44 ` Hans de Goede [this message]
2015-08-20 6:44 ` [PATCH 3/6] ARM: dts: sun7i: Add regulator configuration to the pcduino3 dts file Maxime Ripard
2015-08-14 14:44 ` [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on pcDuino 3 Hans de Goede
2015-08-20 6:45 ` Maxime Ripard
2015-08-20 7:36 ` [linux-sunxi] " Hans de Goede
2015-08-20 15:03 ` Maxime Ripard
2015-08-14 14:44 ` [PATCH 5/6] ARM: dts: sun7i: Enable USB DRC on cubieboard2 Hans de Goede
2015-08-20 15:04 ` Maxime Ripard
2015-08-14 14:44 ` [PATCH 6/6] ARM: dts: sun8i: Add support for qt90h-v4 tablets Hans de Goede
2015-08-20 6:47 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1439563477-12295-4-git-send-email-hdegoede@redhat.com \
--to=hdegoede@redhat.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).