1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca9557.dtsi"
10 compatible = "mikrotik,routerboard-922uags-5hpacd", "qca,qca9558";
11 model = "MikroTik RouterBOARD 922UAGS-5HPacD";
14 label-mac-device = ð0;
16 led-failsafe = &led_user;
17 led-upgrade = &led_user;
22 bootargs = "console=ttyS0,115200n8";
26 compatible = "gpio-leds";
29 label = "mikrotik:green:user";
30 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-leds";
38 label = "mikrotik:green:wlan5g";
39 gpios = <&ath10k 0 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy0tpt";
45 compatible = "gpio-keys";
49 linux,code = <KEY_RESTART>;
50 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
51 debounce-interval = <60>;
56 compatible = "gpio-export";
59 gpio-export,name = "mikrotik:power:usb";
60 gpio-export,output = <0>;
61 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
65 gpio-export,name = "mikrotik:power:nand";
66 gpio-export,output = <0>;
67 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
75 phy4: ethernet-phy@4 {
83 mtd-mac-address = <&hard_config 0x10>;
85 pll-data = <0x8f000000 0xa0000101 0xa0001313>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <25000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
107 label = "routerboot";
108 reg = <0x0000000 0x000c000>;
112 hard_config: partition@c000 {
113 label = "hard_config";
114 reg = <0x000c000 0x0001000>;
120 reg = <0x000d000 0x0001000>;
125 label = "soft_config";
126 reg = <0x000e000 0x0001000>;
136 nand-ecc-mode = "soft";
141 compatible = "fixed-partitions";
146 reg = <0x0000000 0x0040000>;
152 reg = <0x0040000 0x03c0000>;
157 reg = <0x0400000 0x7c00000>;
170 compatible = "qcom,ath10k";