[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230720072938.31546-3-quic_harihk@quicinc.com>
Date: Thu, 20 Jul 2023 12:59:38 +0530
From: Hariharan K <quic_harihk@...cinc.com>
To: <agross@...nel.org>, <andersson@...nel.org>,
<konrad.dybcio@...aro.org>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <conor+dt@...nel.org>,
<linux-arm-msm@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: <quic_srichara@...cinc.com>, <quic_sjaganat@...cinc.com>,
<quic_kathirav@...cinc.com>, <quic_arajkuma@...cinc.com>,
<quic_anusha@...cinc.com>
Subject: [PATCH 2/2] arm64: dts: qcom: ipq5018: Add common RDP dtsi file
Add a dtsi file to include interfaces that are common
across RDPs.
Signed-off-by: Hariharan K <quic_harihk@...cinc.com>
---
.../boot/dts/qcom/ipq5018-rdp-common.dtsi | 35 +++++++++++++++++++
.../arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 30 +++-------------
2 files changed, 39 insertions(+), 26 deletions(-)
create mode 100644 arch/arm64/boot/dts/qcom/ipq5018-rdp-common.dtsi
diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp-common.dtsi b/arch/arm64/boot/dts/qcom/ipq5018-rdp-common.dtsi
new file mode 100644
index 000000000000..c288e508c8f6
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp-common.dtsi
@@ -0,0 +1,35 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * IPQ5018 RDP board common device tree source
+ *
+ * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+
+/dts-v1/;
+
+#include "ipq5018.dtsi"
+
+/ {
+ aliases {
+ serial0 = &blsp1_uart1;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+};
+
+&blsp1_uart1 {
+ pinctrl-0 = <&uart1_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+&sleep_clk {
+ clock-frequency = <32000>;
+};
+
+&xo_board_clk {
+ clock-frequency = <24000000>;
+};
diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
index e636a1cb9b77..90b6a98471f5 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
@@ -1,31 +1,17 @@
// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
/*
- * IPQ5018 MP03.1-C2 board device tree source
+ * IPQ5018 MP03.5-C2 board device tree source
*
* Copyright (c) 2023 The Linux Foundation. All rights reserved.
*/
/dts-v1/;
-#include "ipq5018.dtsi"
+#include "ipq5018-rdp-common.dtsi"
/ {
- model = "Qualcomm Technologies, Inc. IPQ5018/AP-RDP432.1-C2";
- compatible = "qcom,ipq5018-rdp432-c2", "qcom,ipq5018";
-
- aliases {
- serial0 = &blsp1_uart1;
- };
-
- chosen {
- stdout-path = "serial0:115200n8";
- };
-};
-
-&blsp1_uart1 {
- pinctrl-0 = <&uart1_pins>;
- pinctrl-names = "default";
- status = "okay";
+ model = "Qualcomm Technologies, Inc. IPQ5018/AP-MP03.5-C2";
+ compatible = "qcom,ipq5018-ap-mp03.5-c2", "qcom,ipq5018";
};
&sdhc_1 {
@@ -38,10 +24,6 @@
status = "okay";
};
-&sleep_clk {
- clock-frequency = <32000>;
-};
-
&tlmm {
sdc_default_state: sdc-default-state {
clk-pins {
@@ -66,7 +48,3 @@
};
};
};
-
-&xo_board_clk {
- clock-frequency = <24000000>;
-};
--
2.17.1
Powered by blists - more mailing lists