arm64: dts: rockchip: add pinctrl for clk-generator GPIO

A patch from »Move to gated-fixed-clock for Theobroma/Cherry boards« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko.stuebner@...> Date: Mon, 8 Jul 2024 12:57:29 +0200

Commit-Message

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@...> Signed-off-by: Heiko Stuebner <heiko.stuebner@...>

Patch-Comment

arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)

Statistics

  • 8 lines added
  • 0 lines removed

Changes

---------------- arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi ----------------
index b4b8f305935f..a0e97481afb7 100644
@@ -54,6 +54,8 @@ pcie_refclk: pcie-clock-generator {
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>;
};
@@ -353,6 +355,12 @@ module_led_pin: module-led-pin {
};
};
+ 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 =
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...