diff mbox

[2/2] ARM: dts: k2l-mvm: add 1g ethernet phys nodes

Message ID 1413811244-4041-2-git-send-email-grygorii.strashko@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Grygorii Strashko Oct. 20, 2014, 1:20 p.m. UTC
Keystone K2L-EVM has two 1G Marvell 88E1514 Ethernet PHYs
installed, which are compatible with 88E1510.
Hence, add corresponding child nodes for 1G MDIO bus.

For more information see:
  https://www.einfochips.com/index.php/partnerships/texas-instruments/k2l-evm.html

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 arch/arm/boot/dts/k2l-evm.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Murali Karicheri Oct. 21, 2014, 6:23 p.m. UTC | #1
On 10/20/2014 09:20 AM, Grygorii Strashko wrote:
> Keystone K2L-EVM has two 1G Marvell 88E1514 Ethernet PHYs
> installed, which are compatible with 88E1510.
> Hence, add corresponding child nodes for 1G MDIO bus.
>
> For more information see:
>    https://www.einfochips.com/index.php/partnerships/texas-instruments/k2l-evm.html
>
> Signed-off-by: Grygorii Strashko<grygorii.strashko@ti.com>
> ---
>   arch/arm/boot/dts/k2l-evm.dts | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/k2l-evm.dts b/arch/arm/boot/dts/k2l-evm.dts
> index fec4312..85cc7f2 100644
> --- a/arch/arm/boot/dts/k2l-evm.dts
> +++ b/arch/arm/boot/dts/k2l-evm.dts
> @@ -116,3 +116,15 @@
>   		};
>   	};
>   };
> +
> +&mdio {
> +	ethphy0: ethernet-phy@0 {
> +		compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
> +		reg =<0>;
> +	};
> +
> +	ethphy1: ethernet-phy@1 {
> +		compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
> +		reg =<1>;
> +	};
> +};

In the subject do s/k2l-mvm/k2l-evm/
diff mbox

Patch

diff --git a/arch/arm/boot/dts/k2l-evm.dts b/arch/arm/boot/dts/k2l-evm.dts
index fec4312..85cc7f2 100644
--- a/arch/arm/boot/dts/k2l-evm.dts
+++ b/arch/arm/boot/dts/k2l-evm.dts
@@ -116,3 +116,15 @@ 
 		};
 	};
 };
+
+&mdio {
+	ethphy0: ethernet-phy@0 {
+		compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
+		reg = <0>;
+	};
+
+	ethphy1: ethernet-phy@1 {
+		compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
+		reg = <1>;
+	};
+};