1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an_tplink_8m.dtsi"
6 compatible = "tplink,tl-mr6400-v5", "mediatek,mt7628an-soc";
7 model = "TP-Link TL-MR6400 v5";
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 compatible = "gpio-keys";
21 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RFKILL>;
33 compatible = "gpio-leds";
37 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
38 linux,default-trigger = "phy0tpt";
43 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
47 label = "white:power";
48 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
53 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
57 label = "white:signal1";
58 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
62 label = "white:signal2";
63 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
67 label = "white:signal3";
68 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
83 groups = "i2c", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "uart1", "wdt";
89 mediatek,portmap = <0x37>;
90 mediatek,portdisable = <0x30>;
94 mtd-mac-address = <&factory 0x1f100>;
98 mtd-mac-address = <&factory 0x1f100>;