1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an_xiaomi_mi-router-4.dtsi"
6 compatible = "xiaomi,mi-router-4c", "mediatek,mt7628an-soc";
7 model = "Xiaomi Mi Router 4C";
10 led-boot = &led_power_yellow;
11 led-failsafe = &led_power_yellow;
12 led-running = &led_power_blue;
13 led-upgrade = &led_power_yellow;
14 label-mac-device = ðernet;
18 compatible = "gpio-leds";
20 led_power_blue: power_blue {
22 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
25 led_power_yellow: power_yellow {
26 label = "yellow:power";
27 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
40 spi-max-frequency = <40000000>;
46 reg = <0x60000 0x100000>;
52 reg = <0x160000 0xea0000>;
53 compatible = "denx,uimage";
66 nvmem-cells = <&macaddr_factory_28>;
67 nvmem-cell-names = "mac-address";
71 mediatek,portmap = <0x3d>;
72 mediatek,portdisable = <0x29>;