mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-14 20:09:24 +01:00
Merge "ipq807x: Support for OAK01, OAK02, OAK03."
This commit is contained in:
commit
cb3bbb5080
6 changed files with 153 additions and 8 deletions
|
|
@ -27,8 +27,11 @@ dtb-$(CONFIG_ARCH_IPQ807x) += ipq807x-hk01.dtb \
|
|||
ipq807x-hk07.dtb \
|
||||
ipq807x-hk08.dtb \
|
||||
ipq807x-hk09.dtb \
|
||||
ipq807x-ac01.1.dtb \
|
||||
ipq807x-ac01.2.dtb \
|
||||
ipq807x-ac01.dtb \
|
||||
ipq807x-ac02.dtb \
|
||||
ipq807x-oak01.dtb \
|
||||
ipq807x-oak02.dtb \
|
||||
ipq807x-oak03.dtb \
|
||||
ipq807x-db-hk01.dtb \
|
||||
ipq807x-db-hk02.dtb \
|
||||
ipq807x-hk01-c2.dtb \
|
||||
|
|
|
|||
|
|
@ -15,10 +15,10 @@
|
|||
#include "ipq807x-soc.dtsi"
|
||||
#include <dt-bindings/qcom/gpio-ipq807x.h>
|
||||
/ {
|
||||
model ="QCA, IPQ807x-AC01.1";
|
||||
compatible = "qca,ipq807x", "qca,ipq807x-ac01.1";
|
||||
model ="QCA, IPQ807x-AC01";
|
||||
compatible = "qca,ipq807x", "qca,ipq807x-ac01";
|
||||
machid = <0x08010009>;
|
||||
config_name = "config@ac01.1";
|
||||
config_name = "config@ac01";
|
||||
|
||||
aliases {
|
||||
console = "/serial@78B3000";
|
||||
|
|
@ -15,10 +15,10 @@
|
|||
#include "ipq807x-soc.dtsi"
|
||||
#include <dt-bindings/qcom/gpio-ipq807x.h>
|
||||
/ {
|
||||
model ="QCA, IPQ807x-AC01.2";
|
||||
compatible = "qca,ipq807x", "qca,ipq807x-ac01.2";
|
||||
model ="QCA, IPQ807x-AC02";
|
||||
compatible = "qca,ipq807x", "qca,ipq807x-ac02";
|
||||
machid = <0x0801000A>;
|
||||
config_name = "config@ac01.2";
|
||||
config_name = "config@ac02";
|
||||
|
||||
aliases {
|
||||
console = "/serial@78B3000";
|
||||
40
arch/arm/dts/ipq807x-oak01.dts
Normal file
40
arch/arm/dts/ipq807x-oak01.dts
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* 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-OAK01";
|
||||
compatible = "qca,ipq807x", "qca,ipq807x-oak01";
|
||||
machid = <0x0801000B>;
|
||||
config_name = "config@oak01";
|
||||
|
||||
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>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
40
arch/arm/dts/ipq807x-oak02.dts
Normal file
40
arch/arm/dts/ipq807x-oak02.dts
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* 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-OAK02";
|
||||
compatible = "qca,ipq807x", "qca,ipq807x-oak02";
|
||||
machid = <0x0801000C>;
|
||||
config_name = "config@oak02";
|
||||
|
||||
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>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
62
arch/arm/dts/ipq807x-oak03.dts
Normal file
62
arch/arm/dts/ipq807x-oak03.dts
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
/*
|
||||
* 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-OAK03";
|
||||
compatible = "qca,ipq807x", "qca,ipq807x-oak03";
|
||||
machid = <0x0801000D>;
|
||||
config_name = "config@oak03";
|
||||
|
||||
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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Add table
Reference in a new issue