ramips: mt7621: fix GPIO switch pin number
authorShiji Yang <yangshiji66@qq.com>
Fri, 28 Jun 2024 07:36:13 +0000 (15:36 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 4 Jul 2024 20:20:47 +0000 (22:20 +0200)
commit2f1ff5b4ceb420761154afb1b2e0704c5f057720
tree23b82d4bffaec597fc4cfe07ce231cd31bad479d
parent9e49593ff7f9860fc7901c17977ce2ec976adb4c
ramips: mt7621: fix GPIO switch pin number

The numberspace base has been changed since 6.6 kernel:

chip_num   chip0   chip1   chip2 (32 gpios per bank)
old base    480     448     416
new base    512     544     576

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches