diff options
author | Samuel Holland <samuel@sholland.org> | 2018-07-30 13:31:29 +0100 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2018-08-27 15:42:54 +0800 |
commit | d817442236e5fb861dac720d03048728e055f0f4 (patch) | |
tree | 55cbdad7f33ce62dbfc99c2deb737d4856b30362 /arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | |
parent | 64971e5ad5da2da78c0888a0e208c430c8aefaef (diff) | |
download | linux-d817442236e5fb861dac720d03048728e055f0f4.tar.bz2 |
arm64: dts: allwinner: a64: Orange Pi Win: Add SPI flash node
The Orange Pi Win comes with 2 MB SPI flash, add the node.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts')
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts index 3473671755fc..58e6b8cbd7d1 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts @@ -279,6 +279,18 @@ vcc-hdmi-supply = <®_dldo1>; }; +&spi0 { + status = "okay"; + + spi-flash@0 { + compatible = "mxicy,mx25l1606e", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <80000000>; + m25p,fast-read; + status = "okay"; + }; +}; + /* On debug connector */ &uart0 { pinctrl-names = "default"; |