aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPtilopsis Leucotis <PtilopsisLeucotis@yandex.com>2022-04-30 23:57:04 +0300
committerSungbo Eo <mans0n@gorani.run>2022-05-05 09:19:00 +0900
commitb697b5c55e4b7f77913db2e74239bdfe3e47ad26 (patch)
treea936c0768c303a4027ef7179079bd8ee19a78297
parentf8b0010dfb548469686049f85076fd6a3a6bca2e (diff)
downloadupstream-b697b5c55e4b7f77913db2e74239bdfe3e47ad26.tar.gz
upstream-b697b5c55e4b7f77913db2e74239bdfe3e47ad26.tar.bz2
upstream-b697b5c55e4b7f77913db2e74239bdfe3e47ad26.zip
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 <PtilopsisLeucotis@yandex.com>
-rw-r--r--target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts4
1 files changed, 4 insertions, 0 deletions
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";
};