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>
10 compatible = "qca,ar7242";
11 model = "Ubiquiti Networks SW board";
14 bootargs = "console=ttyS0,115200n8";
19 led-failsafe = &led_usr;
20 led-running = &led_usr;
21 led-upgrade = &led_usr;
25 compatible = "gpio-leds";
28 label = "ubnt:yellow:usr";
29 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
34 compatible = "gpio-keys";
37 linux,code = <KEY_RESTART>;
38 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
39 debounce-interval = <60>;
44 compatible = "spi-gpio";
45 #address-cells = <0x1>;
48 sck-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
49 mosi-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
50 cs-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
51 num-chipselects = <1>;
53 gpio_hc595: gpio_spi@0 {
54 compatible = "fairchild,74hc595";
56 registers-number = <2>;
57 spi-max-frequency = <100000>;
58 enable-gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <25000000>;
78 compatible = "fixed-partitions";
83 reg = <0x000000 0x040000>;
89 reg = <0x040000 0x010000>;
95 compatible = "denx,uimage";
96 reg = <0x050000 0x760000>;
101 reg = <0x7b0000 0x040000>;
106 art: partition@7f0000 {
107 reg = <0x7f0000 0x010000>;
120 #address-cells = <1>;
126 #trigger-source-cells = <0>;
141 mtd-mac-address = <&art 0x6>;