[PATCH] powerpc: define the fman node for the kmcoge4 DTS
Scott Wood
oss at buserror.net
Thu Apr 7 07:49:40 AEST 2016
On Wed, 2016-04-06 at 15:37 +0200, Valentin Longchamp wrote:
> Now that the FMAN mac driver has been merged the fman node is relevant.
>
> The kmcoge4 board implements 3 ethernet interfaces, 1 with a RGMII phy
> and 2 with fixed 1 Giga SGMII links.
>
> Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>
> ---
> arch/powerpc/boot/dts/fsl/kmcoge4.dts | 39
> +++++++++++++++++++++++++++++++++++
> 1 file changed, 39 insertions(+)
>
> diff --git a/arch/powerpc/boot/dts/fsl/kmcoge4.dts
> b/arch/powerpc/boot/dts/fsl/kmcoge4.dts
> index 6858ec9..1cec66d 100644
> --- a/arch/powerpc/boot/dts/fsl/kmcoge4.dts
> +++ b/arch/powerpc/boot/dts/fsl/kmcoge4.dts
> @@ -106,6 +106,45 @@
> sata at 221000 {
> status = "disabled";
> };
> +
> + fman0: fman at 400000 {
> + enet0: ethernet at e0000 {
> + phy-connection-type = "sgmii";
> + local-mac-address = [00 11 22 33 44 55];
> + fixed-link {
> + speed = <1000>;
> + full-duplex;
> + };
> + };
> + mdio0: mdio at e1120 {
> + front_phy: ethernet-phy at 11 {
> + reg = <0x11>;
> + };
> + };
> +
> + enet1: ethernet at e2000 {
> + phy-connection-type = "sgmii";
> + local-mac-address = [00 11 22 33 44 56];
> + fixed-link {
> + speed = <1000>;
> + full-duplex;
> + };
> + };
No hardcoded MAC addresses.
-Scott
More information about the Linuxppc-dev
mailing list