openwrt/target/linux/ipq40xx/base-files/etc
Koen Vandeputte 167b016a21 ipq40xx: fix invalid GPIO numbers since kernel 6.6
The bump to kernel 6.6 increased the GPIO base from
412 to 512 on this target.

We need to compensate for that in the GPIO numbers being passed
to uci to fix following kernel report:

[   24.176183] export_store: invalid GPIO 423

Tested on a Wallys DR40x9 board.

Please note that:

Boards "rtl30vw" and "wpj428" are not being altered here.
They define GPIO numbers which are even below the previous
base of 412 which looks wrong.
Actual testing on these boards should be conducted to validate
and optionally fix GPIO numbering.

Suggested-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2024-06-12 14:25:56 +02:00
..
board.d ipq40xx: fix invalid GPIO numbers since kernel 6.6 2024-06-12 14:25:56 +02:00
hotplug.d/firmware ipq40xx: use NVMEM-on-UBI for ASUS RT-AC58U 2024-06-05 13:46:00 +01:00
init.d ipq40xx: add support for Linksys WHW03 V1 2024-05-05 10:33:13 +02:00
uci-defaults ipq40xx: update ASUS RT-AC58U leds DTS nodes 2023-12-02 21:57:38 +01:00
inittab ipq40xx: add support for Aruba AP-303 2019-12-20 17:48:52 +01:00