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

ARM: dts: sun8i: r40: bananapi-m2-berry: Fix dcdc1 regulator

DCDC1 regulator powers many different subsystems. While some of them can
work at 3.0 V, some of them can not. For example, VCC-HDMI can only work
between 3.24 V and 3.36 V. According to OS images provided by the board
manufacturer this regulator should be set to 3.3 V.

Set DCDC1 and DCDC1SW to 3.3 V in order to fix this.

Fixes: 23edc168bd98 ("ARM: dts: sun8i: Add board dts file for Banana Pi M2 Berry")
Fixes: 27e81e1970a8 ("ARM: dts: sun8i: v40: bananapi-m2-berry: Enable GMAC ethernet controller")
Signed-off-by: Pablo Greco <pgreco@centosproject.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/1604326755-39742-1-git-send-email-pgreco@centosproject.org

authored by

Pablo Greco and committed by
Maxime Ripard
bd5cdcdc 8c9cb409

+5 -5
+5 -5
arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
··· 198 198 }; 199 199 200 200 &reg_dc1sw { 201 - regulator-min-microvolt = <3000000>; 202 - regulator-max-microvolt = <3000000>; 201 + regulator-min-microvolt = <3300000>; 202 + regulator-max-microvolt = <3300000>; 203 203 regulator-name = "vcc-gmac-phy"; 204 204 }; 205 205 206 206 &reg_dcdc1 { 207 207 regulator-always-on; 208 - regulator-min-microvolt = <3000000>; 209 - regulator-max-microvolt = <3000000>; 210 - regulator-name = "vcc-3v0"; 208 + regulator-min-microvolt = <3300000>; 209 + regulator-max-microvolt = <3300000>; 210 + regulator-name = "vcc-3v3"; 211 211 }; 212 212 213 213 &reg_dcdc2 {