/*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#include
/ {
/* MGBE - A */
ethernet@6810000 {
status = "okay";
nvidia,mac-addr-idx = <0>;
nvidia,max-platform-mtu = <16383>;
nvidia,skip_mac_reset = <0>;
nvidia,mdio_addr = <0>;
/* 0=enable, 1=disable */
nvidia,pause_frames = <0>;
/* 1:10H , 0:5G */
nvidia,uphy-gbe-mode = <1>;
phy-mode = "10gbase-r";
gbe0-enable-10g;
gbe-uphy-config = <22>;
/* 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
nvidia,phy-iface-mode = <0>;
fixed-link{
speed = <10000>;
full-duplex;
};
};
/* MGBE - B */
ethernet@6910000 {
status = "okay";
nvidia,mac-addr-idx = <1>;
nvidia,max-platform-mtu = <16383>;
nvidia,skip_mac_reset = <0>;
nvidia,mdio_addr = <0>;
/* 0=enable, 1=disable */
nvidia,pause_frames = <0>;
phy-mode = "10gbase-r";
/* 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
nvidia,phy-iface-mode = <0>;
fixed-link{
speed = <10000>;
full-duplex;
};
};
/* MGBE - C */
ethernet@6A10000 {
status = "okay";
nvidia,mac-addr-idx = <2>;
nvidia,max-platform-mtu = <16383>;
nvidia,skip_mac_reset = <0>;
nvidia,mdio_addr = <0>;
/* 0=enable, 1=disable */
nvidia,pause_frames = <0>;
/* 1:10H , 0:5G */
nvidia,uphy-gbe-mode = <1>;
phy-mode = "10gbase-r";
gbe2-enable-10g;
gbe-uphy-config = <22>;
/* 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
nvidia,phy-iface-mode = <0>;
fixed-link{
speed = <10000>;
full-duplex;
};
};
/* MGBE - D */
ethernet@6B10000 {
status = "okay";
nvidia,mac-addr-idx = <3>;
nvidia,max-platform-mtu = <16383>;
nvidia,skip_mac_reset = <0>;
nvidia,mdio_addr = <0>;
/* 0=enable, 1=disable */
nvidia,pause_frames = <0>;
phy-mode = "10gbase-r";
/* 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
nvidia,phy-iface-mode = <0>;
fixed-link{
speed = <10000>;
full-duplex;
};
};
};