1 #include "mt7628an.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "mediatek,linkit-smart-7688", "mediatek,mt7628an-soc";
8 model = "MediaTek LinkIt Smart 7688";
12 led-failsafe = &led_wifi;
13 led-running = &led_wifi;
14 led-upgrade = &led_wifi;
18 bootargs = "console=ttyS2,57600";
26 compatible = "mediatek,linkit";
32 compatible = "gpio-leds";
35 label = "orange:wifi";
36 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys";
45 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <40000000>;
95 compatible = "fixed-partitions";
106 label = "u-boot-env";
107 reg = <0x30000 0x10000>;
110 factory: partition@40000 {
112 reg = <0x40000 0x10000>;
117 compatible = "denx,uimage";
119 reg = <0x50000 0x1fb0000>;
125 #address-cells = <1>;
127 compatible = "linux,spidev";
129 spi-max-frequency = <40000000>;
150 nvmem-cells = <&macaddr_factory_2e>;
151 nvmem-cell-names = "mac-address";
162 mediatek,mtd-eeprom = <&factory 0x0>;
166 compatible = "nvmem-cells";
167 #address-cells = <1>;
170 macaddr_factory_2e: macaddr@2e {