projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0556b3f
)
ath79: fix I2C pins on GL-AR750
author
Ryan Salsbury
<
[email protected]
>
Tue, 17 Sep 2024 00:49:21 +0000
(17:49 -0700)
committer
Robert Marko
<
[email protected]
>
Sat, 21 Sep 2024 16:03:31 +0000
(18:03 +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 <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/16406
Signed-off-by: Robert Marko <
[email protected]
>
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 4d809b922a7c9e186c8f3304a0296a4f0bcd54cd..802d90b752fb0ba46cd89da5195d47406fd43cb1 100644
(file)
--- 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
>;
};
};