1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
9 compatible = "ubnt,xw", "qca,ar9342";
10 model = "Ubiquiti Networks XW board";
13 compatible = "gpio-leds";
16 label = "ubnt:red:link1";
17 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
21 label = "ubnt:orange:link2";
22 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
26 label = "ubnt:green:link3";
27 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
31 label = "ubnt:green:link4";
32 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys";
40 label = "Reset button";
41 linux,code = <KEY_RESTART>;
42 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
43 debounce-interval = <60>;
49 clock-frequency = <40000000>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <25000000>;
70 compatible = "fixed-partitions";
76 reg = <0x000000 0x040000>;
82 reg = <0x040000 0x010000>;
87 compatible = "denx,uimage";
89 reg = <0x050000 0x760000>;
94 reg = <0x7b0000 0x040000>;
98 eeprom: partition@ff0000 {
100 reg = <0x7f0000 0x010000>;
110 mtd-cal-data = <&eeprom 0x1000>;
111 mtd-mac-address = <&eeprom 0x1002>;