ath79: fix I2C pins on GL-AR750
Change I2C pin flags to GPIO_ACTIVE_HIGH and change SDA to GPIO1. On my late production GL-AR750 (purchased 2024): SCL = GPIO16 SDA = GPIO1 Bug report: I2C bus doesn't work in GL-AR750 https://github.com/openwrt/openwrt/issues/16319 Signed-off-by: Ryan Salsbury <ryanrs@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16406 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
0556b3fdcb
commit
2e626ae2d2
@ -63,8 +63,8 @@
|
|||||||
i2c {
|
i2c {
|
||||||
compatible = "i2c-gpio";
|
compatible = "i2c-gpio";
|
||||||
|
|
||||||
sda-gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
|
sda-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
|
||||||
scl-gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user