diff options
author | Ptilopsis Leucotis <PtilopsisLeucotis@yandex.com> | 2022-04-30 23:57:04 +0300 |
---|---|---|
committer | Sungbo Eo <mans0n@gorani.run> | 2022-05-05 09:19:00 +0900 |
commit | b697b5c55e4b7f77913db2e74239bdfe3e47ad26 (patch) | |
tree | a936c0768c303a4027ef7179079bd8ee19a78297 | |
parent | f8b0010dfb548469686049f85076fd6a3a6bca2e (diff) | |
download | upstream-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.dts | 4 |
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"; }; |