3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "mediatek,linkit-smart-7688", "mediatek,mt7628an-soc";
10 model = "MediaTek LinkIt Smart 7688";
14 led-failsafe = &led_wifi;
15 led-running = &led_wifi;
16 led-upgrade = &led_wifi;
20 bootargs = "console=ttyS2,57600";
28 compatible = "mediatek,linkit";
34 compatible = "gpio-leds";
37 label = "linkit-smart-7688:orange:wifi";
38 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys-polled";
48 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
55 state_default: pinctrl0 {
57 ralink,group = "gpio";
58 ralink,function = "gpio";
62 ralink,group = "refclk";
63 ralink,function = "gpio";
68 ralink,function = "gpio";
72 ralink,group = "spis";
73 ralink,function = "gpio";
77 ralink,group = "wled_an";
78 ralink,function = "gpio";
83 ralink,function = "gpio";
95 pinctrl-names = "default";
96 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <40000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
115 label = "u-boot-env";
116 reg = <0x30000 0x10000>;
119 factory: partition@40000 {
121 reg = <0x40000 0x10000>;
126 compatible = "denx,uimage";
128 reg = <0x50000 0x1fb0000>;
134 #address-cells = <1>;
136 compatible = "linux,spidev";
138 spi-max-frequency = <40000000>;
159 mtd-mac-address = <&factory 0x28>;