ARM: dts: sun8i: activate SPI on Orange Pi R1
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 11 Jan 2018 21:53:55 +0000 (22:53 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 12 Feb 2018 18:34:13 +0000 (19:34 +0100)
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>
arch/arm/boot/dts/sun8i-h2-plus-orangepi-r1.dts

index 112f09c..3356f42 100644 (file)
        };
 };
 
+&spi0 {
+       status = "okay";
+
+       flash@0 {
+               compatible = "mxicy,mx25l12805d", "jedec,spi-nor";
+       };
+};
+
 &ohci1 {
        /*
         * RTL8152B USB-Ethernet adapter is connected to USB1,