ramips: glinet_gl-mt300n-v2: allow to use I2C and UART1 pins as GPIO
authorMartin Dziura <m.dziura@tum.de>
Tue, 25 Oct 2022 20:05:46 +0000 (22:05 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 13 Nov 2022 20:51:22 +0000 (21:51 +0100)
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>
target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts

index b002b618b34d3a1285804482027338746901c9eb..a3ce8cc59212cfd6776afe4823844f14ae89ac81 100644 (file)
@@ -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";
        };
 };
        };
 };
 
-&i2c {
-       status = "okay";
-};
-
 &uart1 {
        status = "okay";
 };