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,xm", "qca,ar7241";
10 model = "Ubiquiti Networks XM (rev 1.0) board";
13 compatible = "gpio-keys";
16 linux,code = <KEY_RESTART>;
17 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
18 debounce-interval = <60>;
33 compatible = "jedec,spi-nor";
35 spi-max-frequency = <25000000>;
38 compatible = "fixed-partitions";
44 reg = <0x000000 0x040000>;
50 reg = <0x040000 0x010000>;
54 compatible = "denx,uimage";
56 reg = <0x050000 0x750000>;
60 label = "board_config";
61 reg = <0x7a0000 0x010000>;
67 reg = <0x7b0000 0x040000>;
71 art: partition@7f0000 {
73 reg = <0x7f0000 0x010000>;
84 reg = <0x0000 0 0 0 0>;
92 mtd-mac-address = <&art 0x0>;
98 mtd-mac-address = <&art 0x6>;