Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun7i: Add regulator configuration to the pcduino3 dts file

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>
[Maxime: Removed usb_power_supply node that isn't defined in the DTSI]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

authored by

Jelle van der Waa and committed by
Maxime Ripard
770df8c8 af283532

+31 -4
+31 -4
arch/arm/boot/dts/sun7i-a20-pcduino3.dts
··· 111 111 allwinner,pins = "PH2"; 112 112 }; 113 113 114 + &cpu0 { 115 + cpu-supply = <&reg_dcdc2>; 116 + }; 117 + 114 118 &ehci0 { 115 119 status = "okay"; 116 120 }; ··· 141 137 status = "okay"; 142 138 143 139 axp209: pmic@34 { 144 - compatible = "x-powers,axp209"; 145 140 reg = <0x34>; 146 141 interrupt-parent = <&nmi_intc>; 147 142 interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 148 - 149 - interrupt-controller; 150 - #interrupt-cells = <1>; 151 143 }; 152 144 }; 145 + 146 + #include "axp209.dtsi" 153 147 154 148 &ir0 { 155 149 pinctrl-names = "default"; ··· 192 190 &reg_ahci_5v { 193 191 gpio = <&pio 7 2 GPIO_ACTIVE_HIGH>; 194 192 status = "okay"; 193 + }; 194 + 195 + &reg_dcdc2 { 196 + regulator-always-on; 197 + regulator-min-microvolt = <1000000>; 198 + regulator-max-microvolt = <1400000>; 199 + regulator-name = "vdd-cpu"; 200 + }; 201 + 202 + &reg_dcdc3 { 203 + regulator-always-on; 204 + regulator-min-microvolt = <1000000>; 205 + regulator-max-microvolt = <1400000>; 206 + regulator-name = "vdd-int-pll"; 207 + }; 208 + 209 + &reg_ldo1 { 210 + regulator-name = "vdd-rtc"; 211 + }; 212 + 213 + &reg_ldo2 { 214 + regulator-always-on; 215 + regulator-min-microvolt = <3000000>; 216 + regulator-max-microvolt = <3000000>; 217 + regulator-name = "avcc"; 195 218 }; 196 219 197 220 &reg_usb1_vbus {