From 4e963e0e0e7a9359a20115f3bedd98c1348399d9 Mon Sep 17 00:00:00 2001 From: Derek Ross Date: Wed, 28 Oct 2026 16:22:42 -0400 Subject: [PATCH] arm64: dts: exynos: google: gs201: add the HSI2 pin controller Add the HSI2 pin controller with its GPIO banks gph2 and gph4, as in Google's gs201 device tree (reg 0x14440000, GIC SPI 421, the CMU_HSI2 GPIO clock). The driver already has gs201's HSI2 bank data; the alias pinctrl7 selects it, since pinctrl-samsung picks a controller's entry by its alias and HSI2 is the eighth entry of gs201_pin_ctrl. The Pixel 7a's Bluetooth enable and Wi-Fi power pins (gph2-4, gph2-5) and the PCIe CLKREQ# and PERST# pins sit on this controller. The pin controller stays disabled here; boards that use HSI2 pins enable it. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Derek Ross --- .../boot/dts/exynos/google/gs201-pinctrl.dtsi | 16 ++++++++++++++++ arch/arm64/boot/dts/exynos/google/gs201.dtsi | 10 ++++++++++ 2 files changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs201-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/google/gs201-pinctrl.dtsi index 3ebafd39c6..774de1b8f6 100644 --- a/arch/arm64/boot/dts/exynos/google/gs201-pinctrl.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs201-pinctrl.dtsi @@ -497,3 +497,19 @@ samsung,pin-pud = ; }; }; + +&pinctrl_hsi2 { + gph2: gph2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gph4: gph4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; +}; diff --git a/arch/arm64/boot/dts/exynos/google/gs201.dtsi b/arch/arm64/boot/dts/exynos/google/gs201.dtsi index 01c1dcfdb8..e1e6508ec9 100644 --- a/arch/arm64/boot/dts/exynos/google/gs201.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs201.dtsi @@ -21,6 +21,7 @@ pinctrl1 = &pinctrl_far_alive; pinctrl4 = &pinctrl_peric0; pinctrl5 = &pinctrl_peric1; + pinctrl7 = &pinctrl_hsi2; }; /* Required by the Pixel bootloader (ABL). */ @@ -868,6 +869,15 @@ clocks = <&cmu_hsi2 CLK_GOUT_HSI2_SYSREG_HSI2_PCLK>; }; + pinctrl_hsi2: pinctrl@14440000 { + compatible = "google,gs201-pinctrl"; + reg = <0x14440000 0x1000>; + clocks = <&cmu_hsi2 CLK_GOUT_HSI2_GPIO_HSI2_PCLK>; + clock-names = "pclk"; + interrupts = ; + status = "disabled"; + }; + /* * No gs201 pinctrl driver yet: the UFS reset (gph3-1) and * reference clock output (gph3-0) pins on the HSI2UFS pin