From: Martin Dziura Date: Tue, 25 Oct 2022 20:05:46 +0000 (+0200) Subject: ramips: glinet_gl-mt300n-v2: allow to use I2C and UART1 pins as GPIO X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a0b25e17aefab01010f98b270dfea99ff10d828e;p=openwrt%2Fstaging%2Frobimarko.git 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 --- 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"; };