1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
8 compatible = "hak5,wifi-pineapple-mk7", "mediatek,mt7628an-soc";
9 model = "Hak5 WiFi Pineapple Mark 7";
12 led-boot = &led_system_blue;
13 led-failsafe = &led_system_blue;
14 led-upgrade = &led_system_blue;
18 compatible = "gpio-leds";
22 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
26 label = "green:system";
27 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
30 led_system_blue: system_blue {
31 label = "blue:system";
32 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
33 linux,default-trigger = "phy0tpt";
38 compatible = "gpio-keys";
42 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
48 compatible = "gpio-export";
52 gpio-export,name = "usb-power";
53 gpio-export,output = <1>;
54 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
59 compatible = "ralink,mt7620-sdhci";
60 reg = <0x10130000 4000>;
62 interrupt-parent = <&intc>;
71 groups = "gpio", "i2c", "i2s";
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <50000000>;
85 compatible = "fixed-partitions";
97 reg = <0x30000 0x10000>;
101 factory: partition@40000 {
103 reg = <0x40000 0x10000>;
108 compatible = "denx,uimage";
110 reg = <0x50000 0x1fb0000>;
119 mtd-mac-address = <&factory 0x4>;