From 2ba21cd7bde1b43d0602ce702ccb6470e20b9ec7 Mon Sep 17 00:00:00 2001 From: Saravanan Jaganathan Date: Sat, 18 May 2019 17:27:50 +0530 Subject: [PATCH] ipq807x: dts: Prepare HK01 C5 wth MHI support Change-Id: Ibc4196aa319f1310d51ef9e5a14ebf025485f2bb Signed-off-by: Saravanan Jaganathan --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/ipq807x-hk01-c5.dts | 40 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/ipq807x-hk01-c5.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index b2d46adc72..8f8abbe22a 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -37,7 +37,8 @@ dtb-$(CONFIG_ARCH_IPQ807x) += ipq807x-hk01.dtb \ ipq807x-db-hk02.dtb \ ipq807x-hk01-c2.dtb \ ipq807x-hk01-c3.dtb \ - ipq807x-hk01-c4.dtb + ipq807x-hk01-c4.dtb \ + ipq807x-hk01-c5.dtb dtb-$(CONFIG_ARCH_IPQ806x) += ipq806x-ap148.dtb \ ipq806x-ap160.dtb \ diff --git a/arch/arm/dts/ipq807x-hk01-c5.dts b/arch/arm/dts/ipq807x-hk01-c5.dts new file mode 100644 index 0000000000..dd6601ad58 --- /dev/null +++ b/arch/arm/dts/ipq807x-hk01-c5.dts @@ -0,0 +1,40 @@ +/* + * Copyright (c) 2016, 2019, 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.C5"; + compatible = "qca,ipq807x", "qca,ipq807x-hk01.c5"; + machid = <0x08040000>; + config_name = "config@hk01.c5"; + + aliases { + console = "/serial@78B3000"; + uart2 = "/serial@78B0000"; + i2c0 = "/i2c@78b6000"; + pci0 = "/pci@20000000"; + pci1 = "/pci@10000000"; + mmc = "/sdhci@07824000"; + }; + ess-switch { + switch_mac_mode = <0x0>; + switch_mac_mode1 = <0xFF>; + switch_mac_mode2 = <0x2>; + aquantia_port = <5>; + aquantia_gpio = <44>; + }; + +}; +