From d17f965410650065ea213d7a71a45619323e527e Mon Sep 17 00:00:00 2001 From: Christopher Obbard Date: Fri, 15 Mar 2024 12:01:18 +0000 Subject: [PATCH] arm: rockchip: sync ROCK Pi 4A DTS from Linux To prepare for ROCK Pi 4A SPI flash support, sync the DTS from Linux which includes an SPI flash node. Kernel tag: v6.6-rc1 Kernel commits: - eddf73029770 ("arm64: dts: rockchip: Enable internal SPI flash for ROCK \ Pi 4A/B/C") Reviewed-by: Kever Yang Signed-off-by: Christopher Obbard Reviewed-by: Jonas Karlman --- arch/arm/dts/rk3399-rock-pi-4a.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/rk3399-rock-pi-4a.dts b/arch/arm/dts/rk3399-rock-pi-4a.dts index 931334aa3d..d5df8939a6 100644 --- a/arch/arm/dts/rk3399-rock-pi-4a.dts +++ b/arch/arm/dts/rk3399-rock-pi-4a.dts @@ -12,3 +12,13 @@ model = "Radxa ROCK Pi 4A"; compatible = "radxa,rockpi4a", "radxa,rockpi4", "rockchip,rk3399"; }; + +&spi1 { + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <10000000>; + }; +}; -- 2.39.5