[openwrt/openwrt] ath79: fix I2C pins on GL-AR750
LEDE Commits
lede-commits at lists.infradead.org
Sat Sep 21 09:03:38 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2e626ae2d2488f2d3708d3aed57eea7a1402f00e
commit 2e626ae2d2488f2d3708d3aed57eea7a1402f00e
Author: Ryan Salsbury <ryanrs at gmail.com>
AuthorDate: Mon Sep 16 17:49:21 2024 -0700
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 at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16406
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
index 4d809b922a..802d90b752 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
@@ -63,8 +63,8 @@
i2c {
compatible = "i2c-gpio";
- sda-gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
- scl-gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+ sda-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
+ scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
};
More information about the lede-commits
mailing list