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 model = "PQI Air-Pen";
11 compatible = "pqi,air-pen", "qca,ar9330";
21 compatible = "gpio-leds";
24 label = "air-pen:blue:wlan";
25 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
26 linux,default-trigger = "phy0tpt";
30 label = "air-pen:blue:wps";
31 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
36 compatible = "gpio-keys";
40 linux,code = <KEY_WPS_BUTTON>;
41 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
42 debounce-interval = <60>;
47 linux,code = <KEY_RESTART>;
48 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
49 debounce-interval = <60>;
76 compatible = "jedec,spi-nor";
77 spi-max-frequency = <104000000>;
81 compatible = "fixed-partitions";
87 reg = <0x000000 0x040000>;
93 reg = <0x040000 0x010000>;
96 art: partition@50000 {
98 reg = <0x050000 0x010000>;
104 reg = <0x060000 0x010000>;
109 compatible = "denx,uimage";
111 reg = <0x070000 0x780000>;
116 reg = <0x7f0000 0x010000>;
126 mtd-mac-address = <&art 0x1002>;
131 switch-phy-addr-swap = <0>;
132 switch-phy-swap = <0>;
138 compatible = "syscon", "simple-mfd";
143 mtd-cal-data = <&art 0x1000>;
144 mtd-mac-address = <&art 0x2>;