]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: add pinctrl for clk-generator GPIO on rk3588-tiger
authorHeiko Stuebner <heiko.stuebner@cherry.de>
Tue, 10 Feb 2026 08:03:01 +0000 (09:03 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 2 Mar 2026 12:50:08 +0000 (13:50 +0100)
While specific driver in the Linux-Kernel handles GPIOs gracefully without
matching pinctrl entries, this might not be true for other operating
systems. So having pinctrl entries makes the hardware-description
more complete.

The somewhat similar rk3588-jaguar board has a pinctrl entry already,
so also add one for rk3588-tiger.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Link: https://patch.msgid.link/20260210080303.680403-4-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi

index b4b8f305935fbb2260dae778103610db0bb6471a..a0e97481afb7d73fc2f0c1990f3e86546f6cff4f 100644 (file)
@@ -54,6 +54,8 @@
                clock-frequency = <100000000>;
                clock-output-names = "pcie-refclk-clock";
                enable-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; /* PCIE30X4_CLKREQN_M1_L */
+               pinctrl-names = "default";
+               pinctrl-0 = <&pcie30x4_clkreqn_m1_l>;
                vdd-supply = <&vcca_3v3_s0>;
        };
 
                };
        };
 
+       pcie30x4 {
+               pcie30x4_clkreqn_m1_l: pcie30x4-clkreqn-m1-l {
+                       rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
+
        usb3 {
                usb3_id: usb3-id {
                        rockchip,pins =