Add the GP M/N clock controller and its pin configuration for SM8750. The controller uses the PDM XO4 and AHB clocks from GCC and routes its output to gpio53. The node is kept disabled by default so boards opt in explicitly before the output pin is muxed. Signed-off-by: Taniya Das --- arch/arm64/boot/dts/qcom/sm8750.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi index d8a853c31eeb15fb1d0023fb8b5a5a59a9ed763b..fcc78bb3c8334b20561af6be87818af8f5ad461e 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -3067,6 +3067,20 @@ opp-202000000 { }; }; + gp_mn: clock-controller@88d3000 { + compatible = "qcom,sm8750-gp-mnd", "qcom,sc7280-gp-mnd"; + reg = <0x0 0x088d3000 0x0 0x1000>; + clocks = <&gcc GCC_PDM_XO4_CLK>, + <&gcc GCC_PDM_AHB_CLK>; + clock-names = "pdm", "ahb"; + #clock-cells = <0>; + pinctrl-0 = <&gp_mn_active>; + pinctrl-names = "default"; + assigned-clocks = <&gcc GCC_PDM_XO4_CLK>; + assigned-clock-rates = <4800000>; + status = "disabled"; + }; + usb_hsphy: phy@88e3000 { compatible = "qcom,sm8750-m31-eusb2-phy"; reg = <0x0 0x88e3000 0x0 0x29c>; @@ -3921,6 +3935,13 @@ tlmm: pinctrl@f100000 { gpio-ranges = <&tlmm 0 0 216>; wakeup-parent = <&pdc>; + gp_mn_active: gp-mn-active-state { + pins = "gpio53"; + function = "gp_mn"; + drive-strength = <2>; + bias-disable; + }; + hub_i2c0_data_clk: hub-i2c0-data-clk-state { /* SDA, SCL */ pins = "gpio64", "gpio65"; -- 2.34.1