ARM: dts: sun7i: Enable the SPI controllers of the A20-olinuxino-micro
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 22 Feb 2014 21:35:59 +0000 (22:35 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 24 Feb 2014 09:02:58 +0000 (10:02 +0100)
The A20-Olinuxino-micro has two SPI bus exposed on its UEXT connectors, enable
them.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts

index b02a796b2eaf4eb9d6a3ec277d200a6e7af3beb7..9d98316c9928cf6c5ecb232da686575569ea35f1 100644 (file)
        model = "Olimex A20-Olinuxino Micro";
        compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";
 
+       aliases {
+               spi0 = &spi1;
+               spi1 = &spi2;
+       };
+
        soc@01c00000 {
+               spi1: spi@01c06000 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&spi1_pins_a>;
+                       status = "okay";
+               };
+
+               spi2: spi@01c17000 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&spi2_pins_a>;
+                       status = "okay";
+               };
+
                pinctrl@01c20800 {
                        led_pins_olinuxino: led_pins@0 {
                                allwinner,pins = "PH2";