linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* FW: P4080 device tree problems with fsl dpaa ...
@ 2011-10-14 21:57 Robert Sciuk
  2011-10-17  9:01 ` Thomas De Schampheleire
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Sciuk @ 2011-10-14 21:57 UTC (permalink / raw)
  To: linuxppc-dev



-----Original Message-----
From: Robert Sciuk=20
Sent: Friday, October 14, 2011 5:27 PM
To: 'devicetree-discuss@lists.ozlabs.org'
Subject: P4080 device tree problems with fsl dpaa ...

I've just joined the list, and I hope that this is not an inappropriate =
question, but I'm looking for some direction with respect to device =
trees, and the fsl, dpaa Ethernet drivers.

I'm wondering if anyone has had any experience with the FreeScale DPAA =
drivers for the 1g dtsec interface.  We are getting interfaces defined, =
and the tx count increases, but we are not seeing packets on the "wire".

...
[    0.911592] Freescale FM module (Oct 13 2011:14:41:07)
[    0.916745] cpu6/6: fsl_mac: FSL FMan MAC API based driver ()
[    0.923077] cpu6/6: fsl_mac: ffe4e0000.ethernet: FMan dTSEC version: =
0x08240101
[    0.930403] cpu6/6: fsl_mac: ffe4e0000.ethernet: FMan MAC address: =
00:a0:a9:be:ef:10
...
[    1.015863] cpu6/6: fsl_dpa: FSL DPAA Ethernet driver ()
[    1.021446] cpu6/6: fsl_dpa: ethernet.23: =
dpaa_eth.c:1684:dpa_bp_create() eth%d: Using private BM buffer pools
[    1.032263] cpu6/6: Using dynamic RX QM frame queues
[    1.037242] cpu6/6: Using dynamic TX QM frame queues
[    1.042263] cpu6/6: > WARNING (FM) =
[/export2/rd2/dev/robsci1/Work/gold/wr4linux-layer/obj/hotwire1/hotwire1/=
build/linux/drivers/n
et/dpa/NetCommSw/Peripherals/FM/fm.c:911 FmGetSetPortParams]:
[    1.059138] cpu6/6: FIFO size enlarged to 11008
[    1.063670] cpu6/6:
[    1.066672] cpu6/6: fsl_dpa: ethernet.23: =
dpaa_eth.c:2327:dpaa_oh_probe() no OH port bindings on node =
/fsl,dpaa/ethernet@0
[    1.077806] cpu6/6: fsl_dpa: ethernet.24: =
dpaa_eth.c:1684:dpa_bp_create() eth%d: Using private BM buffer pools
[    1.087826] cpu6/6: Using dynamic RX QM frame queues
[    1.092798] cpu6/6: Using dynamic TX QM frame queues
...

Our device tree defines the top level Ethernet as:
ethernet@0 {
 compatible =3D "fsl,p4080-dpa-ethernet", "fsl,dpa-ethernet";
 fsl,qman-channel =3D <0x13>;=20
 fsl,fman-mac =3D <0x50>;
};

And the mac and phys are defined as follows:

ethernet@e0000 {
 cell-index =3D <0x0>;
 compatible =3D "fsl,p4080-fman-1g-mac", "fsl,fman-1g-mac";
 reg =3D <0xe0000 0x1000>;
 fsl,port-handles =3D <0x22 0x23>;
 tbi-handle =3D <0x24>;
 phy-handle =3D <0x25>;
 phy-connection-type =3D "sgmii";
 ptimer-handle =3D <0x26>;
 linux,phandle =3D <0x50>;
};
mdio@e1120 {
 #address-cells =3D <0x1>;
 #size-cells =3D <0x0>;
 compatible =3D "fsl,fman-mdio";
 reg =3D <0xe1120 0xee0>;
 interrupts =3D <0x64 0x1 0x0 0x0>;
 gpios =3D <0x27 0x0 0x0 0x27 0x1 0x0>;
 linux,phandle =3D <0x28>;
 tbi-phy@8 {
  reg =3D <0x8>;
  device_type =3D "tbi-phy";
  linux,phandle =3D <0x24>;
 };
 phy0: ethernet-phy@0 {
  device_type=3D"ethernet-phy";
  compatible=3D"broadcom,BCM5482";
  reg =3D <0>;
  linux,phandle =3D <0x25>;
 };
};


I have no idea what an OH binding is, what it might look like, and what =
it entails, but I think that it might be a significant factor in our not =
seeing a working interface.  Has anyone any experience with dpaa device =
trees, and configuration?  Any pointers?  Any docs? Shots in the dark?=20

Robert Sciuk
Senior Designer, R&D.
905.738.3741 xt 22621

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-19  6:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-14 21:57 FW: P4080 device tree problems with fsl dpaa Robert Sciuk
2011-10-17  9:01 ` Thomas De Schampheleire
2011-10-17 18:34   ` Robert Sciuk
2011-10-18  7:57     ` Thomas De Schampheleire
2011-10-18 21:38       ` FW: P4080 device tree problems with fsl dpaa ... RESOLVED Robert Sciuk
2011-10-19  6:34         ` Thomas De Schampheleire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).