ipq807x: DTS support for HK09, AC01.1, AC01.2

Change-Id: Id74932004e2844a503237dee30b6655264d06748
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
This commit is contained in:
Nikhil Prakash V 2018-06-11 13:09:28 +05:30
parent 5080bfea38
commit 9bddf3451b
4 changed files with 105 additions and 0 deletions

View file

@ -26,6 +26,9 @@ dtb-$(CONFIG_ARCH_IPQ807x) += ipq807x-hk01.dtb \
ipq807x-hk06.dtb \
ipq807x-hk07.dtb \
ipq807x-hk08.dtb \
ipq807x-hk09.dtb \
ipq807x-ac01.1.dtb \
ipq807x-ac01.2.dtb \
ipq807x-db-hk01.dtb \
ipq807x-db-hk02.dtb \
ipq807x-hk01-c2.dtb \

View file

@ -0,0 +1,34 @@
/*
* 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 <dt-bindings/qcom/gpio-ipq807x.h>
/ {
model ="QCA, IPQ807x-AC01.1";
compatible = "qca,ipq807x", "qca,ipq807x-ac01.1";
machid = <0x08010009>;
config_name = "config@ac01.1";
aliases {
console = "/serial@78B3000";
uart2 = "/serial@78B0000";
pci0 = "/pci@20000000";
};
ess-switch {
switch_mac_mode = <0x0>;
switch_mac_mode1 = <0xFF>;
switch_mac_mode2 = <0xFF>;
};
};

View file

@ -0,0 +1,34 @@
/*
* 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 <dt-bindings/qcom/gpio-ipq807x.h>
/ {
model ="QCA, IPQ807x-AC01.2";
compatible = "qca,ipq807x", "qca,ipq807x-ac01.2";
machid = <0x0801000A>;
config_name = "config@ac01.2";
aliases {
console = "/serial@78B3000";
uart2 = "/serial@78B0000";
pci0 = "/pci@20000000";
};
ess-switch {
switch_mac_mode = <0x0>;
switch_mac_mode1 = <0xFF>;
switch_mac_mode2 = <0xFF>;
};
};

View file

@ -0,0 +1,34 @@
/*
* 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 <dt-bindings/qcom/gpio-ipq807x.h>
/ {
model ="QCA, IPQ807x-HK09";
compatible = "qca,ipq807x", "qca,ipq807x-hk09";
machid = <0x08010008>;
config_name = "config@hk09";
aliases {
console = "/serial@78B3000";
uart2 = "/serial@78B0000";
pci0 = "/pci@20000000";
};
ess-switch {
switch_mac_mode = <0x0>;
switch_mac_mode1 = <0xFF>;
switch_mac_mode2 = <0xFF>;
};
};