[PATCH v3 07/10] arm64: dts: qcom: sc7280: Add GP M/N clock controller
From: Taniya Das
Date: Mon Nov 23 2026 - 14:53:18 EST
Add the GP M/N clock controller and its pin configuration for SC7280.
The controller uses the PDM XO4 and AHB clocks from GCC and routes its
output to gpio60.
Signed-off-by: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/kodiak.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/kodiak.dtsi b/arch/arm64/boot/dts/qcom/kodiak.dtsi
index 10e9a5279ed60cea1514097354b8f0f59ffca2fc..773f4487d78301a18d5c27e9e97462e60adefd0b 100644
--- a/arch/arm64/boot/dts/qcom/kodiak.dtsi
+++ b/arch/arm64/boot/dts/qcom/kodiak.dtsi
@@ -4454,6 +4454,20 @@ usb2_role_switch: endpoint {
};
};
+ gp_mn: clock-controller@88d3000 {
+ compatible = "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";
+ };
+
qspi: spi@88dc000 {
compatible = "qcom,sc7280-qspi", "qcom,qspi-v1";
reg = <0 0x088dc000 0 0x1000>;
@@ -6683,6 +6697,13 @@ mi2s0_ws: mi2s0-ws-state {
function = "mi2s0_ws";
};
+ gp_mn_active: gp-mn-active-state {
+ pins = "gpio60";
+ function = "gp_mn";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
mi2s1_sclk: mi2s1-sclk-state {
pins = "gpio106";
function = "mi2s1_sck";
--
2.34.1