diff options
author | Liu Yu-B13201 <Yu.Liu@freescale.com> | 2010-01-13 17:13:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-21 04:17:54 -0500 |
commit | d03e067778104911cc02cb92dd152df2f3b988a5 (patch) | |
tree | 8ec2c29d1c23145bff81f0acccf8f7565051cc9d /arch/powerpc | |
parent | b0f752210c0aa5e3d9ece4cbfefdc43092a68b83 (diff) |
dts/mpc8569mds: Cleanup tbi phy to support rtbi
After these change, when need to work in rtbi mode,
just change phy-connection-type to "rtbi".
Also, this work can be done by u-boot.
Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8569mds.dts | 47 |
1 files changed, 42 insertions, 5 deletions
diff --git a/arch/powerpc/boot/dts/mpc8569mds.dts b/arch/powerpc/boot/dts/mpc8569mds.dts index 795eb362fcf9..8b72eaff5b03 100644 --- a/arch/powerpc/boot/dts/mpc8569mds.dts +++ b/arch/powerpc/boot/dts/mpc8569mds.dts | |||
@@ -535,6 +535,7 @@ | |||
535 | rx-clock-name = "none"; | 535 | rx-clock-name = "none"; |
536 | tx-clock-name = "clk12"; | 536 | tx-clock-name = "clk12"; |
537 | pio-handle = <&pio1>; | 537 | pio-handle = <&pio1>; |
538 | tbi-handle = <&tbi1>; | ||
538 | phy-handle = <&qe_phy0>; | 539 | phy-handle = <&qe_phy0>; |
539 | phy-connection-type = "rgmii-id"; | 540 | phy-connection-type = "rgmii-id"; |
540 | }; | 541 | }; |
@@ -579,7 +580,7 @@ | |||
579 | reg = <0x6>; | 580 | reg = <0x6>; |
580 | device_type = "ethernet-phy"; | 581 | device_type = "ethernet-phy"; |
581 | }; | 582 | }; |
582 | tbi-phy@11 { | 583 | tbi1: tbi-phy@11 { |
583 | reg = <0x11>; | 584 | reg = <0x11>; |
584 | device_type = "tbi-phy"; | 585 | device_type = "tbi-phy"; |
585 | }; | 586 | }; |
@@ -590,7 +591,7 @@ | |||
590 | reg = <0x3520 0x18>; | 591 | reg = <0x3520 0x18>; |
591 | compatible = "fsl,ucc-mdio"; | 592 | compatible = "fsl,ucc-mdio"; |
592 | 593 | ||
593 | tbi0: tbi-phy@15 { | 594 | tbi6: tbi-phy@15 { |
594 | reg = <0x15>; | 595 | reg = <0x15>; |
595 | device_type = "tbi-phy"; | 596 | device_type = "tbi-phy"; |
596 | }; | 597 | }; |
@@ -600,7 +601,7 @@ | |||
600 | #size-cells = <0>; | 601 | #size-cells = <0>; |
601 | reg = <0x3720 0x38>; | 602 | reg = <0x3720 0x38>; |
602 | compatible = "fsl,ucc-mdio"; | 603 | compatible = "fsl,ucc-mdio"; |
603 | tbi1: tbi-phy@17 { | 604 | tbi8: tbi-phy@17 { |
604 | reg = <0x17>; | 605 | reg = <0x17>; |
605 | device_type = "tbi-phy"; | 606 | device_type = "tbi-phy"; |
606 | }; | 607 | }; |
@@ -617,10 +618,22 @@ | |||
617 | rx-clock-name = "none"; | 618 | rx-clock-name = "none"; |
618 | tx-clock-name = "clk12"; | 619 | tx-clock-name = "clk12"; |
619 | pio-handle = <&pio3>; | 620 | pio-handle = <&pio3>; |
621 | tbi-handle = <&tbi3>; | ||
620 | phy-handle = <&qe_phy2>; | 622 | phy-handle = <&qe_phy2>; |
621 | phy-connection-type = "rgmii-id"; | 623 | phy-connection-type = "rgmii-id"; |
622 | }; | 624 | }; |
623 | 625 | ||
626 | mdio@2320 { | ||
627 | #address-cells = <1>; | ||
628 | #size-cells = <0>; | ||
629 | reg = <0x2320 0x18>; | ||
630 | compatible = "fsl,ucc-mdio"; | ||
631 | tbi3: tbi-phy@11 { | ||
632 | reg = <0x11>; | ||
633 | device_type = "tbi-phy"; | ||
634 | }; | ||
635 | }; | ||
636 | |||
624 | enet1: ucc@3000 { | 637 | enet1: ucc@3000 { |
625 | device_type = "network"; | 638 | device_type = "network"; |
626 | compatible = "ucc_geth"; | 639 | compatible = "ucc_geth"; |
@@ -632,10 +645,22 @@ | |||
632 | rx-clock-name = "none"; | 645 | rx-clock-name = "none"; |
633 | tx-clock-name = "clk17"; | 646 | tx-clock-name = "clk17"; |
634 | pio-handle = <&pio2>; | 647 | pio-handle = <&pio2>; |
648 | tbi-handle = <&tbi2>; | ||
635 | phy-handle = <&qe_phy1>; | 649 | phy-handle = <&qe_phy1>; |
636 | phy-connection-type = "rgmii-id"; | 650 | phy-connection-type = "rgmii-id"; |
637 | }; | 651 | }; |
638 | 652 | ||
653 | mdio@3120 { | ||
654 | #address-cells = <1>; | ||
655 | #size-cells = <0>; | ||
656 | reg = <0x3120 0x18>; | ||
657 | compatible = "fsl,ucc-mdio"; | ||
658 | tbi2: tbi-phy@11 { | ||
659 | reg = <0x11>; | ||
660 | device_type = "tbi-phy"; | ||
661 | }; | ||
662 | }; | ||
663 | |||
639 | enet3: ucc@3200 { | 664 | enet3: ucc@3200 { |
640 | device_type = "network"; | 665 | device_type = "network"; |
641 | compatible = "ucc_geth"; | 666 | compatible = "ucc_geth"; |
@@ -647,10 +672,22 @@ | |||
647 | rx-clock-name = "none"; | 672 | rx-clock-name = "none"; |
648 | tx-clock-name = "clk17"; | 673 | tx-clock-name = "clk17"; |
649 | pio-handle = <&pio4>; | 674 | pio-handle = <&pio4>; |
675 | tbi-handle = <&tbi4>; | ||
650 | phy-handle = <&qe_phy3>; | 676 | phy-handle = <&qe_phy3>; |
651 | phy-connection-type = "rgmii-id"; | 677 | phy-connection-type = "rgmii-id"; |
652 | }; | 678 | }; |
653 | 679 | ||
680 | mdio@3320 { | ||
681 | #address-cells = <1>; | ||
682 | #size-cells = <0>; | ||
683 | reg = <0x3320 0x18>; | ||
684 | compatible = "fsl,ucc-mdio"; | ||
685 | tbi4: tbi-phy@11 { | ||
686 | reg = <0x11>; | ||
687 | device_type = "tbi-phy"; | ||
688 | }; | ||
689 | }; | ||
690 | |||
654 | enet5: ucc@3400 { | 691 | enet5: ucc@3400 { |
655 | device_type = "network"; | 692 | device_type = "network"; |
656 | compatible = "ucc_geth"; | 693 | compatible = "ucc_geth"; |
@@ -661,7 +698,7 @@ | |||
661 | local-mac-address = [ 00 00 00 00 00 00 ]; | 698 | local-mac-address = [ 00 00 00 00 00 00 ]; |
662 | rx-clock-name = "none"; | 699 | rx-clock-name = "none"; |
663 | tx-clock-name = "none"; | 700 | tx-clock-name = "none"; |
664 | tbi-handle = <&tbi0>; | 701 | tbi-handle = <&tbi6>; |
665 | phy-handle = <&qe_phy5>; | 702 | phy-handle = <&qe_phy5>; |
666 | phy-connection-type = "sgmii"; | 703 | phy-connection-type = "sgmii"; |
667 | }; | 704 | }; |
@@ -676,7 +713,7 @@ | |||
676 | local-mac-address = [ 00 00 00 00 00 00 ]; | 713 | local-mac-address = [ 00 00 00 00 00 00 ]; |
677 | rx-clock-name = "none"; | 714 | rx-clock-name = "none"; |
678 | tx-clock-name = "none"; | 715 | tx-clock-name = "none"; |
679 | tbi-handle = <&tbi1>; | 716 | tbi-handle = <&tbi8>; |
680 | phy-handle = <&qe_phy7>; | 717 | phy-handle = <&qe_phy7>; |
681 | phy-connection-type = "sgmii"; | 718 | phy-connection-type = "sgmii"; |
682 | }; | 719 | }; |