1/* 2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 3 * 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. 7 */ 8 9/* 10 * VScom OnRISC 11 * http://www.vscom.de 12 */ 13 14/*#include "am33xx.dtsi"*/ 15 16/ { 17 leds { 18 pinctrl-names = "default"; 19 pinctrl-0 = <&user_leds>; 20 21 compatible = "gpio-leds"; 22 23 power { 24 label = "onrisc:red:power"; 25 linux,default-trigger = "default-on"; 26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 27 default-state = "on"; 28 }; 29 wlan { 30 label = "onrisc:blue:wlan"; 31 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 32 default-state = "off"; 33 }; 34 app { 35 label = "onrisc:green:app"; 36 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; 37 default-state = "off"; 38 }; 39 }; 40}; 41 42&am33xx_pinmux { 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 */ 48 >; 49 }; 50}; 51