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;
20 compatible = "gpio-export";
24 gpio-export,name = "microsd-detect";
25 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
29 gpio-export,name = "usb-alarm";
30 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
34 gpio-export,name = "usb-power";
35 gpio-export,output = <0>;
36 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys";
45 linux,code = <KEY_RESTART>;
46 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
47 debounce-interval = <60>;
52 compatible = "gpio-leds";
55 label = "blue:system";
56 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
57 linux,default-trigger = "phy0tpt";
65 nvmem-cells = <&macaddr_art_6>;
66 nvmem-cell-names = "mac-address";
72 compatible = "syscon", "simple-mfd";
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <50000000>;
85 compatible = "fixed-partitions";
91 reg = <0x000000 0x020000>;
97 reg = <0x020000 0xfd0000>;
98 compatible = "tplink,firmware";
101 art: partition@ff0000 {
103 reg = <0xff0000 0x010000>;
107 compatible = "fixed-layout";
108 #address-cells = <1>;
111 macaddr_art_6: macaddr@6 {
131 mtd-cal-data = <&art 0x1000>;