From 908aefaa1bcc9581192ad4dbe4242907c98f5eed Mon Sep 17 00:00:00 2001 From: Gokul Sriram Palanisamy Date: Wed, 19 Jul 2017 14:30:38 +0530 Subject: [PATCH] ARM: qca: ipq8074: Added support for HK05 and HK06 Added device tree to support for HK05 and HK06 boards based on ipq807x SoC. Change-Id: I78a49340cbfc6c4f6c4ee5a3171cc1b6dd6ad1ed Signed-off-by: Gokul Sriram Palanisamy --- arch/arm/dts/Makefile | 2 ++ arch/arm/dts/ipq807x-hk05.dts | 30 ++++++++++++++++++++++++++++++ arch/arm/dts/ipq807x-hk06.dts | 31 +++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 arch/arm/dts/ipq807x-hk05.dts create mode 100644 arch/arm/dts/ipq807x-hk06.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 7c361e1c83..f61554b8ad 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -22,6 +22,8 @@ dtb-$(CONFIG_EXYNOS5) += exynos5250-arndale.dtb \ dtb-$(CONFIG_ARCH_IPQ807x) += ipq807x-hk01.dtb \ ipq807x-hk02.dtb \ + ipq807x-hk05.dtb \ + ipq807x-hk06.dtb \ ipq807x-db-hk01.dtb \ ipq807x-db-hk02.dtb diff --git a/arch/arm/dts/ipq807x-hk05.dts b/arch/arm/dts/ipq807x-hk05.dts new file mode 100644 index 0000000000..ba4983bd4d --- /dev/null +++ b/arch/arm/dts/ipq807x-hk05.dts @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2016 - 2017, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +/dts-v1/; +#include "ipq807x-soc.dtsi" +#include +/ { + model ="QCA, IPQ807x-HK05"; + compatible = "qca,ipq807x", "qca,ipq807x-hk05"; + machid = <0x080100002>; + config_name = "config@hk05"; + + aliases { + console = "/serial@78B3000"; + i2c0 = "/i2c@78b6000"; + pci0 = "/pci@20000000"; + pci1 = "/pci@10000000"; + }; +}; + diff --git a/arch/arm/dts/ipq807x-hk06.dts b/arch/arm/dts/ipq807x-hk06.dts new file mode 100644 index 0000000000..f2bc680048 --- /dev/null +++ b/arch/arm/dts/ipq807x-hk06.dts @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2016 - 2017, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +/dts-v1/; +#include "ipq807x-soc.dtsi" +#include +/ { + model ="QCA, IPQ807x-HK06"; + compatible = "qca,ipq807x", "qca,ipq807x-hk06"; + machid = <0x08010003>; + config_name = "config@hk06"; + + aliases { + console = "/serial@78B3000"; + uart2 = "/serial@78B0000"; + i2c0 = "/i2c@78b6000"; + pci0 = "/pci@20000000"; + pci1 = "/pci@10000000"; + }; +}; +