Skip to content

Commit

Permalink
arm64: dts: Add board support for HK10
Browse files Browse the repository at this point in the history
Add initial support for IPQ8074 SoC based HK10-C1
and HK10-C2 evaluation boards.

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
  • Loading branch information
Gokul Sriram Palanisamy authored and intel-lab-lkp committed Oct 9, 2020
1 parent 3befdd2 commit f11f03c
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/qcom/Makefile
Expand Up @@ -4,6 +4,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-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-longcheer-l8150.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-a3u-eur.dtb
Expand Down
11 changes: 11 additions & 0 deletions arch/arm64/boot/dts/qcom/ipq8074-hk10-c1.dts
@@ -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";
};
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dts
@@ -0,0 +1,14 @@
// 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";
};

&q6v5_wcss {
status = "disabled";
};
76 changes: 76 additions & 0 deletions arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi
@@ -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>;
};

&qmp_pcie_phy0 {
status = "ok";
};

&qmp_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>;
};
};

0 comments on commit f11f03c

Please sign in to comment.