[PATCH v2 09/12] arm64: dts: qcom: qcs8300: Add GP M/N clock controller
From: Taniya Das
Date: Mon Oct 26 2026 - 07:59:20 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 35fbee63d4c652005dae9b93bbb8f6a28b48be3b..e122f70eaf20c65df5854e644887ad16da94a7ec 100644
--- a/arch/arm64/boot/dts/qcom/monaco.dtsi
+++ b/arch/arm64/boot/dts/qcom/monaco.dtsi
@@ -4891,6 +4891,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_clk", "ahb_clk";
+ #clock-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&gp_mn_active>;
+ 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";
@@ -6457,6 +6471,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