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-polled";
37 poll-interval = <100>;
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>;
77 compatible = "jedec,spi-nor";
78 spi-max-frequency = <104000000>;
82 compatible = "fixed-partitions";
88 reg = <0x000000 0x040000>;
94 reg = <0x040000 0x010000>;
97 art: partition@50000 {
99 reg = <0x050000 0x010000>;
105 reg = <0x060000 0x010000>;
110 compatible = "denx,uimage";
112 reg = <0x070000 0x780000>;
117 reg = <0x7f0000 0x010000>;
127 mtd-mac-address = <&art 0x1002>;
132 switch-phy-addr-swap = <0>;
133 switch-phy-swap = <0>;
139 compatible = "syscon", "simple-mfd";
144 mtd-cal-data = <&art 0x1000>;
145 mtd-mac-address = <&art 0x2>;