&switch {
status = "okay";
- switch_cpu_bmp = <0x1>; /* cpu port bitmap */
- switch_lan_bmp = <0x3e>; /* lan port bitmap */
- switch_wan_bmp = <0x40>; /* wan port bitmap */
- switch_mac_mode = <0x0>; /* mac mode for uniphy instance0*/
- switch_mac_mode1 = <0x0f>; /* mac mode for uniphy instance1*/
- switch_mac_mode2 = <0x0f>; /* mac mode for uniphy instance2*/
+ switch_lan_bmp = <(ESS_PORT2 | ESS_PORT3 | ESS_PORT4)>; /* lan port bitmap */
+ switch_wan_bmp = <ESS_PORT6>; /* wan port bitmap */
+ switch_mac_mode = <MAC_MODE_PSGMII>; /* mac mode for uniphy instance0*/
+ switch_mac_mode1 = <MAC_MODE_SGMII_CHANNEL0>; /* mac mode for uniphy instance1*/
+ switch_mac_mode2 = <MAC_MODE_SGMII_CHANNEL0>; /* mac mode for uniphy instance2*/
bm_tick_mode = <0>; /* bm tick mode */
tm_tick_mode = <0>; /* tm tick mode */