ramips: add support for Sercomm CPJ routers
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_asus_rt-ac1200.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 // Copyright (c) 2022 Ray Wang
3 // Copyright (c) 2022 Ivan Pavlov
4
5 #include "mt7628an_asus_rt-ac1200.dtsi"
6
7 / {
8 compatible = "asus,rt-ac1200", "mediatek,mt7628an-soc";
9 model = "Asus RT-AC1200";
10
11 leds {
12 compatible = "gpio-leds";
13
14 usb {
15 label = "blue:usb";
16 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
17 trigger-sources = <&ohci_port1>, <&ehci_port1>;
18 linux,default-trigger = "usbport";
19 };
20 };
21 };
22
23 &state_default {
24 gpio {
25 groups = "i2c", "spi cs1", "refclk", "wled_an";
26 function = "gpio";
27 };
28 };