ramips: add i2c in dts for GL-MT300N-V2
authorPtilopsis Leucotis <PtilopsisLeucotis@yandex.com>
Sat, 30 Apr 2022 20:57:04 +0000 (23:57 +0300)
committerSungbo Eo <mans0n@gorani.run>
Thu, 5 May 2022 00:19:00 +0000 (09:19 +0900)
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>
target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts

index 48f0fbd92bb1b6a39b2c17ffeb3d6fe849bfe293..b002b618b34d3a1285804482027338746901c9eb 100644 (file)
        };
 };
 
+&i2c {
+       status = "okay";
+};
+
 &uart1 {
        status = "okay";
 };