blob: f95d8d8cf9880bda169ddee648005e7af9679442 [file] [log] [blame]
/*
* Copyright (c) 2016, 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 "ipq806x-soc.dtsi"
/ {
model ="QCA, IPQ806x-DB149";
compatible = "qca,ipq806x", "qca,ipq806x-DB149";
machid = <4699>;
config_name = "config@db149";
aliases {
console = "/serial@12490000";
nand = "/nand@1A600000";
gmac_gpio = "/gmac0_gpio";
};
serial@12490000 {
status = "ok";
};
gmac_cfg {
gmac_count = <2>;
gmac1_cfg {
base = <0x37000000>;
unit = <0>;
is_macsec = <0>;
mac_pwr0 = <0>;
mac_pwr1 = <0>;
mac_conn_to_phy = <0>;
phy_interface_type = <7>;
phy_address_count = <1>;
phy_address = <4>;
phy_name = "IPQ MDIO0";
};
gmac2_cfg {
base = <0x37200000>;
unit = <1>;
is_macsec = <1>;
mac_pwr0 = <0>;
mac_pwr1 = <0>;
mac_conn_to_phy = <0>;
phy_interface_type = <2>;
phy_address_count = <4>;
phy_address = <0 1 2 3>;
phy_name = "IPQ MDIO1";
};
gmac3_cfg {
base = <0x37400000>;
unit = <2>;
is_macsec = <1>;
mac_pwr0 = <0>;
mac_pwr1 = <0>;
mac_conn_to_phy = <1>;
phy_interface_type = <2>;
phy_address_count = <1>;
phy_address = <6>;
phy_name = "IPQ MDIO2";
};
gmac4_cfg {
base = <0x37600000>;
unit = <3>;
is_macsec = <1>;
mac_pwr0 = <0>;
mac_pwr1 = <0>;
mac_conn_to_phy = <1>;
phy_interface_type = <2>;
phy_address_count = <1>;
phy_address = <7>;
phy_name = "IPQ MDIO3";
};
};
};