aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-02-11 21:02:46 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-02-16 03:07:02 -0500
commit5c61f02c1270982bcecccca51a01fb363c20d2cd (patch)
treeb0435b9ce99ae075f44b8939620dd7799f4d0c48 /arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
parentd3e84a93184137951241f71f8696bddc8b32b36c (diff)
ARM: dts: sun8i: sinlinx-sina33: Add AXP223 PMIC device and regulator nodes
This board has a X-Powers AXP223 PMIC connected via RSB. Its regulators provide power to various parts of the SoC and the board. Also update the regulator supply phandles. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts76
1 files changed, 73 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
index bd2a3beb4629..fef6abc0a703 100644
--- a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
+++ b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
@@ -68,7 +68,7 @@
68}; 68};
69 69
70&lradc { 70&lradc {
71 vref-supply = <&reg_vcc3v0>; 71 vref-supply = <&reg_dcdc1>;
72 status = "okay"; 72 status = "okay";
73 73
74 button@200 { 74 button@200 {
@@ -96,7 +96,7 @@
96&mmc0 { 96&mmc0 {
97 pinctrl-names = "default"; 97 pinctrl-names = "default";
98 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_sina33>; 98 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_sina33>;
99 vmmc-supply = <&reg_vcc3v0>; 99 vmmc-supply = <&reg_dcdc1>;
100 bus-width = <4>; 100 bus-width = <4>;
101 cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */ 101 cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
102 cd-inverted; 102 cd-inverted;
@@ -106,7 +106,7 @@
106&mmc2 { 106&mmc2 {
107 pinctrl-names = "default"; 107 pinctrl-names = "default";
108 pinctrl-0 = <&mmc2_8bit_pins>; 108 pinctrl-0 = <&mmc2_8bit_pins>;
109 vmmc-supply = <&reg_vcc3v0>; 109 vmmc-supply = <&reg_dcdc1>;
110 bus-width = <8>; 110 bus-width = <8>;
111 non-removable; 111 non-removable;
112 cap-mmc-hw-reset; 112 cap-mmc-hw-reset;
@@ -135,6 +135,76 @@
135 135
136&r_rsb { 136&r_rsb {
137 status = "okay"; 137 status = "okay";
138
139 axp22x: pmic@3a3 {
140 compatible = "x-powers,axp223";
141 reg = <0x3a3>;
142 interrupt-parent = <&nmi_intc>;
143 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
144 eldoin-supply = <&reg_dcdc1>;
145 };
146};
147
148#include "axp22x.dtsi"
149
150&reg_aldo1 {
151 regulator-always-on;
152 regulator-min-microvolt = <3000000>;
153 regulator-max-microvolt = <3000000>;
154 regulator-name = "vcc-io";
155};
156
157&reg_aldo2 {
158 regulator-always-on;
159 regulator-min-microvolt = <2350000>;
160 regulator-max-microvolt = <2650000>;
161 regulator-name = "vdd-dll";
162};
163
164&reg_aldo3 {
165 regulator-always-on;
166 regulator-min-microvolt = <2700000>;
167 regulator-max-microvolt = <3300000>;
168 regulator-name = "vcc-pll-avcc";
169};
170
171&reg_dc5ldo {
172 regulator-always-on;
173 regulator-min-microvolt = <900000>;
174 regulator-max-microvolt = <1400000>;
175 regulator-name = "vdd-cpus";
176};
177
178&reg_dcdc1 {
179 regulator-always-on;
180 regulator-min-microvolt = <3000000>;
181 regulator-max-microvolt = <3000000>;
182 regulator-name = "vcc-3v0";
183};
184
185&reg_dcdc2 {
186 regulator-always-on;
187 regulator-min-microvolt = <900000>;
188 regulator-max-microvolt = <1400000>;
189 regulator-name = "vdd-sys";
190};
191
192&reg_dcdc3 {
193 regulator-always-on;
194 regulator-min-microvolt = <900000>;
195 regulator-max-microvolt = <1400000>;
196 regulator-name = "vdd-cpu";
197};
198
199&reg_dcdc5 {
200 regulator-always-on;
201 regulator-min-microvolt = <1500000>;
202 regulator-max-microvolt = <1500000>;
203 regulator-name = "vcc-dram";
204};
205
206&reg_rtc_ldo {
207 regulator-name = "vcc-rtc";
138}; 208};
139 209
140&uart0 { 210&uart0 {