]> www.infradead.org Git - users/willy/linux.git/commit
arm64: dts: rockchip: add rk3588 gpio aliases to soc dtsi
authorHeiko Stuebner <heiko.stuebner@cherry.de>
Tue, 5 Dec 2023 16:48:41 +0000 (17:48 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 12 Dec 2023 20:43:47 +0000 (21:43 +0100)
commita024abedbca99a20aeb96f5beec9ded13c85dcb3
treeac6c8f775fbc741fedbb93985b0aa7080c27db9c
parent328e901b7b03d292c1520ffb38e9164feef4f1ea
arm64: dts: rockchip: add rk3588 gpio aliases to soc dtsi

The gpio controllers on rk3588 are named gpio0 - gpio4. Board schematics
also use these exact numbers and we want those names to also reflect
in the OS devices because everything else would just cause confusion.
Userspace gpio access is a thing afterall.

To prevent each board repeating their list of gpio aliases, define them
in the soc dtsi, as previous Rockchip soc like the rk356x do already.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/20231205164842.556684-4-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3588s.dtsi