]> www.infradead.org Git - users/jedix/linux-maple.git/commit
riscv: dts: thead: Add TH1520 GPIO ranges
authorEmil Renner Berthing <emil.renner.berthing@canonical.com>
Mon, 14 Oct 2024 17:54:19 +0000 (10:54 -0700)
committerDrew Fustini <dfustini@tenstorrent.com>
Tue, 15 Oct 2024 17:01:17 +0000 (10:01 -0700)
commit5ec423d1df089dbc1156da7eb3af6b0fe24b5926
tree1ec5577b001f5e007fdfbb8a247eabeaa046752b
parent566ab427f827b0256d3e8ce0235d088e6a9c28bd
riscv: dts: thead: Add TH1520 GPIO ranges

Add gpio-ranges properties to the TH1520 device tree, so user space can
change basic pinconf settings for GPIOs and are not allowed to use pads
already used by other functions.

Adjust number of GPIOs available for the different controllers.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
arch/riscv/boot/dts/thead/th1520.dtsi