1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "iptime,t5004", "mediatek,mt7621-soc";
11 model = "ipTIME T5004";
15 led-failsafe = &led_cpu;
16 led-running = &led_cpu;
17 led-upgrade = &led_cpu;
21 compatible = "gpio-leds";
25 color = <LED_COLOR_ID_BLUE>;
26 function = LED_FUNCTION_CPU;
27 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys";
36 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
46 compatible = "fixed-partitions";
58 reg = <0x80000 0xc0000>;
64 reg = <0x140000 0x7e40000>;
66 compatible = "fixed-partitions";
77 reg = <0x400000 0x7a40000>;
85 groups = "i2c", "wdt";
93 phy-handle = <ðphy0>;
97 ethphy0: ethernet-phy@0 {