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>
9 model = "Hak5 WiFi Pineapple NANO";
10 compatible = "hak5,wifi-pineapple-nano", "qca,ar9331";
13 label-mac-device = &wmac;
14 led-boot = &led_system;
15 led-failsafe = &led_system;
16 led-upgrade = &led_system;
21 compatible = "gpio-export";
25 gpio-export,name = "microsd-detect";
26 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
30 gpio-export,name = "usb-alarm";
31 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
35 gpio-export,name = "usb-power";
36 gpio-export,output = <0>;
37 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys";
46 linux,code = <KEY_RESTART>;
47 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
48 debounce-interval = <60>;
53 compatible = "gpio-leds";
56 label = "wifi-pineapple-nano:blue:system";
57 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";
66 mtd-mac-address = <&art 0x6>;
72 compatible = "syscon", "simple-mfd";
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <50000000>;
87 compatible = "fixed-partitions";
93 reg = <0x000000 0x020000>;
99 reg = <0x020000 0xfd0000>;
100 compatible = "tplink,firmware";
103 art: partition@ff0000 {
105 reg = <0xff0000 0x010000>;
127 mtd-cal-data = <&art 0x1000>;