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";
47 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
55 ralink,group = "gpio";
56 ralink,function = "gpio";
60 ralink,group = "refclk";
61 ralink,function = "gpio";
66 ralink,function = "gpio";
70 ralink,group = "spis";
71 ralink,function = "gpio";
75 ralink,group = "wled_an";
76 ralink,function = "gpio";
81 ralink,function = "gpio";
92 pinctrl-names = "default";
93 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
96 compatible = "jedec,spi-nor";
98 spi-max-frequency = <40000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
112 label = "u-boot-env";
113 reg = <0x30000 0x10000>;
116 factory: partition@40000 {
118 reg = <0x40000 0x10000>;
123 compatible = "denx,uimage";
125 reg = <0x50000 0x1fb0000>;
131 #address-cells = <1>;
133 compatible = "linux,spidev";
135 spi-max-frequency = <40000000>;
156 mtd-mac-address = <&factory 0x28>;