arm64: dts: rockchip: add spiflash node to rk3399-khadas-edge
authorArtem Lapkin <email2tema@gmail.com>
Wed, 23 Sep 2020 13:08:22 +0000 (21:08 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 23 Sep 2020 13:37:35 +0000 (15:37 +0200)
The Khadas Edge Boards uses winbond - w25q128 spi flash with 104Mhz

Signed-off-by: Artem Lapkin <art@khadas.com>
Link: https://lore.kernel.org/r/20200923130823.1612533-2-art@khadas.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi

index e36837c..c674205 100644 (file)
        status = "okay";
 };
 
+&spi1 {
+       status = "okay";
+
+       spiflash: flash@0 {
+               compatible = "winbond,w25q128fw", "jedec,spi-nor";
+               reg = <0>;
+               spi-max-frequency = <104000000>;
+       };
+};
+
 &tcphy0 {
        status = "okay";
 };