1 #include "mt7628an.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "widora,neo", "mediatek,mt7628an-soc";
11 led-failsafe = &led_wifi;
12 led-running = &led_wifi;
13 led-upgrade = &led_wifi;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-leds";
24 label = "orange:wifi";
25 gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>;
31 compatible = "gpio-keys";
35 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_WPS_BUTTON>;
41 compatible = "mediatek,gpio-wifi";
52 pinctrl-names = "default";
53 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <40000000>;
61 compatible = "fixed-partitions";
73 reg = <0x30000 0x10000>;
76 factory: partition@40000 {
78 reg = <0x40000 0x10000>;
82 firmware: partition@50000 {
83 compatible = "denx,uimage";
85 /* reg property is set based on flash size in DTS files */
93 compatible = "linux,spidev";
95 spi-max-frequency = <40000000>;
132 function = "wled_an";
158 nvmem-cells = <&macaddr_factory_28>;
159 nvmem-cell-names = "mac-address";
170 mediatek,mtd-eeprom = <&factory 0x0>;
174 compatible = "nvmem-cells";
175 #address-cells = <1>;
178 macaddr_factory_28: macaddr@28 {