Quellcode durchsuchen

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 <[email protected]>
Martin Dziura vor 3 Jahren
Ursprung
Commit
a0b25e17ae
1 geänderte Dateien mit 1 neuen und 5 gelöschten Zeilen
  1. 1 5
      target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts

+ 1 - 5
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";
 };