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";
13 led-status = &led_wifi;
17 bootargs = "console=ttyS2,57600";
25 device_type = "memory";
26 reg = <0x0 0x8000000>;
30 compatible = "mediatek,linkit";
36 compatible = "gpio-leds";
39 label = "linkit-smart-7688:orange:wifi";
40 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys-polled";
50 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
57 state_default: pinctrl0 {
59 ralink,group = "gpio";
60 ralink,function = "gpio";
64 ralink,group = "refclk";
65 ralink,function = "gpio";
70 ralink,function = "gpio";
74 ralink,group = "spis";
75 ralink,function = "gpio";
79 ralink,group = "wled_an";
80 ralink,function = "gpio";
85 ralink,function = "gpio";
97 pinctrl-names = "default";
98 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
101 compatible = "jedec,spi-nor";
103 spi-max-frequency = <40000000>;
104 m25p,chunked-io = <31>;
107 compatible = "fixed-partitions";
108 #address-cells = <1>;
118 label = "u-boot-env";
119 reg = <0x30000 0x10000>;
122 factory: partition@40000 {
124 reg = <0x40000 0x10000>;
130 reg = <0x50000 0x1fb0000>;
136 #address-cells = <1>;
138 compatible = "linux,spidev";
140 spi-max-frequency = <40000000>;
161 mtd-mac-address = <&factory 0x28>;