aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMartin Dziura <m.dziura@tum.de>2022-10-25 22:05:46 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-13 21:51:22 +0100
commita0b25e17aefab01010f98b270dfea99ff10d828e (patch)
tree2b56026691617a7842074783a99ccd8a1919d853 /target/linux
parent106425225953164ca45569c04d8147f16641a696 (diff)
downloadupstream-a0b25e17aefab01010f98b270dfea99ff10d828e.tar.gz
upstream-a0b25e17aefab01010f98b270dfea99ff10d828e.tar.bz2
upstream-a0b25e17aefab01010f98b270dfea99ff10d828e.zip
ramips: glinet_gl-mt300n-v2: allow to use I2C and UART1 pins as GPIO
This is explicitly intended by the official documentation at https://docs.gl-inet.com/en/3/specification/gl-mt300n-v2/#pcb-pinout Signed-off-by: Martin Dziura <m.dziura@tum.de>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts b/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts
index b002b618b3..a3ce8cc592 100644
--- a/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts
+++ b/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts
@@ -75,7 +75,7 @@
&state_default {
gpio {
- groups = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
+ groups = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s", "i2c";
function = "gpio";
};
};
@@ -131,10 +131,6 @@
};
};
-&i2c {
- status = "okay";
-};
-
&uart1 {
status = "okay";
};