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 bootargs = "console=ttyS2,57600";
21 device_type = "memory";
22 reg = <0x0 0x8000000>;
26 compatible = "mediatek,linkit";
32 compatible = "gpio-leds";
35 label = "linkit-smart-7688:orange:wifi";
36 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
41 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>;
101 compatible = "jedec,spi-nor";
103 spi-max-frequency = <40000000>;
104 m25p,chunked-io = <31>;
113 label = "u-boot-env";
114 reg = <0x30000 0x10000>;
117 factory: partition@40000 {
119 reg = <0x40000 0x10000>;
125 reg = <0x50000 0x1fb0000>;
130 #address-cells = <1>;
132 compatible = "linux,spidev";
134 spi-max-frequency = <40000000>;
155 mtd-mac-address = <&factory 0x28>;