ipq807x: DTS Support for HK01.C4

Change-Id: If8141c52a6965311d80764fbd389a0fca1c5e14e
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
This commit is contained in:
Nikhil Prakash V 2018-07-16 16:01:30 +05:30
parent af7feada2e
commit a2391434fb
2 changed files with 41 additions and 1 deletions

View file

@ -32,7 +32,8 @@ dtb-$(CONFIG_ARCH_IPQ807x) += ipq807x-hk01.dtb \
ipq807x-db-hk01.dtb \
ipq807x-db-hk02.dtb \
ipq807x-hk01-c2.dtb \
ipq807x-hk01-c3.dtb
ipq807x-hk01-c3.dtb \
ipq807x-hk01-c4.dtb
dtb-$(CONFIG_ARCH_IPQ806x) += ipq806x-ap148.dtb \
ipq806x-ap160.dtb \

View file

@ -0,0 +1,39 @@
/*
* Copyright (c) 2017 - 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 <dt-bindings/qcom/gpio-ipq807x.h>
/ {
model ="QCA, IPQ807x-HK01.C4";
compatible = "qca,ipq807x", "qca,ipq807x-hk01.c4";
machid = <0x08010300>;
config_name = "config@hk01.c4";
aliases {
console = "/serial@78B3000";
uart2 = "/serial@78B0000";
i2c0 = "/i2c@78b6000";
pci0 = "/pci@20000000";
pci1 = "/pci@10000000";
mmc = "/sdhci@07824000";
};
ess-switch {
switch_mac_mode = <0x5>;
switch_mac_mode1 = <0xFF>;
switch_mac_mode2 = <0x2>;
aquantia_port = <5>;
aquantia_gpio = <44>;
};
};