From fc67dc00a8520cbb8f10a06a51ee3e4c496d5209 Mon Sep 17 00:00:00 2001 From: Nikhil Prakash V Date: Tue, 20 Feb 2018 13:25:49 +0530 Subject: [PATCH] ipq807x: Device tree support in u-boot for HK07 Adding device tree support for HK07 in u-boot-2016. Change-Id: Ib1ea4ffe1df241d2c2cbd3fac4fff3f157eae077 Signed-off-by: Nikhil Prakash V --- arch/arm/dts/Makefile | 1 + arch/arm/dts/ipq807x-hk07.dts | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 arch/arm/dts/ipq807x-hk07.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index e441aa25e7..2451ba7506 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -24,6 +24,7 @@ dtb-$(CONFIG_ARCH_IPQ807x) += ipq807x-hk01.dtb \ ipq807x-hk02.dtb \ ipq807x-hk05.dtb \ ipq807x-hk06.dtb \ + ipq807x-hk07.dtb \ ipq807x-db-hk01.dtb \ ipq807x-db-hk02.dtb \ ipq807x-hk01-c2.dtb diff --git a/arch/arm/dts/ipq807x-hk07.dts b/arch/arm/dts/ipq807x-hk07.dts new file mode 100644 index 0000000000..fce0f18f4a --- /dev/null +++ b/arch/arm/dts/ipq807x-hk07.dts @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2016 - 2018, 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-HK07"; + compatible = "qca,ipq807x", "qca,ipq807x-hk07"; + machid = <0x08010006>; + config_name = "config@hk07"; + + aliases { + console = "/serial@78B3000"; + uart2 = "/serial@78B0000"; + i2c0 = "/i2c@78b6000"; + pci0 = "/pci@20000000"; + pci1 = "/pci@10000000"; + }; +}; +