Regarding P2020 in AMP mode

Prasanna Khanapur pskhanapur at googlemail.com
Sat May 7 22:20:46 EST 2011


Hi,
I'm running P2020 in AMP mode, each core running its linux os.
Ethernet 1(@25000) and Ethernet 2(@26000) assigned to Core0 are working
fine.
I'm facing problems with Ethernet interface(@24000) assigned to Core1, its
not working.

I'm using dts file which were added by :
http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-September/075594.html

Looks either there is some mistake in the dts file or my understanding is
wrong.

MDIO @24000 is defined in core0 dts file though the Ethernet is assigned to
Core 1.

DTS files :
http://web.mornfall.net/repos/linux-2.6/git/arch/powerpc/boot/dts/p2020rdb_camp_core0.dts
http://web.mornfall.net/repos/linux-2.6/git/arch/powerpc/boot/dts/p2020rdb_camp_core1.dts

		mdio at 24520 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "fsl,gianfar-mdio";
			reg = <0x24520 0x20>;

			phy0: ethernet-phy at 0 {
				interrupt-parent = <&mpic>;
				interrupts = <3 1>;
				reg = <0x0>;
			};
			phy1: ethernet-phy at 1 {
				interrupt-parent = <&mpic>;
				interrupts = <3 1>;
				reg = <0x1>;
			};
		};

Also, MDIO for 25520 has wrong register value:

		mdio at 25520 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "fsl,gianfar-tbi";
			reg = <0x26520 0x20>;

			tbi0: tbi-phy at 11 {
				reg = <0x11>;
				device_type = "tbi-phy";
			};
		};



Please correct me if  I'm wrong.  Has freescale released a working dts files
for P2020 in AMP mode ? as this seems to be not working.

Best Regards
Prasanna Khanapur.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20110507/a08caf66/attachment.html>


More information about the Linuxppc-dev mailing list