diff options
author | James <> | 2020-06-26 15:25:23 +0100 |
---|---|---|
committer | James <> | 2020-06-26 15:25:23 +0100 |
commit | 636d347e3df00f685923a30a4e11a95a49bd7b4c (patch) | |
tree | af05e005b0642d225115ee98f1114ad6f41d1ffa /master/fix-gpios | |
parent | 56227c1f1aff909dbfa5e889cd7e8ff1607c0de3 (diff) | |
download | master-d20f4fc-pq-636d347e3df00f685923a30a4e11a95a49bd7b4c.tar.gz master-d20f4fc-pq-636d347e3df00f685923a30a4e11a95a49bd7b4c.tar.bz2 master-d20f4fc-pq-636d347e3df00f685923a30a4e11a95a49bd7b4c.zip |
hpvpn
Diffstat (limited to 'master/fix-gpios')
-rw-r--r-- | master/fix-gpios | 23 |
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"; }; }; |