From b697b5c55e4b7f77913db2e74239bdfe3e47ad26 Mon Sep 17 00:00:00 2001 From: Ptilopsis Leucotis Date: Sat, 30 Apr 2022 23:57:04 +0300 Subject: [PATCH] ramips: add i2c in dts for GL-MT300N-V2 According wiki https://docs.gl-inet.com/en/2/hardware/mt300n-v2/ GL-MT300N-V2 have I2C interface on GPIO4, GPIO5. Adding I2C in device tree make possible using I2C on this device. Signed-off-by: Ptilopsis Leucotis --- target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts | 4 ++++ 1 file changed, 4 insertions(+) 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 48f0fbd92b..b002b618b3 100644 --- a/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts +++ b/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts @@ -131,6 +131,10 @@ }; }; +&i2c { + status = "okay"; +}; + &uart1 { status = "okay"; }; -- 2.30.2