mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
ARM: dts: omap3-igep0020: add mux conf for GPIO LEDs
The IGEPv2 has a number of GPIO LED connected to OMAP pins. Configure these pins as output GPIO. Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Tested-by: Enric Balletbo i Serra <eballetbo@iseebcn.com> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
This commit is contained in:
parent
00964a9072
commit
bd52e2d274
1 changed files with 11 additions and 0 deletions
|
@ -16,7 +16,10 @@ / {
|
||||||
compatible = "isee,omap3-igep0020", "ti,omap3";
|
compatible = "isee,omap3-igep0020", "ti,omap3";
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&leds_pins>;
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
boot {
|
boot {
|
||||||
label = "omap3:green:boot";
|
label = "omap3:green:boot";
|
||||||
gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
|
||||||
|
@ -54,6 +57,14 @@ vdd33a: regulator-vdd33a {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&leds_pins {
|
||||||
|
pinctrl-single,pins = <
|
||||||
|
0x5c4 (PIN_OUTPUT | MUX_MODE4) /* etk_d12.gpio_26 */
|
||||||
|
0x5c6 (PIN_OUTPUT | MUX_MODE4) /* etk_d13.gpio_27 */
|
||||||
|
0x5c8 (PIN_OUTPUT | MUX_MODE4) /* etk_d14.gpio_28 */
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
&i2c3 {
|
&i2c3 {
|
||||||
clock-frequency = <100000>;
|
clock-frequency = <100000>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue