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>
7 #include <dt-bindings/leds/common.h>
10 model = "PQI Air-Pen";
11 compatible = "pqi,air-pen", "qca,ar9330";
15 led-failsafe = &led_wlan;
16 led-upgrade = &led_wlan;
20 compatible = "gpio-leds";
23 function = LED_FUNCTION_WLAN;
24 color = <LED_COLOR_ID_BLUE>;
25 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
26 linux,default-trigger = "phy0tpt";
30 function = LED_FUNCTION_WPS;
31 color = <LED_COLOR_ID_BLUE>;
32 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
37 compatible = "gpio-keys";
41 linux,code = <KEY_WPS_BUTTON>;
42 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
43 debounce-interval = <60>;
48 linux,code = <KEY_RESTART>;
49 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
50 debounce-interval = <60>;
68 compatible = "jedec,spi-nor";
69 spi-max-frequency = <50000000>;
73 compatible = "fixed-partitions";
79 reg = <0x000000 0x040000>;
85 reg = <0x040000 0x010000>;
88 art: partition@50000 {
90 reg = <0x050000 0x010000>;
94 compatible = "fixed-layout";
98 macaddr_art_2: macaddr@2 {
102 macaddr_art_1002: macaddr@1002 {
110 reg = <0x060000 0x010000>;
115 compatible = "denx,uimage";
117 reg = <0x070000 0x780000>;
122 reg = <0x7f0000 0x010000>;
132 nvmem-cells = <&macaddr_art_1002>;
133 nvmem-cell-names = "mac-address";
138 switch-phy-addr-swap = <0>;
139 switch-phy-swap = <0>;
146 compatible = "syscon", "simple-mfd";
152 mtd-cal-data = <&art 0x1000>;
153 nvmem-cells = <&macaddr_art_2>;
154 nvmem-cell-names = "mac-address";