mvebu: enable Aquantia phy driver for Puzzle devices
Fixes Ethernet link status on all ports and makes 2.5G ports usable in 2.5G and 1G full-duplex mode. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
		| @@ -1,4 +1,5 @@ | |||||||
| CONFIG_64BIT=y | CONFIG_64BIT=y | ||||||
|  | CONFIG_AQUANTIA_PHY=y | ||||||
| CONFIG_ARCH_DMA_ADDR_T_64BIT=y | CONFIG_ARCH_DMA_ADDR_T_64BIT=y | ||||||
| CONFIG_ARCH_MMAP_RND_BITS=18 | CONFIG_ARCH_MMAP_RND_BITS=18 | ||||||
| CONFIG_ARCH_MMAP_RND_BITS_MAX=24 | CONFIG_ARCH_MMAP_RND_BITS_MAX=24 | ||||||
|   | |||||||
| @@ -169,21 +169,21 @@ | |||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp0_comphy2 0>; | 	phys = <&cp0_comphy2 0>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp0_nbaset_phy0>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp0_eth1 { | &cp0_eth1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp0_comphy4 1>; | 	phys = <&cp0_comphy4 1>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp0_nbaset_phy1>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp0_eth2 { | &cp0_eth2 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp0_comphy5 2>; | 	phys = <&cp0_comphy5 2>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp0_nbaset_phy2>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp0_gpio1 { | &cp0_gpio1 { | ||||||
| @@ -334,21 +334,21 @@ | |||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp1_comphy2 0>; | 	phys = <&cp1_comphy2 0>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp1_nbaset_phy0>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp1_eth1 { | &cp1_eth1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp1_comphy4 1>; | 	phys = <&cp1_comphy4 1>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp1_nbaset_phy1>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp1_eth2 { | &cp1_eth2 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp1_comphy5 2>; | 	phys = <&cp1_comphy5 2>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp1_nbaset_phy2>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp1_sata0 { | &cp1_sata0 { | ||||||
|   | |||||||
| @@ -214,21 +214,21 @@ | |||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "10gbase-kr"; | 	phy-mode = "10gbase-kr"; | ||||||
| 	phys = <&cp0_comphy2 0>; | 	phys = <&cp0_comphy2 0>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp0_nbaset_phy0>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp0_eth1 { | &cp0_eth1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp0_comphy4 1>; | 	phys = <&cp0_comphy4 1>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp0_nbaset_phy1>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp0_eth2 { | &cp0_eth2 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp0_comphy1 2>; | 	phys = <&cp0_comphy1 2>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp0_nbaset_phy2>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp0_gpio1 { | &cp0_gpio1 { | ||||||
| @@ -397,21 +397,21 @@ | |||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "10gbase-kr"; | 	phy-mode = "10gbase-kr"; | ||||||
| 	phys = <&cp1_comphy2 0>; | 	phys = <&cp1_comphy2 0>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp1_nbaset_phy0>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp1_eth1 { | &cp1_eth1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp1_comphy4 1>; | 	phys = <&cp1_comphy4 1>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp1_nbaset_phy1>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp1_eth2 { | &cp1_eth2 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp1_comphy1 2>; | 	phys = <&cp1_comphy1 2>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp1_nbaset_phy2>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp1_gpio1 { | &cp1_gpio1 { | ||||||
| @@ -498,21 +498,21 @@ | |||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "10gbase-kr"; | 	phy-mode = "10gbase-kr"; | ||||||
| 	phys = <&cp2_comphy2 0>; | 	phys = <&cp2_comphy2 0>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp2_nbaset_phy0>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp2_eth1 { | &cp2_eth1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp2_comphy4 1>; | 	phys = <&cp2_comphy4 1>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp2_nbaset_phy1>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp2_eth2 { | &cp2_eth2 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	phy-mode = "2500base-x"; | 	phy-mode = "2500base-x"; | ||||||
| 	phys = <&cp2_comphy1 2>; | 	phys = <&cp2_comphy1 2>; | ||||||
| 	managed = "in-band-status"; | 	phy = <&cp2_nbaset_phy2>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &cp2_gpio1 { | &cp2_gpio1 { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Golle
					Daniel Golle