ipq807x: Add dts support for HK10

Change-Id: Ib0ecca91b70d1fd26d1a9cbc018f42b9ed37d77d
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
This commit is contained in:
Pavithra Palanisamy 2019-01-31 17:30:10 +05:30
parent b2c0e2c88f
commit 6b627e2d3f
2 changed files with 63 additions and 0 deletions

View file

@ -26,6 +26,7 @@ dtb-$(CONFIG_ARCH_IPQ807x) += ipq807x-hk01.dtb \
ipq807x-hk07.dtb \
ipq807x-hk08.dtb \
ipq807x-hk09.dtb \
ipq807x-hk10.dtb \
ipq807x-ac01.dtb \
ipq807x-ac02.dtb \
ipq807x-oak01.dtb \

View file

@ -0,0 +1,62 @@
/*
* 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 <dt-bindings/qcom/gpio-ipq807x.h>
/ {
model ="QCA, IPQ807x-HK10";
compatible = "qca,ipq807x", "qca,ipq807x-hk10";
machid = <0x0801000E>;
config_name = "config@hk10";
aliases {
console = "/serial@78B3000";
uart2 = "/serial@78B0000";
pci0 = "/pci@20000000";
};
ess-switch {
switch_mac_mode = <0x0>;
switch_mac_mode1 = <0x6>;
switch_mac_mode2 = <0x6>;
napa_gpio = <25 44>;
napa_gpio_cnt = <2>;
port_phyinfo {
port@0 {
phy_address = <0>;
phy_type = <1>;
};
port@1 {
phy_address = <1>;
phy_type = <1>;
};
port@2 {
phy_address = <2>;
phy_type = <1>;
};
port@3 {
phy_address = <3>;
phy_type = <1>;
};
port@4 {
phy_address = <24>;
phy_type = <2>;
};
port@5 {
phy_address = <28>;
phy_type = <2>;
};
};
};
};