1 From 425af91c58023a8924cc2330384e040d388adc4e Mon Sep 17 00:00:00 2001
2 From: Diederik de Haas <didi.debian@cknow.org>
3 Date: Fri, 25 Apr 2025 10:44:44 +0200
4 Subject: arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3588-rock-5b
6 The Radxa Rock 5B component placement document identifies the SPI Nor
7 Flash chip as 'U4300' which is described on page 25 of the Schematic
8 v1.45. There we can see that the VCC connector is connected to the
9 VCC_3V3_S3 power source.
11 This fixes the following warning:
13 spi-nor spi5.0: supply vcc not found, using dummy regulator
15 Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
16 Link: https://lore.kernel.org/r/20250425092601.56549-5-didi.debian@cknow.org
17 Signed-off-by: Heiko Stuebner <heiko@sntech.de>
19 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
20 +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
22 spi-max-frequency = <104000000>;
23 spi-rx-bus-width = <4>;
24 spi-tx-bus-width = <1>;
25 + vcc-supply = <&vcc_3v3_s3>;