From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752617AbdLULdD (ORCPT ); Thu, 21 Dec 2017 06:33:03 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:41847 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751389AbdLULdA (ORCPT ); Thu, 21 Dec 2017 06:33:00 -0500 Date: Thu, 21 Dec 2017 12:32:54 +0100 From: Andrew Lunn To: Kunihiko Hayashi Cc: David Miller , netdev@vger.kernel.org, Mark Rutland , Florian Fainelli , Masami Hiramatsu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Rob Herring , Jassi Brar , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH net-next v7 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE Message-ID: <20171221113254.GB9930@lunn.ch> References: <1513854776-4149-1-git-send-email-hayashi.kunihiko@socionext.com> <1513854776-4149-2-git-send-email-hayashi.kunihiko@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1513854776-4149-2-git-send-email-hayashi.kunihiko@socionext.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +Optional properties: > + - resets: A phandle to the reset control for the MAC > + - local-mac-address: See ethernet.txt in the same directory. > + > +Required subnode: > + - mdio: Device tree subnode with the following required properties: > + > +Example: It sounds like there should be some properties before the Example. Andrew > + > + ether: ethernet@65000000 { > + compatible = "socionext,uniphier-ld20-ave4"; > + reg = <0x65000000 0x8500>; > + interrupts = <0 66 4>; > + phy-mode = "rgmii"; > + phy-handle = <ðphy>; > + clocks = <&sys_clk 6>; > + resets = <&sys_rst 6>; > + local-mac-address = [00 00 00 00 00 00]; Typically you would put a blank line here, before the mdio node. > + mdio { > + #address-cells = <1>; > + #size-cells = <0>; > + ethphy: ethphy@1 { > + reg = <1>; > + }; > + }; > + }; Andrew