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 device_type = "memory";
29 reg = <0x0 0x8000000>;
33 compatible = "mediatek,linkit";
39 compatible = "gpio-leds";
42 label = "linkit-smart-7688:orange:wifi";
43 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
48 compatible = "gpio-keys-polled";
53 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_WPS_BUTTON>;
60 state_default: pinctrl0 {
62 ralink,group = "gpio";
63 ralink,function = "gpio";
67 ralink,group = "refclk";
68 ralink,function = "gpio";
73 ralink,function = "gpio";
77 ralink,group = "spis";
78 ralink,function = "gpio";
82 ralink,group = "wled_an";
83 ralink,function = "gpio";
88 ralink,function = "gpio";
100 pinctrl-names = "default";
101 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
104 compatible = "jedec,spi-nor";
106 spi-max-frequency = <40000000>;
109 compatible = "fixed-partitions";
110 #address-cells = <1>;
120 label = "u-boot-env";
121 reg = <0x30000 0x10000>;
124 factory: partition@40000 {
126 reg = <0x40000 0x10000>;
131 compatible = "denx,uimage";
133 reg = <0x50000 0x1fb0000>;
139 #address-cells = <1>;
141 compatible = "linux,spidev";
143 spi-max-frequency = <40000000>;
164 mtd-mac-address = <&factory 0x28>;