From: Emmanuel Vadot Date: Mon, 21 May 2018 11:54:26 +0000 (+0200) Subject: arm64: dts: allwinner: sun50i: h5: Add spi flash node for OrangePi PC2 X-Git-Tag: v5.15~8134^2~9^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6461315eabc47d3da310c8c2641da42b071c2563;p=platform%2Fkernel%2Flinux-starfive.git arm64: dts: allwinner: sun50i: h5: Add spi flash node for OrangePi PC2 The OrangePi PC2 have an mx25l1606e spi flash. Add a node for it. Signed-off-by: Emmanuel Vadot Signed-off-by: Maxime Ripard --- diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts index 98862c7..3e0d5a9c 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts @@ -207,6 +207,18 @@ status = "okay"; }; +&spi0 { + status = "okay"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + }; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>;