[PATCH v17 8/8] arm64: dts: qcom: Add SM7250 devicetree file

From: Petr Vorel

Date: Thu Dec 03 2026 - 08:48:11 EST


> ...
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/sm7250.dtsi
> @@ -0,0 +1,803 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
nit: Maybe this would deserve:
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
(in the end it's based on the downstream sources, right?)

+ * Copyright (c) 2026, Sreeshankar K <sreeshankar0910@xxxxxxxxx>
+ */
...
+ soc: soc@0 {
> + compatible = "simple-bus";
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges = <0 0 0 0 0x10 0>;
> + dma-ranges = <0 0 0 0 0x10 0>;
> +
> + gcc: clock-controller@100000 {
> + compatible = "qcom,gcc-sm7250";
> + reg = <0x0 0x00100000 0x0 0x1f0000>;
> + clock-names = "bi_tcxo",
> + "bi_tcxo_ao",
> + "sleep_clk";
> + clocks = <&rpmhcc RPMH_CXO_CLK>,
> + <&rpmhcc RPMH_CXO_CLK_A>,
> + <&sleep_clk>;
> + power-domains = <&rpmhpd RPMHPD_CX>;
> + #clock-cells = <1>;
> + #reset-cells = <1>;
> + #power-domain-cells = <1>;
> + };
> +
> + qupv3_id_1: geniqup@9c0000 {
very nit: shouldn't this be qupv3_id_0 (most of the dtsi files start from zero)

> + compatible = "qcom,geni-se-qup";
> + reg = <0x0 0x009c0000 0x0 0x6000>;
> + clock-names = "m-ahb", "s-ahb";
> + clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
> + <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> +
> + uart2: serial@988000 {
> + compatible = "qcom,geni-debug-uart";
> + reg = <0 0x00988000 0 0x4000>;
> + clock-names = "se";
> + clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
> + interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disabled";
> + };
> + };
> ...

Anyway, I got very similar dtsi generated by LLM, LGTM.

Reviewed-by: Petr Vorel <pvorel@xxxxxxx>

Kind regards,
Petr