[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53284138.9030809@cogentembedded.com>
Date: Tue, 18 Mar 2014 16:51:04 +0400
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Zhangfei Gao <zhangfei.gao@...aro.org>,
"David S. Miller" <davem@...emloft.net>
CC: netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org
Subject: Re: [PATCH 1/3] Documentation: add Device tree bindings for Hisilicon
hip04 ethernet
Hello.
On 18-03-2014 12:40, Zhangfei Gao wrote:
> This patch adds the Device Tree bindings for the Hisilicon hip04
> Ethernet controller, including 100M / 1000M controller.
> Signed-off-by: Zhangfei Gao <zhangfei.gao@...aro.org>
> ---
> .../bindings/net/hisilicon-hip04-net.txt | 74 ++++++++++++++++++++
> 1 file changed, 74 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt
> diff --git a/Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt b/Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt
> new file mode 100644
> index 0000000..c918f08
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt
> @@ -0,0 +1,74 @@
> +Hisilicon hip04 Ethernet Controller
> +
> +* Ethernet controller node
> +
> +Required properties:
> +- compatible: should be "hisilicon,hip04-mac".
> +- reg: address and length of the register set for the device.
> +- interrupts: interrupt for the device.
> +- port: ppe port number connected to the controller: range from 0 to 31.
> +- speed: 100 (100M) or 1000 (1000M).
There's standard "max-speed" property for that, see
Documentation/devicetree/bindings/net/ethernet.txt in the 'net-next.git' repo.
> +Optional Properties:
> +- phy-handle : the phandle to a PHY node
Please refer instead to the above mentioned file for this standard
property -- it is already described there. See other binding files as the example.
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists