summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-01-11 22:53:55 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-02-12 19:34:13 +0100
commit70f4ce3b4ee263a3ace0e4d70fd7542ab388070b (patch)
treecdbb0766aba1150aae10c5165187bf19cc1d8429
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
downloadlinux-70f4ce3b4ee263a3ace0e4d70fd7542ab388070b.tar.bz2
ARM: dts: sun8i: activate SPI on Orange Pi R1
This board has a SPI flash, activate it also in device tree by default. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/sun8i-h2-plus-orangepi-r1.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-r1.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-r1.dts
index 112f09c67d67..3356f4210d45 100644
--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-r1.dts
+++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-r1.dts
@@ -68,6 +68,14 @@
};
};
+&spi0 {
+ status = "okay";
+
+ flash@0 {
+ compatible = "mxicy,mx25l12805d", "jedec,spi-nor";
+ };
+};
+
&ohci1 {
/*
* RTL8152B USB-Ethernet adapter is connected to USB1,