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 = "qca,ar7242";
10 model = "Ubiquiti Networks SW board";
13 bootargs = "console=ttyS0,115200n8";
18 led-failsafe = &led_usr;
19 led-running = &led_usr;
20 led-upgrade = &led_usr;
24 compatible = "gpio-leds";
28 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
33 compatible = "gpio-keys";
36 linux,code = <KEY_RESTART>;
37 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
38 debounce-interval = <60>;
43 compatible = "spi-gpio";
44 #address-cells = <0x1>;
47 sck-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
48 mosi-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
49 cs-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
50 num-chipselects = <1>;
52 gpio_hc595: gpio_spi@0 {
53 compatible = "fairchild,74hc595";
55 registers-number = <2>;
56 spi-max-frequency = <100000>;
57 enable-gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <25000000>;
75 compatible = "fixed-partitions";
80 reg = <0x000000 0x040000>;
86 reg = <0x040000 0x010000>;
92 compatible = "denx,uimage";
93 reg = <0x050000 0x760000>;
98 reg = <0x7b0000 0x040000>;
103 art: partition@7f0000 {
104 reg = <0x7f0000 0x010000>;
117 #address-cells = <1>;
123 #trigger-source-cells = <0>;
134 mtd-mac-address = <&art 0x6>;