ARM: Dove: Add CuBox pinhog for led
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 19 Nov 2012 09:39:56 +0000 (10:39 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sat, 24 Nov 2012 02:57:27 +0000 (02:57 +0000)
SolidRun CuBox has a led on a gpio pin. As there is now DT pinctrl
support for Dove, make use of a pinhog to ensure the pin is set to
gpio.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/dove-cubox.dts

index 0adbd5a..fed7d3f 100644 (file)
                reg = <0>;
        };
 };
+
+&pinctrl {
+       pinctrl-0 = <&pmx_gpio_18>;
+       pinctrl-names = "default";
+
+       pmx_gpio_18: pmx-gpio-18 {
+               marvell,pins = "mpp18";
+               marvell,function = "gpio";
+       };
+};