162306a36Sopenharmony_citwl4030 GPIO controller bindings 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired properties: 462306a36Sopenharmony_ci- compatible: 562306a36Sopenharmony_ci - "ti,twl4030-gpio" for twl4030 GPIO controller 662306a36Sopenharmony_ci- #gpio-cells : Should be two. 762306a36Sopenharmony_ci - first cell is the pin number 862306a36Sopenharmony_ci - second cell is used to specify optional parameters (unused) 962306a36Sopenharmony_ci- gpio-controller : Marks the device node as a GPIO controller. 1062306a36Sopenharmony_ci- #interrupt-cells : Should be 2. 1162306a36Sopenharmony_ci- interrupt-controller: Mark the device node as an interrupt controller 1262306a36Sopenharmony_ci The first cell is the GPIO number. 1362306a36Sopenharmony_ci The second cell is not used. 1462306a36Sopenharmony_ci- ti,use-leds : Enables LEDA and LEDB outputs if set 1562306a36Sopenharmony_ci- ti,debounce : if n-th bit is set, debounces GPIO-n 1662306a36Sopenharmony_ci- ti,mmc-cd : if n-th bit is set, GPIO-n controls VMMC(n+1) 1762306a36Sopenharmony_ci- ti,pullups : if n-th bit is set, set a pullup on GPIO-n 1862306a36Sopenharmony_ci- ti,pulldowns : if n-th bit is set, set a pulldown on GPIO-n 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ciExample: 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_citwl_gpio: gpio { 2362306a36Sopenharmony_ci compatible = "ti,twl4030-gpio"; 2462306a36Sopenharmony_ci #gpio-cells = <2>; 2562306a36Sopenharmony_ci gpio-controller; 2662306a36Sopenharmony_ci #interrupt-cells = <2>; 2762306a36Sopenharmony_ci interrupt-controller; 2862306a36Sopenharmony_ci ti,use-leds; 2962306a36Sopenharmony_ci}; 30