new file mode 100644
@@ -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>;
+};
@@ -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>;
-};
Add a dtsi file to include interfaces that are common across RDPs. Signed-off-by: Hariharan K <quic_harihk@quicinc.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