ARM: dts: sun6i: a31s: bpi-m2: add missing regulators
authorPhilipp Rossak <embed3d@gmail.com>
Wed, 14 Feb 2018 14:10:25 +0000 (15:10 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 15 Feb 2018 09:04:28 +0000 (10:04 +0100)
commit70b8d21496758dd7ff600ec9de0ee3812fac7a40
tree819a93829788c15259e5be3ce9dedb5971f6f573
parentb23af6ad8d2f708c4c3f92dd8f82c233247ba8bf
ARM: dts: sun6i: a31s: bpi-m2: add missing regulators

This patch fixes a bootproblem with the Bananapi M2 board. Since there
are some regulators missing we add them right now. Those values come
from the schematic, below you can find a small overview:

* reg_aldo1:  3,3V, powers the wifi
* reg_aldo2:  2,5V, powers the IO of the RTL8211E
* reg_aldo3:  3,3V, powers the audio

* reg_dldo1:  3,0V, powers the RTL8211E
* reg_dldo2:  2,8V, powers the analog part of the csi
* reg_dldo3:  3,3V, powers misc
* reg_eldo1:  1,8V, powers the csi
* reg_ldo_io1:1,8V, powers the gpio

* reg_dc5ldo: needs to be always on

This patch updates also the vmmc-supply properties on the mmc0 and mmc2
node to use the allready existent regulators.
We can now remove the sunxi-common-regulators.dtsi include since we
don't need it anymore.

Fixes: 7daa21370075 ("ARM: dts: sunxi: Add regulators for Sinovoip BPI-M2")
Cc: <stable@vger.kernel.org>
Signed-off-by: Philipp Rossak <embed3d@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts