diff --git a/arch/arm/dts/ipq5332-mi01.3.dts b/arch/arm/dts/ipq5332-mi01.3.dts index 7e2f324c36..20c44e85b7 100644 --- a/arch/arm/dts/ipq5332-mi01.3.dts +++ b/arch/arm/dts/ipq5332-mi01.3.dts @@ -24,8 +24,6 @@ nand = "/nand-controller@79B0000"; mmc = "/sdhci@7804000"; usb0 = "/xhci@8a00000"; - pci0 = "/pci@20000000"; - pci1 = "/pci@18000000"; i2c0 = "/i2c@78B6000"; }; @@ -181,30 +179,73 @@ }; }; - pci0: pci@20000000 { - status = "ok"; - perst_gpio = <38>; - lane = <1>; - pci_gpio { - pci_rst { - gpio = <38>; + ess-switch { + switch_mac_mode0 = ; + switch_mac_mode1 = ; + qca808x_gpio = <51>; + qca808x_gpio_cnt = <1>; + qca8084_switch_enable = <1>; + + mdio_gpio { + mdc1 { + gpio = <27>; + func = <1>; pull = ; - oe = ; - drvstr = ; + drvstr = ; + }; + mdio { + gpio = <28>; + func = <1>; + pull = ; + drvstr = ; }; }; - }; - pci1: pci@18000000 { - status = "ok"; - perst_gpio = <47>; - lane = <1>; - pci_gpio { - pci_rst { - gpio = <47>; - pull = ; - oe = ; - drvstr = ; + port_phyinfo { + port@0 { + phy_address = <1>; + uniphy_id = <0>; + phy_type = ; + uniphy_mode = ; + }; + port@1 { + phy_type = ; + uniphy_id = <1>; + uniphy_mode = ; + }; + }; + + qca8084_swt_info { + switch_mac_mode0 = ; + switch_mac_mode1 = ; + + port@0 { + phy_address = <0xff>; + phy_type = ; + forced-speed = <2500>; + forced-duplex = <1>; + }; + port@1 { + phy_address = <1>; + phy_type = ; + }; + port@2 { + phy_address = <2>; + phy_type = ; + }; + port@3 { + phy_address = <3>; + phy_type = ; + }; + port@4 { + phy_address = <0x4>; + phy_type = ; + }; + port@5 { + phy_address = <0xff>; + phy_type = ; + forced-speed = <2500>; + forced-duplex = <1>; }; }; };