mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq806x: Added gmac cfg and gpio entry for AP160_2xx board
Change-Id: Id17ea3958870981aa23e695082e1719c579a2631 Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
This commit is contained in:
parent
0af10c9167
commit
50f0745be4
2 changed files with 18 additions and 1 deletions
|
|
@ -22,11 +22,29 @@
|
|||
aliases {
|
||||
console = "/serial@16340000";
|
||||
nand = "/nand@1A600000";
|
||||
gmac_gpio = "/gmac1_gpio";
|
||||
pci0 = "/pci@1b500000";
|
||||
pci1 = "/pci@1b700000";
|
||||
pci2 = "/pci@1b900000";
|
||||
};
|
||||
|
||||
gmac_cfg {
|
||||
gmac_count = <1>;
|
||||
|
||||
gmac1_cfg {
|
||||
base = <0x37000000>;
|
||||
unit = <0>;
|
||||
is_macsec = <0>;
|
||||
mac_pwr0 = <0>;
|
||||
mac_pwr1 = <0>;
|
||||
mac_conn_to_phy = <0>;
|
||||
phy_interface_type = <4>;
|
||||
phy_address_count = <1>;
|
||||
phy_address = <4>;
|
||||
phy_name = "IPQ MDIO0";
|
||||
};
|
||||
};
|
||||
|
||||
pci@1b500000 {
|
||||
pci_gpio {
|
||||
gpio3 {
|
||||
|
|
|
|||
|
|
@ -372,7 +372,6 @@ int board_eth_init(bd_t *bis)
|
|||
ipq_register_switch(ipq_athrs17_init);
|
||||
break;
|
||||
}
|
||||
ipq_register_switch(ipq_athrs17_init);
|
||||
|
||||
status = ipq_gmac_init(gmac_cfg);
|
||||
return status;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue