1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (C) 2018 Piotr Dymacz <pepe2k@gmail.com>
7 #include "mt7628an.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
13 compatible = "alfa-network,awusfree1", "mediatek,mt7628an-soc";
14 model = "ALFA Network AWUSFREE1";
17 led-boot = &led_system;
18 led-failsafe = &led_system;
19 led-running = &led_system;
20 led-upgrade = &led_system;
24 bootargs = "console=ttyS0,115200";
28 compatible = "gpio-keys";
32 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
38 compatible = "gpio-leds";
41 label = "orange:system";
42 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
57 mediatek,portdisable = <0x1e>;
61 mtd-mac-address = <&factory 0x2e>;
70 groups = "p0led_an", "wdt", "wled_an";
89 compatible = "jedec,spi-nor";
91 spi-max-frequency = <10000000>;
94 compatible = "fixed-partitions";
105 label = "u-boot-env";
106 reg = <0x30000 0x1000>;
111 reg = <0x31000 0xf000>;
115 factory: partition@40000 {
117 reg = <0x40000 0x10000>;
122 compatible = "denx,uimage";
124 reg = <0x50000 0x7b0000>;