ramips: mt7620a: convert to nvmem-layout
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_totolink_a3.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7628an_iptime.dtsi"
4
5 / {
6 compatible = "totolink,a3", "mediatek,mt7628an-soc";
7 model = "TOTOLINK A3";
8
9 aliases {
10 led-boot = &led_cpu;
11 led-failsafe = &led_cpu;
12 led-running = &led_cpu;
13 led-upgrade = &led_cpu;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_cpu: cpu {
20 label = "blue:cpu";
21 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
22 };
23
24 wlan {
25 label = "blue:wlan";
26 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
27 linux,default-trigger = "phy0tpt";
28 };
29 };
30 };
31
32 &esw {
33 mediatek,portmap = <0x3e>;
34 mediatek,portdisable = <0x32>;
35 };