Add phy+vcc supply to NanoPi R5S and Q64-B
Subsystems (2)
cover Add phy+vcc supply to NanoPi R5S and Q64-B
Testing on my NanoPi R5S and Quartz64 Model B brought some more issues with power supplies to light, so fix them as well.
Diederik de Haas (2):
arm64: dts: rockchip: Add phy-supply to gmac0 on NanoPi R5S
arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3566-quartz64-b
arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts | 1 + arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
2.49.0
PATCH 1/2 arm64: dts: rockchip: Add phy-supply to gmac0 on NanoPi R5S
According to paragraph "7.16. Power" of the RTL8211F-CG datasheet, gmac0 needs to have a 3.3V power supply.
On page 22 of the NanoPi R5S version 2204, that is identified as VCC_GEPHY_3V3 which is connected to the VCC_3V3 power source.
This fixes the following warning:
rk_gmac-dwmac fe2a0000.ethernet: supply phy not found, using dummy regulator
--- arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts +1 -0
@@ -61,6 +61,7 @@ &gmac0 { clock_in_out = "output"; phy-handle = <&rgmii_phy0>; phy-mode = "rgmii"; + phy-supply = <&vcc_3v3>; pinctrl-names = "default"; pinctrl-0 = <&gmac0_miim &gmac0_tx_bus2
Signature · 1 line
2.49.0
PATCH 2/2 arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3566-quartz64-b
In reply to Diederik de HaasThe Quartz64 Model B has a Winbound 25Q64DWZPIG SPI flash chip, identified as 'U13' on the component placement schematic.
In the Quartz 64 Model-B Schematic from 20220124 on page 17, we can see that the VCC connector is connected to VCCIO_FLASH and page 4 shows that that in turn is connected to the VCCIO2 domain.
That domain uses vcc_1v8 as its power source.
This fixes the following warning:
spi-nor spi4.0: supply vcc not found, using dummy regulator
--- arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/rockchip/rk3566-quartz64-b.dts +1 -0
@@ -648,6 +648,7 @@ flash@0 { spi-max-frequency = <24000000>; spi-rx-bus-width = <4>; spi-tx-bus-width = <1>; + vcc-supply = <&vcc_1v8>; }; };
Signature · 1 line
2.49.0
Quoted 8 lines · Diederik de Haas
Testing on my NanoPi R5S and Quartz64 Model B brought some more issues with power supplies to light, so fix them as well.
Diederik de Haas (2):
arm64: dts: rockchip: Add phy-supply to gmac0 on NanoPi R5S
arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3566-quartz64-b[...]
Applied, thanks!
[1/2] arm64: dts: rockchip: Add phy-supply to gmac0 on NanoPi R5S
commit: fdc68be8a8acbea9630c3bca560b7a1cf3a952e2
[2/2] arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3566-quartz64-b
commit: ec79aee752c6b5c7695cd82a57a8a9249d09316dBest regards,
Signature · 1 line
Heiko Stuebner <[email protected]>