1 #include "mt7628an.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "tama,w06", "mediatek,mt7628an-soc";
12 compatible = "gpio-leds";
15 function = LED_FUNCTION_WPS;
16 color = <LED_COLOR_ID_GREEN>;
17 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
21 function = LED_FUNCTION_WAN;
22 color = <LED_COLOR_ID_GREEN>;
23 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
27 function = LED_FUNCTION_WLAN;
28 color = <LED_COLOR_ID_GREEN>;
29 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys";
38 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
45 nvmem-cells = <&macaddr_factory_28>;
46 nvmem-cell-names = "mac-address";
51 groups = "uart1", "p0led_an", "wdt";
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
65 compatible = "fixed-partitions";
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
87 compatible = "fixed-layout";
91 eeprom_factory_0: eeprom@0 {
95 macaddr_factory_28: macaddr@28 {
102 compatible = "denx,uimage";
104 reg = <0x50000 0xeb0000>;
109 reg = <0xf00000 0x100000>;
119 nvmem-cells = <&eeprom_factory_0>;
120 nvmem-cell-names = "eeprom";