[PATCH v3 10/10] arm64: dts: qcom: shikra: Add GP M/N clock controller
From: Taniya Das
Date: Mon Nov 23 2026 - 14:53:01 EST
Add the GP M/N clock controller and its pin configuration for Shikra.
The controller uses the PDM XO4 and AHB clocks from GCC and routes its
output to gpio87. The node is kept disabled by default so boards opt in
explicitly before the output pin is muxed.
Signed-off-by: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/shikra.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi
index 0a95ad5a5582c643f97e2b0725eb88a9f262d83c..a5079b82f22f518fd9e858303292bb7ab874e1b9 100644
--- a/arch/arm64/boot/dts/qcom/shikra.dtsi
+++ b/arch/arm64/boot/dts/qcom/shikra.dtsi
@@ -992,6 +992,13 @@ sdc2_card_det_n: sd-card-det-n-state {
drive-strength = <2>;
bias-pull-up;
};
+
+ gp_mn_active: gp-mn-active-state {
+ pins = "gpio87";
+ function = "gp_mn";
+ drive-strength = <2>;
+ bias-disable;
+ };
};
pmu@c91000 {
@@ -1303,6 +1310,20 @@ sram@4690000 {
reg = <0x0 0x04690000 0x0 0x14000>;
};
+ gp_mn: clock-controller@4713000 {
+ compatible = "qcom,shikra-gp-mnd", "qcom,sc7280-gp-mnd";
+ reg = <0x0 0x04713000 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";
+ };
+
sdhc_1: mmc@4744000 {
compatible = "qcom,shikra-sdhci", "qcom,sdhci-msm-v5";
--
2.34.1