summaryrefslogtreecommitdiffstats
path: root/master/fix-gpios
diff options
context:
space:
mode:
Diffstat (limited to 'master/fix-gpios')
-rw-r--r--master/fix-gpios23
1 files changed, 20 insertions, 3 deletions
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 = <KEY_RESTART>;
+ };
+
++/*
+ BTN_0 {
+ label = "BTN_0";
+ gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+@@ -63,6 +64,8 @@
+ gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
+ linux,code = <BTN_1>;
+ };
++*/
++
+ };
+
+ 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";
};
};