1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "hak5,wifi-pineapple-mk7", "mediatek,mt7628an-soc";
10 model = "Hak5 WiFi Pineapple Mark 7";
13 led-boot = &led_system_blue;
14 led-failsafe = &led_system_blue;
15 led-upgrade = &led_system_blue;
19 compatible = "gpio-leds";
23 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
27 label = "green:system";
28 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
31 led_system_blue: system_blue {
32 label = "blue:system";
33 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
34 linux,default-trigger = "phy0tpt";
39 compatible = "gpio-keys";
43 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 compatible = "gpio-export";
53 gpio-export,name = "usb-power";
54 gpio-export,output = <1>;
55 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
60 compatible = "ralink,mt7620-sdhci";
61 reg = <0x10130000 4000>;
63 interrupt-parent = <&intc>;
72 groups = "gpio", "i2c", "i2s";
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <50000000>;
87 compatible = "fixed-partitions";
99 reg = <0x30000 0x10000>;
103 factory: partition@40000 {
105 reg = <0x40000 0x10000>;
110 compatible = "denx,uimage";
112 reg = <0x50000 0x1fb0000>;
121 nvmem-cells = <&macaddr_factory_4>;
122 nvmem-cell-names = "mac-address";
128 mediatek,mtd-eeprom = <&factory 0x0>;
132 compatible = "nvmem-cells";
133 #address-cells = <1>;
136 macaddr_factory_4: macaddr@4 {