#include <dt-bindings/input/input.h>
/ {
- compatible = "mediatek,linkit", "mediatek,mt7628an-soc";
+ compatible = "mediatek,linkit-smart-7688", "mediatek,mt7628an-soc";
model = "MediaTek LinkIt Smart 7688";
chosen {
compatible = "gpio-leds";
wifi {
- label = "mediatek:orange:wifi";
- gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>;
- default-state = "on";
+ label = "linkit-smart-7688:orange:wifi";
+ gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
};
};
linux,code = <KEY_WPS_BUTTON>;
};
};
-
- wgpio: gpio-wifi {
- compatible = "mediatek,gpio-wifi";
- #address-cells = <1>;
- #size-cells = <0>;
- gpio-controller;
- #gpio-cells = <2>;
- };
};
&pinctrl {
ralink,function = "gpio";
};
- perst {
- ralink,group = "perst";
- ralink,function = "gpio";
- };
-
refclk {
ralink,group = "refclk";
ralink,function = "gpio";
ralink,function = "gpio";
};
- wled_kn {
- ralink,group = "wled_kn";
- ralink,function = "gpio";
- };
-
wled_an {
ralink,group = "wled_an";
- ralink,function = "wled_an";
+ ralink,function = "gpio";
};
wdt {