From 636d347e3df00f685923a30a4e11a95a49bd7b4c Mon Sep 17 00:00:00 2001 From: James <> Date: Fri, 26 Jun 2020 15:25:23 +0100 Subject: hpvpn --- master/fix-gpios | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'master/fix-gpios') diff --git a/master/fix-gpios b/master/fix-gpios index 5c5cbc2..955ba96 100644 --- a/master/fix-gpios +++ b/master/fix-gpios @@ -1,13 +1,30 @@ diff --git a/target/linux/ramips/dts/GL-MT300N-V2.dts b/target/linux/ramips/dts/GL-MT300N-V2.dts -index 852b7b5..4eb0292 100644 +index 852b7b5..b005ea1 100644 --- a/target/linux/ramips/dts/GL-MT300N-V2.dts +++ b/target/linux/ramips/dts/GL-MT300N-V2.dts -@@ -81,7 +81,7 @@ +@@ -52,6 +52,7 @@ + linux,code = ; + }; + ++/* + BTN_0 { + label = "BTN_0"; + gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; +@@ -63,6 +64,8 @@ + gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; + linux,code = ; + }; ++*/ ++ + }; + + gpio_export { +@@ -81,7 +84,7 @@ &pinctrl { state_default: pinctrl0 { gpio { - ralink,group = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s"; -+ ralink,group = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s", "uart1", "i2c"; ++ ralink,group = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s", "i2c"; ralink,function = "gpio"; }; }; -- cgit v1.2.3