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>
14 compatible = "unielec,u7621-06", "mediatek,mt7621-soc";
17 led-boot = &led_status;
18 led-failsafe = &led_status;
19 led-running = &led_status;
20 led-upgrade = &led_status;
24 bootargs = "console=ttyS0,115200";
28 compatible = "gpio-export";
32 gpio-export,name = "modem_reset";
33 gpio-export,output = <1>;
34 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
43 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 compatible = "gpio-leds";
52 label = "green:status";
53 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
58 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
63 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
79 phy-handle = <ðphy4>;
83 ethphy4: ethernet-phy@4 {
114 groups = "jtag", "uart2", "wdt";