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 "qca955x.dtsi"
10 compatible = "mikrotik,routerboard-922uags-5hpacd", "qca,qca9558";
11 model = "MikroTik RouterBOARD 922UAGS-5HPacD";
15 led-failsafe = &led_user;
16 led-upgrade = &led_user;
21 bootargs = "console=ttyS0,115200n8";
25 compatible = "gpio-leds";
28 label = "mikrotik:green:user";
29 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-leds";
37 label = "mikrotik:green:wlan5g";
38 gpios = <&ath10k 0 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "phy0tpt";
44 compatible = "gpio-keys";
48 linux,code = <KEY_RESTART>;
49 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
50 debounce-interval = <60>;
55 compatible = "gpio-export";
58 gpio-export,name = "mikrotik:power:usb";
59 gpio-export,output = <0>;
60 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
64 gpio-export,name = "mikrotik:power:nand";
65 gpio-export,output = <0>;
66 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
74 phy4: ethernet-phy@4 {
83 pll-data = <0x8f000000 0xa0000101 0xa0001313>;
95 compatible = "jedec,spi-nor";
97 spi-max-frequency = <25000000>;
100 compatible = "mikrotik,routerboot-partitions";
101 #address-cells = <1>;
105 label = "routerboot";
110 hard_config: hard_config {
127 nand-ecc-mode = "soft";
132 compatible = "fixed-partitions";
137 reg = <0x0000000 0x0040000>;
143 reg = <0x0040000 0x03c0000>;
148 reg = <0x0400000 0x7c00000>;
161 compatible = "qcom,ath10k";