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

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.netSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 893c1771
...@@ -12,3 +12,13 @@ / { ...@@ -12,3 +12,13 @@ / {
model = "Radxa ROCK Pi 4A"; model = "Radxa ROCK Pi 4A";
compatible = "radxa,rockpi4a", "radxa,rockpi4", "rockchip,rk3399"; compatible = "radxa,rockpi4a", "radxa,rockpi4", "rockchip,rk3399";
}; };
&spi1 {
status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
};
};
...@@ -31,6 +31,16 @@ brcmf: wifi@1 { ...@@ -31,6 +31,16 @@ brcmf: wifi@1 {
}; };
}; };
&spi1 {
status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
};
};
&uart0 { &uart0 {
status = "okay"; status = "okay";
......
...@@ -43,6 +43,16 @@ &sound { ...@@ -43,6 +43,16 @@ &sound {
hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; 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 { &uart0 {
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment