2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
14 /*#include "am33xx.dtsi"*/
18 pinctrl-names = "default";
19 pinctrl-0 = <&user_leds>;
21 compatible = "gpio-leds";
24 label = "onrisc:red:power";
25 linux,default-trigger = "default-on";
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
30 label = "onrisc:blue:wlan";
31 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
32 default-state = "off";
35 label = "onrisc:green:app";
36 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
37 default-state = "off";
43 user_leds: pinmux_user_leds {
44 pinctrl-single,pins = <
45 AM33XX_IOPAD(0x908, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* mii1_col.gpio3_0 PWR LED */
46 AM33XX_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* mii1_txd3.gpio0_16 WLAN LED */
47 AM33XX_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* mii1_txd2.gpio0_17 APP LED */