Skip to content

Commit

Permalink
ARM: Dove: Add CuBox pinhog for led
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Hesselbarth authored and Jason Cooper committed Nov 24, 2012
1 parent 9139acd commit e7cd8f8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/dove-cubox.dts
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,13 @@
reg = <0>;
};
};

&pinctrl {
pinctrl-0 = <&pmx_gpio_18>;
pinctrl-names = "default";

pmx_gpio_18: pmx-gpio-18 {
marvell,pins = "mpp18";
marvell,function = "gpio";
};
};

0 comments on commit e7cd8f8

Please sign in to comment.