Commit eddf7302 authored by Stefan Nagy's avatar Stefan Nagy Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: Enable internal SPI flash for ROCK Pi 4A/B/C



The ROCK Pi 4A, ROCK Pi 4B and ROCK Pi 4C boards contain a nor-flash chip
connected to spi1. Enable spi1 and add the device node.

This patch has been tested on ROCK Pi 4A.

Signed-off-by: default avatarStefan Nagy <stefan.nagy@ixypsilon.net>
Link: https://lore.kernel.org/r/20230811201118.15066-1-stefan.nagy@ixypsilon.net


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 893c1771
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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>;
	};
};
+10 −0
Original line number Diff line number Diff line
@@ -31,6 +31,16 @@
	};
};

&spi1 {
	status = "okay";

	flash@0 {
		compatible = "jedec,spi-nor";
		reg = <0>;
		spi-max-frequency = <10000000>;
	};
};

&uart0 {
	status = "okay";

+10 −0
Original line number Diff line number Diff line
@@ -43,6 +43,16 @@
	hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
};

&spi1 {
	status = "okay";

	flash@0 {
		compatible = "jedec,spi-nor";
		reg = <0>;
		spi-max-frequency = <10000000>;
	};
};

&uart0 {
	status = "okay";