ath79: add support for Qxwlan E600G v2 / E600GAC v2
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_mikrotik_routerboard-922uags-5hpacd.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9558_mikrotik_routerboard-92x.dtsi"
4
5 / {
6 compatible = "mikrotik,routerboard-922uags-5hpacd", "qca,qca9558";
7 model = "MikroTik RouterBOARD 922UAGS-5HPacD";
8
9 ath10k-leds {
10 compatible = "gpio-leds";
11
12 wlan5g {
13 label = "green:wlan5g";
14 gpios = <&ath10k 0 GPIO_ACTIVE_LOW>;
15 linux,default-trigger = "phy0tpt";
16 };
17 };
18
19 gpio-export {
20 gpio_usb_power {
21 gpio-export,name = "mikrotik:power:usb";
22 gpio-export,output = <0>;
23 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
24 };
25 };
26 };
27
28 &pcie0 {
29 status = "okay";
30
31 ath10k: wifi@0,0 {
32 compatible = "qcom,ath10k";
33 reg = <0 0 0 0 0>;
34 #gpio-cells = <2>;
35 gpio-controller;
36 };
37 };
38
39 &pcie1 {
40 status = "okay";
41 };
42
43 &usb0 {
44 status = "okay";
45 };
46
47 &usb_phy0 {
48 status = "okay";
49 };