aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2017-01-12 12:14:29 -0500
committerTony Lindgren <tony@atomide.com>2017-01-12 17:52:54 -0500
commit52349a2abff1a675ac51077e7bfc60054872245d (patch)
treef0541859af0a838565046d1ea847ea28eef666eb
parentc554a6d8fe5cd899486247ef5f9d3dc4d693685e (diff)
ARM: dts: am57xx-beagle-x15: implement errata "Ethernet RGMII2 Limited to 10/100 Mbps"
According to errata i880 description the speed of Ethernet port 1 on AM572x SoCs rev 1.1 should be limited to 10/100Mbps, because RGMII2 Switching Characteristics are not compatible with 1000 Mbps operation [1]. The issue is fixed with Rev 2.0 silicon. Hence, rework Beagle-X15 and Begale-X15-revb1 to use phy-handle instead of phy_id and apply corresponding limitation to the Ethernet Phy 1. [1] http://www.ti.com/lit/er/sprz429j/sprz429j.pdf Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi14
-rw-r--r--arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts5
-rw-r--r--arch/arm/boot/dts/am57xx-beagle-x15.dts5
3 files changed, 22 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
index 78bee26361f1..0429fa0822e0 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
+++ b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
@@ -421,19 +421,29 @@
421 <&dra7_pmx_core 0x3f8>; 421 <&dra7_pmx_core 0x3f8>;
422}; 422};
423 423
424&davinci_mdio {
425 phy0: ethernet-phy@1 {
426 reg = <1>;
427 };
428
429 phy1: ethernet-phy@2 {
430 reg = <2>;
431 };
432};
433
424&mac { 434&mac {
425 status = "okay"; 435 status = "okay";
426 dual_emac; 436 dual_emac;
427}; 437};
428 438
429&cpsw_emac0 { 439&cpsw_emac0 {
430 phy_id = <&davinci_mdio>, <1>; 440 phy-handle = <&phy0>;
431 phy-mode = "rgmii"; 441 phy-mode = "rgmii";
432 dual_emac_res_vlan = <1>; 442 dual_emac_res_vlan = <1>;
433}; 443};
434 444
435&cpsw_emac1 { 445&cpsw_emac1 {
436 phy_id = <&davinci_mdio>, <2>; 446 phy-handle = <&phy1>;
437 phy-mode = "rgmii"; 447 phy-mode = "rgmii";
438 dual_emac_res_vlan = <2>; 448 dual_emac_res_vlan = <2>;
439}; 449};
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts b/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts
index ca85570629fd..39a92aff0a0d 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts
+++ b/arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts
@@ -22,3 +22,8 @@
22 vmmc-supply = <&vdd_3v3>; 22 vmmc-supply = <&vdd_3v3>;
23 vmmc-aux-supply = <&ldo1_reg>; 23 vmmc-aux-supply = <&ldo1_reg>;
24}; 24};
25
26/* errata i880 "Ethernet RGMII2 Limited to 10/100 Mbps" */
27&phy1 {
28 max-speed = <100>;
29};
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
index 8c66f2efd283..19a60a11c198 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
+++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
@@ -22,3 +22,8 @@
22&mmc1 { 22&mmc1 {
23 vmmc-supply = <&ldo1_reg>; 23 vmmc-supply = <&ldo1_reg>;
24}; 24};
25
26/* errata i880 "Ethernet RGMII2 Limited to 10/100 Mbps" */
27&phy1 {
28 max-speed = <100>;
29};