arm64: dts: qcom: Add board support for HK10
authorGokul Sriram Palanisamy <gokulsri@codeaurora.org>
Fri, 26 Feb 2021 08:28:30 +0000 (13:58 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 26 May 2021 03:40:32 +0000 (22:40 -0500)
Add initial support for IPQ8074 SoC based HK10-C1
and HK10-C2 evaluation boards.

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Link: https://lore.kernel.org/r/1614328110-28866-2-git-send-email-gokulsri@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/ipq8074-hk10-c1.dts [new file with mode: 0644]
arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dts [new file with mode: 0644]
arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi [new file with mode: 0644]

index 456502a..d452b26 100644 (file)
@@ -5,6 +5,8 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += apq8096-ifc6640.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += ipq6018-cp01-c1.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += ipq8074-hk01.dtb
+dtb-$(CONFIG_ARCH_QCOM)        += ipq8074-hk10-c1.dtb
+dtb-$(CONFIG_ARCH_QCOM)        += ipq8074-hk10-c2.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += msm8916-alcatel-idol347.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += msm8916-asus-z00l.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += msm8916-longcheer-l8150.dtb
diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk10-c1.dts b/arch/arm64/boot/dts/qcom/ipq8074-hk10-c1.dts
new file mode 100644 (file)
index 0000000..2bfcf42
--- /dev/null
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright (c) 2020 The Linux Foundation. All rights reserved.
+ */
+/dts-v1/;
+
+#include "ipq8074-hk10.dtsi"
+
+/ {
+       model = "Qualcomm Technologies, Inc. IPQ8074/AP-HK10-C1";
+       compatible = "qcom,ipq8074-hk10-c1", "qcom,ipq8074";
+};
diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dts b/arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dts
new file mode 100644 (file)
index 0000000..7da39f1
--- /dev/null
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/dts-v1/;
+/* Copyright (c) 2020 The Linux Foundation. All rights reserved.
+ */
+#include "ipq8074-hk10.dtsi"
+
+/ {
+       model = "Qualcomm Technologies, Inc. IPQ8074/AP-HK10-C2";
+       compatible = "qcom,ipq8074-hk10-c2", "qcom,ipq8074";
+};
diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi b/arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi
new file mode 100644 (file)
index 0000000..07e6708
--- /dev/null
@@ -0,0 +1,76 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Copyright (c) 2020, The Linux Foundation. All rights reserved.
+ */
+/dts-v1/;
+
+#include "ipq8074.dtsi"
+
+/ {
+       #address-cells = <0x2>;
+       #size-cells = <0x2>;
+
+       interrupt-parent = <&intc>;
+
+       aliases {
+               serial0 = &blsp1_uart5;
+       };
+
+       chosen {
+               stdout-path = "serial0";
+       };
+
+       memory {
+               device_type = "memory";
+               reg = <0x0 0x40000000 0x0 0x20000000>;
+       };
+};
+
+&blsp1_spi1 {
+       status = "ok";
+
+       m25p80@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "jedec,spi-nor";
+               reg = <0>;
+               spi-max-frequency = <50000000>;
+       };
+};
+
+&blsp1_uart5 {
+       status = "ok";
+};
+
+&pcie0 {
+       status = "ok";
+       perst-gpio = <&tlmm 58 0x1>;
+};
+
+&pcie1 {
+       status = "ok";
+       perst-gpio = <&tlmm 61 0x1>;
+};
+
+&pcie_phy0 {
+       status = "ok";
+};
+
+&pcie_phy1 {
+       status = "ok";
+};
+
+&qpic_bam {
+       status = "ok";
+};
+
+&qpic_nand {
+       status = "ok";
+
+       nand@0 {
+               reg = <0>;
+               nand-ecc-strength = <4>;
+               nand-ecc-step-size = <512>;
+               nand-bus-width = <8>;
+       };
+};