1 From a024abedbca99a20aeb96f5beec9ded13c85dcb3 Mon Sep 17 00:00:00 2001
2 From: Heiko Stuebner <heiko.stuebner@cherry.de>
3 Date: Tue, 5 Dec 2023 17:48:41 +0100
4 Subject: [PATCH] arm64: dts: rockchip: add rk3588 gpio aliases to soc dtsi
6 The gpio controllers on rk3588 are named gpio0 - gpio4. Board schematics
7 also use these exact numbers and we want those names to also reflect
8 in the OS devices because everything else would just cause confusion.
9 Userspace gpio access is a thing afterall.
11 To prevent each board repeating their list of gpio aliases, define them
12 in the soc dtsi, as previous Rockchip soc like the rk356x do already.
14 Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
15 Reviewed-by: Dragan Simic <dsimic@manjaro.org>
16 Link: https://lore.kernel.org/r/20231205164842.556684-4-heiko@sntech.de
18 arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 5 +++++
19 1 file changed, 5 insertions(+)
21 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
22 +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi