]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: rockchip: sync ROCK Pi 4A DTS from Linux
authorChristopher Obbard <chris.obbard@collabora.com>
Fri, 15 Mar 2024 12:01:18 +0000 (12:01 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 26 Apr 2024 07:47:05 +0000 (15:47 +0800)
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 <kever.yang@rock-chips.com>
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
Reviewed-by: Jonas Karlman <jonas@kwiboo.se>
arch/arm/dts/rk3399-rock-pi-4a.dts

index 931334aa3d62788a7650b28b6b616429f60cd5a7..d5df8939a65819b2fe764c8fb004fb1757110df9 100644 (file)
        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>;
+       };
+};