aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx
diff options
context:
space:
mode:
authorPtilopsis Leucotis <PtilopsisLeucotis@yandex.com>2022-05-11 19:55:05 +0300
committerChristian Lamparter <chunkeey@gmail.com>2022-05-15 16:39:45 +0200
commit0f8eba4f958126cb79ca901f38b0b904a581d3e8 (patch)
treee7f47f0a0cf34ad8ac50ae6deec5c3fa74e0d17a /target/linux/ipq40xx
parent308ce4607687fb2e1cd013f221751139e3cdafdb (diff)
downloadupstream-0f8eba4f958126cb79ca901f38b0b904a581d3e8.tar.gz
upstream-0f8eba4f958126cb79ca901f38b0b904a581d3e8.tar.bz2
upstream-0f8eba4f958126cb79ca901f38b0b904a581d3e8.zip
ath79: fix I2C on GL-AR300M devices
On GL-AR300M Series GPIO17 described as I2C SDA in Device Tree. Because of GPIO_OUT_FUNCTION4 register was not initialized on start, GPIO17 was uncontrollable, it always in high state. According to QCA9531 documentation, default setting of GPIO17 is SYS_RST_L. In order to make GPIO17 controllable, it should write value 0x00 on bits [15:8] of GPIO_OUT_FUNCTION4 register, located at 0x1804003C address. Signed-off-by: Ptilopsis Leucotis <PtilopsisLeucotis@yandex.com> (cherry picked from commit 57efdd6a2d815d2491c5b7f22ffaeb6a845bfd0a)
Diffstat (limited to 'target/linux/ipq40xx')
0 files changed, 0 insertions, 0 deletions