]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: sun4i: dt: cubieboard: Enable SPI0
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Mon, 8 Dec 2014 10:14:02 +0000 (04:14 -0600)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 21 Jan 2015 08:58:51 +0000 (09:58 +0100)
Only SPI0 is enabled, as the schematic denotes it as the only SPI bus,
while other pins are reserved for different peripherals.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10-cubieboard.dts

index 6a310da53f185bb961b30b4977d7cf17d1f9f634..140e3ee0c15f404a256e146dd67995311ef69f9b 100644 (file)
                        pinctrl-0 = <&i2c1_pins_a>;
                        status = "okay";
                };
+
+               spi0: spi@01c05000 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&spi0_pins_a>;
+                       status = "okay";
+               };
        };
 
        leds {