mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
qualcommax: remove usage of malibu_first_phy_addr
Now that Malibu (QCA807x) PHY is using the upstream driver, we dont need support to define address of the first PHY in package, so remove the malibu_first_phy_addr DTS property. Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
d4800a1167
commit
deda92c16c
@ -414,7 +414,6 @@
|
|||||||
|
|
||||||
switch_lan_bmp = <(ESS_PORT1 | ESS_PORT2 | ESS_PORT3 | ESS_PORT4 | ESS_PORT6)>; /* lan port bitmap */
|
switch_lan_bmp = <(ESS_PORT1 | ESS_PORT2 | ESS_PORT3 | ESS_PORT4 | ESS_PORT6)>; /* lan port bitmap */
|
||||||
switch_wan_bmp = <ESS_PORT5>; /* wan port bitmap */
|
switch_wan_bmp = <ESS_PORT5>; /* wan port bitmap */
|
||||||
malibu_first_phy_addr = <16>; /* PHY addr of the first malibu PHY */
|
|
||||||
switch_mac_mode = <MAC_MODE_QSGMII>; /* mac mode for uniphy instance0*/
|
switch_mac_mode = <MAC_MODE_QSGMII>; /* mac mode for uniphy instance0*/
|
||||||
switch_mac_mode1 = <MAC_MODE_USXGMII>; /* mac mode for uniphy instance1*/
|
switch_mac_mode1 = <MAC_MODE_USXGMII>; /* mac mode for uniphy instance1*/
|
||||||
switch_mac_mode2 = <MAC_MODE_USXGMII>; /* mac mode for uniphy instance2*/
|
switch_mac_mode2 = <MAC_MODE_USXGMII>; /* mac mode for uniphy instance2*/
|
||||||
|
@ -23,24 +23,6 @@
|
|||||||
switch_access_mode = "local bus";
|
switch_access_mode = "local bus";
|
||||||
switch_cpu_bmp = <ESS_PORT0>; /* cpu port bitmap */
|
switch_cpu_bmp = <ESS_PORT0>; /* cpu port bitmap */
|
||||||
switch_inner_bmp = <ESS_PORT7>; /*inner port bitmap*/
|
switch_inner_bmp = <ESS_PORT7>; /*inner port bitmap*/
|
||||||
/* This is a special binding that controls how the malibu PHY are
|
|
||||||
* init. This value reflect the PHY addr of the first malibu PHY.
|
|
||||||
* Malibu PHY are in a bundle of 5 PHY.
|
|
||||||
* Some device might have some port not connected.
|
|
||||||
* SSDK still needs the addrs of the first PHY (even if not connected)
|
|
||||||
* to correctly setup the malibu PHY.
|
|
||||||
*
|
|
||||||
* This is needed as previously SSDK based this on the port bmp, but
|
|
||||||
* this can be problematic now that we specify correct bmp.
|
|
||||||
*
|
|
||||||
* Most common configuration have the malibu PHY placed at 0.
|
|
||||||
* But some device might have it placed at address 16.
|
|
||||||
* To drive the correct value, check the port id of the malibu PHY
|
|
||||||
* and try to understand what is the first one in devices where some
|
|
||||||
* port are missing. port_phyinfo is normally the way to go to derive
|
|
||||||
* this value in the few special cases.
|
|
||||||
*/
|
|
||||||
malibu_first_phy_addr = <0>;
|
|
||||||
clocks = <&gcc GCC_CMN_12GPLL_AHB_CLK>,
|
clocks = <&gcc GCC_CMN_12GPLL_AHB_CLK>,
|
||||||
<&gcc GCC_CMN_12GPLL_SYS_CLK>,
|
<&gcc GCC_CMN_12GPLL_SYS_CLK>,
|
||||||
<&gcc GCC_UNIPHY0_AHB_CLK>,
|
<&gcc GCC_UNIPHY0_AHB_CLK>,
|
||||||
|
Loading…
Reference in New Issue
Block a user