arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3328-rock64
authorDiederik de Haas <didi.debian@cknow.org>
Fri, 25 Apr 2025 08:44:41 +0000 (10:44 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 28 Apr 2025 12:10:20 +0000 (14:10 +0200)
As described on page 6 of the Rock64 schematics for both v2.0 and v3.0
the SPI Flash's VCC connector is connected to the VCC_IO power source.

This fixes the following warning:

  spi-nor spi0.0: supply vcc not found, using dummy regulator

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Link: https://lore.kernel.org/r/20250425092601.56549-2-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328-rock64.dts

index e550b6eeeff314c67fc9f122bd66697209c71bf2..5367e5fa92328f7cf7e4f295aa6fb4b66859bd5a 100644 (file)
 
                /* maximum speed for Rockchip SPI */
                spi-max-frequency = <50000000>;
+               vcc-supply = <&vcc_io>;
        };
 };