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 nvmem-cells = <&macaddr_factory_2e>;
62 nvmem-cell-names = "mac-address";
71 groups = "p0led_an", "wdt", "wled_an";
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <10000000>;
95 compatible = "fixed-partitions";
106 label = "u-boot-env";
107 reg = <0x30000 0x1000>;
112 reg = <0x31000 0xf000>;
116 factory: partition@40000 {
118 reg = <0x40000 0x10000>;
123 compatible = "denx,uimage";
125 reg = <0x50000 0x7b0000>;
134 mediatek,mtd-eeprom = <&factory 0x0>;
138 compatible = "nvmem-cells";
139 #address-cells = <1>;
142 macaddr_factory_2e: macaddr@2e {