]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
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 112f09c67d67011f8754a21d118d630d4ac97805..3356f4210d45b4e055d61f29ef72fad0238045fc 100644 (file)
        };
 };
 
+&spi0 {
+       status = "okay";
+
+       flash@0 {
+               compatible = "mxicy,mx25l12805d", "jedec,spi-nor";
+       };
+};
+
 &ohci1 {
        /*
         * RTL8152B USB-Ethernet adapter is connected to USB1,