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