From: Frank Wang <frank.wang@rock-chips.com>
To: heiko@sntech.de
Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk,
linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, huangtao@rock-chips.com,
kever.yang@rock-chips.com, david.wu@rock-chips.com,
finley.xiao@rock-chips.com, zhangqing@rock-chips.com,
wmc@rock-chips.com, Frank Wang <frank.wang@rock-chips.com>
Subject: [PATCH v2 1/6] ARM: dts: rockchip: add regulator nodes for rk3229-evb
Date: Wed, 5 Jul 2017 16:30:16 +0800 [thread overview]
Message-ID: <1499243421-21460-2-git-send-email-frank.wang@rock-chips.com> (raw)
In-Reply-To: <1499243421-21460-1-git-send-email-frank.wang@rock-chips.com>
This patch adds regulator info for rk3229-evb board.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
---
arch/arm/boot/dts/rk3229-evb.dts | 69 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts
index 82e8a53..394be63 100644
--- a/arch/arm/boot/dts/rk3229-evb.dts
+++ b/arch/arm/boot/dts/rk3229-evb.dts
@@ -51,6 +51,15 @@
reg = <0x60000000 0x40000000>;
};
+ dc_12v: dc-12v-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "dc_12v";
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <12000000>;
+ regulator-max-microvolt = <12000000>;
+ };
+
ext_gmac: ext_gmac {
compatible = "fixed-clock";
clock-frequency = <125000000>;
@@ -67,6 +76,7 @@
regulator-name = "vcc_host";
regulator-always-on;
regulator-boot-on;
+ vin-supply = <&vcc_sys>;
};
vcc_phy: vcc-phy-regulator {
@@ -77,6 +87,57 @@
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
+ vin-supply = <&vccio_1v8>;
+ };
+
+ vcc_sys: vcc-sys-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc_sys";
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ vin-supply = <&dc_12v>;
+ };
+
+ vccio_1v8: vccio-1v8-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "vccio_1v8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ vin-supply = <&vcc_sys>;
+ };
+
+ vccio_3v3: vccio-3v3-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "vccio_3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ vin-supply = <&vcc_sys>;
+ };
+
+ vdd_arm: vdd-arm-regulator {
+ compatible = "pwm-regulator";
+ pwms = <&pwm1 0 25000 1>;
+ regulator-name = "vdd_arm";
+ regulator-min-microvolt = <950000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-always-on;
+ regulator-boot-on;
+ pwm-supply = <&vcc_sys>;
+ };
+
+ vdd_log: vdd-log-regulator {
+ compatible = "pwm-regulator";
+ pwms = <&pwm2 0 25000 1>;
+ regulator-name = "vdd_log";
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ pwm-supply = <&vcc_sys>;
};
};
@@ -104,6 +165,14 @@
};
};
+&pwm1 {
+ status = "okay";
+};
+
+&pwm2 {
+ status = "okay";
+};
+
&uart2 {
status = "okay";
};
--
2.0.0
next prev parent reply other threads:[~2017-07-05 8:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-05 8:30 [PATCH v2 0/6] add and enable some device nodes for rk3229-evb board Frank Wang
2017-07-05 8:30 ` Frank Wang [this message]
2017-07-12 23:53 ` [PATCH v2 1/6] ARM: dts: rockchip: add regulator nodes for rk3229-evb Heiko Stuebner
2017-07-05 8:30 ` [PATCH v2 2/6] ARM: dts: rockchip: add cpu-supply property for cpu node of rk3229-evb Frank Wang
2017-07-12 23:56 ` Heiko Stuebner
2017-07-05 8:30 ` [PATCH v2 3/6] ARM: dts: rockchip: enable io-domain for rk3229-evb Frank Wang
2017-07-06 6:47 ` kbuild test robot
2017-07-12 23:49 ` Heiko Stuebner
2017-07-13 0:13 ` Heiko Stuebner
2017-07-05 8:30 ` [PATCH v2 4/6] ARM: dts: rockchip: enable eMMC " Frank Wang
2017-07-13 0:03 ` Heiko Stuebner
2017-07-05 8:32 ` [PATCH v2 5/6] ARM: dts: rockchip: enable tsadc " Frank Wang
2017-07-13 0:04 ` Heiko Stuebner
2017-07-05 8:33 ` [PATCH v2 6/6] ARM: dts: rockchip: add gpio power-key " Frank Wang
2017-07-13 0:12 ` Heiko Stuebner
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=1499243421-21460-2-git-send-email-frank.wang@rock-chips.com \
--to=frank.wang@rock-chips.com \
--cc=david.wu@rock-chips.com \
--cc=devicetree@vger.kernel.org \
--cc=finley.xiao@rock-chips.com \
--cc=heiko@sntech.de \
--cc=huangtao@rock-chips.com \
--cc=kever.yang@rock-chips.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=wmc@rock-chips.com \
--cc=zhangqing@rock-chips.com \
/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
all inboxes | Powered by JetHome®