30 lines
748 B
Diff
30 lines
748 B
Diff
|
From 4a36ec1f82db3fa34d766dec5062b4de06b50f7f Mon Sep 17 00:00:00 2001
|
||
|
From: Hauke Mehrtens <hauke@hauke-m.de>
|
||
|
Date: Thu, 28 Dec 2017 14:11:36 +0100
|
||
|
Subject: [PATCH] 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>
|
||
|
---
|
||
|
arch/arm/boot/dts/sun8i-h2-plus-orangepi-r1.dts | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
--- 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,
|