[PATCH v3 05/10] arm64: dts: qcom: qcs8300: Add GP M/N clock controller

From: Taniya Das

Date: Mon Nov 23 2026 - 14:52:31 EST


Add the GP M/N clock controller and its pin configuration for QCS8300.
The controller uses the PDM XO4 and AHB clocks from GCC and routes its
output to gpio32.

Signed-off-by: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/monaco.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/monaco.dtsi b/arch/arm64/boot/dts/qcom/monaco.dtsi
index 3541313a79bf47fe27499f6dc370cb778d780a08..3508869ed92b439b35182e94a5b9a24078efbf70 100644
--- a/arch/arm64/boot/dts/qcom/monaco.dtsi
+++ b/arch/arm64/boot/dts/qcom/monaco.dtsi
@@ -4892,6 +4892,20 @@ sdhc_ice: crypto@87c8000 {
power-domains = <&rpmhpd RPMHPD_CX>;
};

+ gp_mn: clock-controller@88d3000 {
+ compatible = "qcom,qcs8300-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_1_hsphy: phy@8904000 {
compatible = "qcom,qcs8300-usb-hs-phy",
"qcom,usb-snps-hs-7nm-phy";
@@ -6458,6 +6472,13 @@ dp_hot_plug_det: dp-hot-plug-det-state {
bias-disable;
};

+ gp_mn_active: gp-mn-active-state {
+ pins = "gpio32";
+ function = "gp_mn";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
hs0_mi2s_active: hs0-mi2s-active-state {
pins = "gpio106", "gpio107", "gpio108", "gpio109";
function = "hs0_mi2s";

--
2.34.1