diff mbox

ARM: dts: sun8i: acivate SPI on Orange Pi R1

Message ID 20180111215355.22182-1-hauke@hauke-m.de (mailing list archive)
State New, archived
Headers show

Commit Message

Hauke Mehrtens Jan. 11, 2018, 9:53 p.m. UTC
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 | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Maxime Ripard Jan. 15, 2018, 7:29 a.m. UTC | #1
On Thu, Jan 11, 2018 at 10:53:55PM +0100, Hauke Mehrtens wrote:
> This board has a SPI flash, activate it also in device tree by default.
> 
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Fixed the typo in the commit title and queued for 4.17, thanks!
Maxime
diff mbox

Patch

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,