1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright(c) 2017 Kristian Evensen <kristian.evensen@gmail.com>.
4 * Copyright(c) 2017 Piotr Dymacz <pepe2k@gmail.com>.
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/leds/common.h>
15 compatible = "unielec,u7621-06", "mediatek,mt7621-soc";
18 led-boot = &led_status;
19 led-failsafe = &led_status;
20 led-running = &led_status;
21 led-upgrade = &led_status;
25 bootargs = "console=ttyS0,115200";
29 compatible = "gpio-export";
33 gpio-export,name = "modem_reset";
34 gpio-export,output = <1>;
35 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-keys";
44 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
50 compatible = "gpio-leds";
53 function = LED_FUNCTION_STATUS;
54 color = <LED_COLOR_ID_GREEN>;
55 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
65 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
81 phy-handle = <ðphy4>;
85 /delete-property/ interrupts;
114 groups = "jtag", "uart2", "wdt";