Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc65185d authored by Andy Fleming's avatar Andy Fleming Committed by Jeff Garzik
Browse files

Add phy-connection-type to gianfar nodes



The TSEC/eTSEC automatically detect their PHY interface type, unless
the type is RGMII-ID (RGMII with internal delay).  In that situation,
it just detects RGMII.  In order to fix this, we need to pass in rgmii-id
if that is the connection type.

Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent 1d5e83aa
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -1250,6 +1250,12 @@ platforms are moved over to use the flattened-device-tree model.
      network device.  This is used by the bootwrapper to interpret
      network device.  This is used by the bootwrapper to interpret
      MAC addresses passed by the firmware when no information other
      MAC addresses passed by the firmware when no information other
      than indices is available to associate an address with a device.
      than indices is available to associate an address with a device.
    - phy-connection-type : a string naming the controller/PHY interface type,
      i.e., "mii" (default), "rmii", "gmii", "rgmii", "rgmii-id", "sgmii",
      "tbi", or "rtbi".  This property is only really needed if the connection
      is of type "rgmii-id", as all other connection types are detected by
      hardware.



  Example:
  Example:


+4 −0
Original line number Original line Diff line number Diff line
@@ -131,6 +131,7 @@
			interrupts = <1d 2 1e 2 22 2>;
			interrupts = <1d 2 1e 2 22 2>;
			interrupt-parent = <&mpic>;
			interrupt-parent = <&mpic>;
			phy-handle = <&phy0>;
			phy-handle = <&phy0>;
			phy-connection-type = "rgmii-id";
		};
		};


		ethernet@25000 {
		ethernet@25000 {
@@ -150,6 +151,7 @@
			interrupts = <23 2 24 2 28 2>;
			interrupts = <23 2 24 2 28 2>;
			interrupt-parent = <&mpic>;
			interrupt-parent = <&mpic>;
			phy-handle = <&phy1>;
			phy-handle = <&phy1>;
			phy-connection-type = "rgmii-id";
		};
		};
		
		
		ethernet@26000 {
		ethernet@26000 {
@@ -169,6 +171,7 @@
			interrupts = <1F 2 20 2 21 2>;
			interrupts = <1F 2 20 2 21 2>;
			interrupt-parent = <&mpic>;
			interrupt-parent = <&mpic>;
			phy-handle = <&phy2>;
			phy-handle = <&phy2>;
			phy-connection-type = "rgmii-id";
		};
		};


		ethernet@27000 {
		ethernet@27000 {
@@ -188,6 +191,7 @@
			interrupts = <25 2 26 2 27 2>;
			interrupts = <25 2 26 2 27 2>;
			interrupt-parent = <&mpic>;
			interrupt-parent = <&mpic>;
			phy-handle = <&phy3>;
			phy-handle = <&phy3>;
			phy-connection-type = "rgmii-id";
		};
		};
		serial@4500 {
		serial@4500 {
			device_type = "serial";
			device_type = "serial";