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 default-state = "off";
27 linux,default-trigger = "phy0tpt";
31 label = "air-pen:blue:wps";
32 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
33 default-state = "off";
38 compatible = "gpio-keys-polled";
39 poll-interval = <100>;
43 linux,code = <KEY_WPS_BUTTON>;
44 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
45 debounce-interval = <60>;
50 linux,code = <KEY_RESTART>;
51 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
52 debounce-interval = <60>;
79 compatible = "jedec,spi-nor";
80 spi-max-frequency = <104000000>;
84 compatible = "fixed-partitions";
90 reg = <0x000000 0x040000>;
96 reg = <0x040000 0x010000>;
99 art: partition@50000 {
101 reg = <0x050000 0x010000>;
107 reg = <0x060000 0x010000>;
113 reg = <0x070000 0x780000>;
118 reg = <0x7f0000 0x010000>;
128 mtd-mac-address = <&art 0x1002>;
133 switch-phy-addr-swap = <0>;
134 switch-phy-swap = <0>;
140 compatible = "syscon", "simple-mfd";
145 mtd-cal-data = <&art 0x1000>;
146 mtd-mac-address = <&art 0x2>;