From 914c8702bc10f317320da65f97f68141610a880c Mon Sep 17 00:00:00 2001 From: Gokul Sriram Palanisamy Date: Wed, 16 Aug 2017 18:11:22 +0530 Subject: [PATCH] ipq807x: dts: Added devicetree for HK01-C2 board Change-Id: Ic175f0737c08579220945e0abecfb9ab7b968518 Signed-off-by: Gokul Sriram Palanisamy --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/ipq807x-hk01-c2.dts | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/ipq807x-hk01-c2.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index f61554b8ad..60ea28dc31 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -25,7 +25,8 @@ dtb-$(CONFIG_ARCH_IPQ807x) += ipq807x-hk01.dtb \ ipq807x-hk05.dtb \ ipq807x-hk06.dtb \ ipq807x-db-hk01.dtb \ - ipq807x-db-hk02.dtb + ipq807x-db-hk02.dtb \ + ipq807x-hk01-c2.dtb dtb-$(CONFIG_ARCH_IPQ806x) += ipq806x-ap148.dtb \ ipq806x-ap160.dtb \ diff --git a/arch/arm/dts/ipq807x-hk01-c2.dts b/arch/arm/dts/ipq807x-hk01-c2.dts new file mode 100644 index 0000000000..a1c1160d3c --- /dev/null +++ b/arch/arm/dts/ipq807x-hk01-c2.dts @@ -0,0 +1,31 @@ +/* + * Copyright (c) 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-HK01.C2"; + compatible = "qca,ipq807x", "qca,ipq807x-hk01.c2"; + machid = <0x08010100>; + config_name = "config@hk01.c2"; + + aliases { + console = "/serial@78B3000"; + uart2 = "/serial@78B0000"; + i2c0 = "/i2c@78b6000"; + pci0 = "/pci@20000000"; + pci1 = "/pci@10000000"; + }; +}; +