From a0b25e17aefab01010f98b270dfea99ff10d828e Mon Sep 17 00:00:00 2001 From: Martin Dziura Date: Tue, 25 Oct 2022 22:05:46 +0200 Subject: 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 --- target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'target') 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"; }; -- cgit v1.2.3