mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
arm: dts: ipq5332: Add ethernet support for AP-MI01.3
This patch adds the ethernet support for AP-MI01.3 and removes pci nodes from dts Change-Id: I3fcb338a061d732b44409aa835a1fde45508be95 Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
This commit is contained in:
parent
41ffcbb192
commit
4deecb0bdd
1 changed files with 63 additions and 22 deletions
|
|
@ -24,8 +24,6 @@
|
||||||
nand = "/nand-controller@79B0000";
|
nand = "/nand-controller@79B0000";
|
||||||
mmc = "/sdhci@7804000";
|
mmc = "/sdhci@7804000";
|
||||||
usb0 = "/xhci@8a00000";
|
usb0 = "/xhci@8a00000";
|
||||||
pci0 = "/pci@20000000";
|
|
||||||
pci1 = "/pci@18000000";
|
|
||||||
i2c0 = "/i2c@78B6000";
|
i2c0 = "/i2c@78B6000";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -181,30 +179,73 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pci0: pci@20000000 {
|
ess-switch {
|
||||||
status = "ok";
|
switch_mac_mode0 = <PORT_WRAPPER_SGMII_PLUS>;
|
||||||
perst_gpio = <38>;
|
switch_mac_mode1 = <PORT_WRAPPER_10GBASE_R>;
|
||||||
lane = <1>;
|
qca808x_gpio = <51>;
|
||||||
pci_gpio {
|
qca808x_gpio_cnt = <1>;
|
||||||
pci_rst {
|
qca8084_switch_enable = <1>;
|
||||||
gpio = <38>;
|
|
||||||
|
mdio_gpio {
|
||||||
|
mdc1 {
|
||||||
|
gpio = <27>;
|
||||||
|
func = <1>;
|
||||||
pull = <GPIO_PULL_UP>;
|
pull = <GPIO_PULL_UP>;
|
||||||
oe = <GPIO_OE_ENABLE>;
|
drvstr = <GPIO_2MA>;
|
||||||
drvstr = <GPIO_8MA>;
|
};
|
||||||
|
mdio {
|
||||||
|
gpio = <28>;
|
||||||
|
func = <1>;
|
||||||
|
pull = <GPIO_PULL_UP>;
|
||||||
|
drvstr = <GPIO_2MA>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
pci1: pci@18000000 {
|
port_phyinfo {
|
||||||
status = "ok";
|
port@0 {
|
||||||
perst_gpio = <47>;
|
phy_address = <1>;
|
||||||
lane = <1>;
|
uniphy_id = <0>;
|
||||||
pci_gpio {
|
phy_type = <QCA8084_PHY_TYPE>;
|
||||||
pci_rst {
|
uniphy_mode = <PORT_WRAPPER_SGMII_PLUS>;
|
||||||
gpio = <47>;
|
};
|
||||||
pull = <GPIO_PULL_UP>;
|
port@1 {
|
||||||
oe = <GPIO_OE_ENABLE>;
|
phy_type = <SFP_PHY_TYPE>;
|
||||||
drvstr = <GPIO_8MA>;
|
uniphy_id = <1>;
|
||||||
|
uniphy_mode = <PORT_WRAPPER_10GBASE_R>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qca8084_swt_info {
|
||||||
|
switch_mac_mode0 = <PORT_WRAPPER_SGMII_PLUS>;
|
||||||
|
switch_mac_mode1 = <PORT_WRAPPER_SGMII_PLUS>;
|
||||||
|
|
||||||
|
port@0 {
|
||||||
|
phy_address = <0xff>;
|
||||||
|
phy_type = <UNUSED_PHY_TYPE>;
|
||||||
|
forced-speed = <2500>;
|
||||||
|
forced-duplex = <1>;
|
||||||
|
};
|
||||||
|
port@1 {
|
||||||
|
phy_address = <1>;
|
||||||
|
phy_type = <QCA8084_PHY_TYPE>;
|
||||||
|
};
|
||||||
|
port@2 {
|
||||||
|
phy_address = <2>;
|
||||||
|
phy_type = <QCA8084_PHY_TYPE>;
|
||||||
|
};
|
||||||
|
port@3 {
|
||||||
|
phy_address = <3>;
|
||||||
|
phy_type = <QCA8084_PHY_TYPE>;
|
||||||
|
};
|
||||||
|
port@4 {
|
||||||
|
phy_address = <0x4>;
|
||||||
|
phy_type = <QCA8084_PHY_TYPE>;
|
||||||
|
};
|
||||||
|
port@5 {
|
||||||
|
phy_address = <0xff>;
|
||||||
|
phy_type = <UNUSED_PHY_TYPE>;
|
||||||
|
forced-speed = <2500>;
|
||||||
|
forced-duplex = <1>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue