1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an_tplink_8m.dtsi"
6 compatible = "tplink,tl-mr6400-v4", "mediatek,mt7628an-soc";
7 model = "TP-Link TL-MR6400 v4";
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";
36 label = "white:power";
37 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "phy0tpt";
53 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
57 label = "white:signal1";
58 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
62 label = "white:signal2";
63 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
67 label = "white:signal3";
68 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
75 groups = "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "refclk", "uart1", "wdt", "wled_an";
81 mediatek,portmap = <0x2f>;
82 mediatek,portdisable = <0x21>;
86 nvmem-cells = <&macaddr_factory_1f100>;
87 nvmem-cell-names = "mac-address";
91 nvmem-cells = <&macaddr_factory_1f100>;
92 nvmem-cell-names = "mac-address";
96 compatible = "nvmem-cells";
100 macaddr_factory_1f100: macaddr@1f100 {