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";
24 color = <LED_COLOR_ID_BLUE>;
25 function = LED_FUNCTION_CPU;
26 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys";
35 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
45 compatible = "fixed-partitions";
57 reg = <0x80000 0xc0000>;
62 reg = <0x140000 0x7e40000>;
64 compatible = "fixed-partitions";
75 reg = <0x400000 0x7a40000>;
83 groups = "i2c", "wdt";
91 phy-handle = <ðphy0>;
95 ethphy0: ethernet-phy@0 {