| // SPDX-License-Identifier: GPL-2.0 |
| * Copyright (C) 2016 PHYTEC Messtechnik |
| * Author: Christian Hemp <c.hemp@phytec.de> |
| #include <dt-bindings/input/input.h> |
| pinctrl-names = "default"; |
| pinctrl-0 = <&pinctrl_gpio_keys>; |
| gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; |
| linux,code = <KEY_POWER>; |
| compatible = "gpio-leds"; |
| pinctrl-names = "default"; |
| pinctrl-0 = <&pinctrl_user_leds>; |
| gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; |
| linux,default-trigger = "gpio"; |
| gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; |
| linux,default-trigger = "gpio"; |
| pinctrl_gpio_keys: gpio_keysgrp { |
| MX6UL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x79 |
| pinctrl_user_leds: user_ledsgrp { |
| MX6UL_PAD_JTAG_MOD__GPIO1_IO10 0x79 |
| MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0x79 |