diff options
author | Mathias Kresin <dev@kresin.me> | 2017-12-21 19:55:25 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-12-23 15:35:52 +0100 |
commit | c7776d4c552e1d2b10d111191376190c112a67e5 (patch) | |
tree | 5506b563fbea02aebe9ae12a9da17785f6cd0a70 /target/linux/ramips/dts | |
parent | 39e9bfb18199b046bd3b613002112e4e6dd53658 (diff) | |
download | upstream-c7776d4c552e1d2b10d111191376190c112a67e5.tar.gz upstream-c7776d4c552e1d2b10d111191376190c112a67e5.tar.bz2 upstream-c7776d4c552e1d2b10d111191376190c112a67e5.zip |
ramips: fix Linkit smart 7688 support
Use a more appropriate compatible string. Fix the wireless led GPIO and
add the default wireless trigger. Use the wireless LED for boot state
indication as well.
Remove the GPIO pinmux for pins not exposed on the board.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/LINKIT7688.dts | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/target/linux/ramips/dts/LINKIT7688.dts b/target/linux/ramips/dts/LINKIT7688.dts index f21ffcca66..a81a2d5a4c 100644 --- a/target/linux/ramips/dts/LINKIT7688.dts +++ b/target/linux/ramips/dts/LINKIT7688.dts @@ -6,7 +6,7 @@ #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 { @@ -32,9 +32,8 @@ 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>; }; }; @@ -50,14 +49,6 @@ linux,code = <KEY_WPS_BUTTON>; }; }; - - wgpio: gpio-wifi { - compatible = "mediatek,gpio-wifi"; - #address-cells = <1>; - #size-cells = <0>; - gpio-controller; - #gpio-cells = <2>; - }; }; &pinctrl { @@ -67,11 +58,6 @@ ralink,function = "gpio"; }; - perst { - ralink,group = "perst"; - ralink,function = "gpio"; - }; - refclk { ralink,group = "refclk"; ralink,function = "gpio"; @@ -87,14 +73,9 @@ 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 { |