| From f0b7ac74eff257260538b2a9c85dcbc1a43de142 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Sat, 18 Jul 2020 00:00:47 +0800 |
| Subject: ARM: dts: sunxi: bananapi-m2-plus-v1.2: Add regulator supply to all |
| CPU cores |
| |
| From: Chen-Yu Tsai <wens@csie.org> |
| |
| [ Upstream commit 55b271af765b0e03d1ff29502f81644b1a3c87fd ] |
| |
| The device tree currently only assigns the a supply for the first CPU |
| core, when in reality the regulator supply is shared by all four cores. |
| This might cause an issue if the implementation does not realize the |
| sharing of the supply. |
| |
| Assign the same regulator supply to the remaining CPU cores to address |
| this. |
| |
| Fixes: 6eeb4180d4b9 ("ARM: dts: sunxi: h3-h5: Add Bananapi M2+ v1.2 device trees") |
| Signed-off-by: Chen-Yu Tsai <wens@csie.org> |
| Signed-off-by: Maxime Ripard <maxime@cerno.tech> |
| Link: https://lore.kernel.org/r/20200717160053.31191-3-wens@kernel.org |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| arch/arm/boot/dts/sunxi-bananapi-m2-plus-v1.2.dtsi | 12 ++++++++++++ |
| 1 file changed, 12 insertions(+) |
| |
| diff --git a/arch/arm/boot/dts/sunxi-bananapi-m2-plus-v1.2.dtsi b/arch/arm/boot/dts/sunxi-bananapi-m2-plus-v1.2.dtsi |
| index 22466afd38a3a..a628b5ee72b65 100644 |
| --- a/arch/arm/boot/dts/sunxi-bananapi-m2-plus-v1.2.dtsi |
| +++ b/arch/arm/boot/dts/sunxi-bananapi-m2-plus-v1.2.dtsi |
| @@ -28,3 +28,15 @@ reg_vdd_cpux: vdd-cpux { |
| &cpu0 { |
| cpu-supply = <®_vdd_cpux>; |
| }; |
| + |
| +&cpu1 { |
| + cpu-supply = <®_vdd_cpux>; |
| +}; |
| + |
| +&cpu2 { |
| + cpu-supply = <®_vdd_cpux>; |
| +}; |
| + |
| +&cpu3 { |
| + cpu-supply = <®_vdd_cpux>; |
| +}; |
| -- |
| 2.25.1 |
| |