arm64: dts: rockchip: Enable MTD Flash on rk3399-roc-pc
authorMarkus Reichl <m.reichl@fivetechno.de>
Mon, 18 Nov 2019 12:44:54 +0000 (13:44 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 9 Dec 2019 08:44:23 +0000 (09:44 +0100)
rk3399-roc-pc has 16 MB SPI NOR Flash, enable it.

Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
Link: https://lore.kernel.org/r/94f44e1d-86c6-1e32-aa63-56edbd7d75f5@fivetechno.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi

index 0b3a0b9..9a1ce3a 100644 (file)
        status = "okay";
 };
 
+&spi1 {
+       status = "okay";
+
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               reg = <0>;
+               spi-max-frequency = <10000000>;
+       };
+};
+
 &tcphy0 {
        status = "okay";
 };