]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3399-rockpro64
authorDiederik de Haas <didi.debian@cknow.org>
Fri, 25 Apr 2025 08:44:42 +0000 (10:44 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 28 Apr 2025 12:10:20 +0000 (14:10 +0200)
As described on page 16 of the RockPro64 schematics for both v2.0 and
v2.1, the SPI Flash's VCC connector is connected to the VCC_3V0 power
source.

This fixes the following warning:

  spi-nor spi1.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-3-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi

index 51c6aa26d8285edb6a17086b0a5031ba5944ea71..a7e4adf87e7a12945097d09715c373d8f5a15b3e 100644 (file)
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
+               vcc-supply = <&vcc_3v0>;
        };
 };