1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "ubnt,xw", "qca,ar9342";
10 model = "Ubiquiti Networks XW board";
13 compatible = "gpio-keys";
16 label = "Reset button";
17 linux,code = <KEY_RESTART>;
18 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
19 debounce-interval = <60>;
25 clock-frequency = <40000000>;
32 compatible = "jedec,spi-nor";
34 spi-max-frequency = <25000000>;
37 compatible = "fixed-partitions";
43 reg = <0x000000 0x040000>;
49 reg = <0x040000 0x010000>;
54 compatible = "denx,uimage";
56 reg = <0x050000 0x760000>;
61 reg = <0x7b0000 0x040000>;
65 art: partition@7f0000 {
67 reg = <0x7f0000 0x010000>;
71 compatible = "fixed-layout";
75 macaddr_art_0: macaddr@0 {
79 calibration_art_1000: calibration@1000 {
91 nvmem-cells = <&calibration_art_1000>;
92 nvmem-cell-names = "calibration";
96 nvmem-cells = <&macaddr_art_0>;
97 nvmem-cell-names = "mac-address";