Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d556bfc authored by Jagan Teki's avatar Jagan Teki Committed by Maxime Ripard
Browse files

arm64: allwinner: a64-sopine: Fix to use dcdc1 regulator instead of vcc3v3



Since current tree support AXP803 regulators,
replace fixed regulator vcc3v3 with AXP803 dcdc1 regulator where ever
it need to replace.

Tested mmc0 on sopine baseboard.

Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent e17e237c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -96,7 +96,7 @@
&mmc2 {
&mmc2 {
	pinctrl-names = "default";
	pinctrl-names = "default";
	pinctrl-0 = <&mmc2_pins>;
	pinctrl-0 = <&mmc2_pins>;
	vmmc-supply = <&reg_vcc3v3>;
	vmmc-supply = <&reg_dcdc1>;
	vqmmc-supply = <&reg_vcc1v8>;
	vqmmc-supply = <&reg_vcc1v8>;
	bus-width = <8>;
	bus-width = <8>;
	non-removable;
	non-removable;
+1 −10
Original line number Original line Diff line number Diff line
@@ -45,19 +45,10 @@


#include "sun50i-a64.dtsi"
#include "sun50i-a64.dtsi"


/ {
	reg_vcc3v3: vcc3v3 {
		compatible = "regulator-fixed";
		regulator-name = "vcc3v3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
	};
};

&mmc0 {
&mmc0 {
	pinctrl-names = "default";
	pinctrl-names = "default";
	pinctrl-0 = <&mmc0_pins>;
	pinctrl-0 = <&mmc0_pins>;
	vmmc-supply = <&reg_vcc3v3>;
	vmmc-supply = <&reg_dcdc1>;
	non-removable;
	non-removable;
	disable-wp;
	disable-wp;
	bus-width = <4>;
	bus-width = <4>;