projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4d260
)
ath79: fix I2C pins on GL-AR750
author
Ryan Salsbury
<ryanrs@gmail.com>
Tue, 17 Sep 2024 00:49:21 +0000
(17:49 -0700)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 22 Sep 2024 14:07:46 +0000
(16:07 +0200)
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>
(cherry picked from commit
2e626ae2d2488f2d3708d3aed57eea7a1402f00e
)
Signed-off-by: Ryan Salsbury <ryanrs@gmail.com>
Link:
https://github.com/openwrt/openwrt/pull/16446
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
patch
|
blob
|
history
diff --git
a/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
b/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
index 60bd2922a2d722470508567d659f497394233517..abf1223cf6c458bab1f164f744f0fe0a17d892f3 100644
(file)
--- a/
target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
+++ b/
target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
@@
-61,8
+61,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
>;
};
};