[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201312221040.47822.arnd@arndb.de>
Date: Sun, 22 Dec 2013 10:40:47 +0100
From: Arnd Bergmann <arnd@...db.de>
To: linux-arm-kernel@...ts.infradead.org
Cc: Iyappan Subramanian <isubramanian@....com>, davem@...emloft.net,
devicetree@...r.kernel.org, gregkh@...uxfoundation.org,
patches@....com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, jcm@...hat.com,
Keyur Chudgar <kchudgar@....com>, Ravi Patel <rapatel@....com>
Subject: Re: [PATCH 1/5] Documentation: APM X-Gene SoC Ethernet DTS binding documentation
On Saturday 21 December 2013, Iyappan Subramanian wrote:
> @@ -0,0 +1,67 @@
> +APM X-Gene SoC Ethernet nodes
> +
> +Ethernet nodes are defined to describe on-chip ethernet interfaces in
> +APM X-Gene SoC. Ethernet subsystem communicates with a central Queue Manager
> +(QMTM) using messages for transmit, receive and allocating data buffers.
> +There are multiple ethernet interfaces in APM X-Gene SoC. Each ethernet
> +interface has its own node. Its corresponding clock nodes are shown below.
> +
> +Required properties:
> +- compatible : Shall be "apm,xgene-enet"
> +- reg : First memory resource shall be the Ethernet CSR
> + memory resource for indirect MAC access.
> + Second memory resource shall be the Ethernet CSR
> + memory resource.
> + Third memory resource shall be the Ethernet CSR
> + memory resource for indirect MII access.
What is a "CSR"?
> +- interrupts : First interrupt resource shall be the Ethernet global
> + Error interrupt.
> + : Second interrupt resource shall be the Ethernet MAC
> + Error interrupt.
> + : Third interrupt resource shall be the Ethernet QM
> + interface interrupt.
No regular interrupts?
> +- clocks : Reference to the clock entry.
> +- local-mac-address : Shall be ethernet mac address.
> +- max-frame-size : Shall be maximum ethernet frame size.
> +- devid : Shall be ethernet interface number.
> +- phyid : Shall be ethernet MII phy address.
> +- phy-mode : Shall be ethernet MII mode.
Can you explain what the interface number is for?
Is the phy actually part of the ethernet device? Since it has its
own register range, it seems likely that it's actually a separate
device that just happens to be used together with the mac and should
have its own device node and driver.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists