aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts')
-rw-r--r--arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts57
1 files changed, 57 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts b/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts
index 3bd862bf82a9..bdfdce8ca6ba 100644
--- a/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts
+++ b/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts
@@ -86,6 +86,10 @@
86 }; 86 };
87}; 87};
88 88
89&cpu0 {
90 cpu-supply = <&reg_dcdc3>;
91};
92
89&ehci0 { 93&ehci0 {
90 status = "okay"; 94 status = "okay";
91}; 95};
@@ -151,6 +155,17 @@
151 status = "okay"; 155 status = "okay";
152}; 156};
153 157
158&p2wi {
159 status = "okay";
160
161 axp22x: pmic@68 {
162 compatible = "x-powers,axp221";
163 reg = <0x68>;
164 interrupt-parent = <&nmi_intc>;
165 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
166 };
167};
168
154&pio { 169&pio {
155 gmac_phy_reset_pin_bpi_m2: gmac_phy_reset_pin@0 { 170 gmac_phy_reset_pin_bpi_m2: gmac_phy_reset_pin@0 {
156 pins = "PA21"; 171 pins = "PA21";
@@ -176,6 +191,48 @@
176 }; 191 };
177}; 192};
178 193
194#include "axp22x.dtsi"
195
196&reg_dc5ldo {
197 regulator-min-microvolt = <700000>;
198 regulator-max-microvolt = <1320000>;
199 regulator-name = "vdd-cpus";
200};
201
202&reg_dcdc1 {
203 regulator-always-on;
204 regulator-min-microvolt = <3000000>;
205 regulator-max-microvolt = <3000000>;
206 regulator-name = "vdd-3v0";
207};
208
209&reg_dcdc2 {
210 regulator-min-microvolt = <700000>;
211 regulator-max-microvolt = <1320000>;
212 regulator-name = "vdd-gpu";
213};
214
215&reg_dcdc3 {
216 regulator-always-on;
217 regulator-min-microvolt = <700000>;
218 regulator-max-microvolt = <1320000>;
219 regulator-name = "vdd-cpu";
220};
221
222&reg_dcdc4 {
223 regulator-always-on;
224 regulator-min-microvolt = <700000>;
225 regulator-max-microvolt = <1320000>;
226 regulator-name = "vdd-sys-dll";
227};
228
229&reg_dcdc5 {
230 regulator-always-on;
231 regulator-min-microvolt = <1500000>;
232 regulator-max-microvolt = <1500000>;
233 regulator-name = "vcc-dram";
234};
235
179&uart0 { 236&uart0 {
180 pinctrl-names = "default"; 237 pinctrl-names = "default";
181 pinctrl-0 = <&uart0_pins_a>; 238 pinctrl-0 = <&uart0_pins_a>;