Skip to content

Commit

Permalink
ramips: add i2c in dts for GL-MT300N-V2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
PtilopsisLeucotis authored and mans0n committed May 5, 2022
1 parent f8b0010 commit b697b5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@
};
};

&i2c {
status = "okay";
};

&uart1 {
status = "okay";
};
Expand Down

0 comments on commit b697b5c

Please sign in to comment.