Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752185Ab3FZJiG (ORCPT ); Wed, 26 Jun 2013 05:38:06 -0400 Received: from us02smtp2.synopsys.com ([198.182.60.77]:41683 "EHLO alvesta.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751413Ab3FZJiD (ORCPT ); Wed, 26 Jun 2013 05:38:03 -0400 From: Alexey Brodkin To: CC: Alexey Brodkin , Andy Shevchenko , Francois Romieu , "Joe Perches" , Vineet Gupta , Mischa Jonker , Arnd Bergmann , Grant Likely , Rob Herring , "Paul Gortmaker" , "David S. Miller" , , , Florian Fainelli Subject: [PATCH] arch/arc: angel4.dts - add description for "arc_emac" Date: Wed, 26 Jun 2013 13:37:49 +0400 Message-ID: <1372239469-28537-1-git-send-email-abrodkin@synopsys.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.121.8.30] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1698 Lines: 57 With this patch we introduce DT "arc_emac" description for ARCangel4. Description is based on info/example in "Documentation/devicetree/bindings/net/arc_emac.txt". Signed-off-by: Alexey Brodkin Cc: Andy Shevchenko Cc: Francois Romieu Cc: Joe Perches Cc: Vineet Gupta Cc: Mischa Jonker Cc: Arnd Bergmann Cc: Grant Likely Cc: Rob Herring Cc: Paul Gortmaker Cc: "David S. Miller" Cc: linux-kernel@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org Cc: Florian Fainelli --- arch/arc/boot/dts/angel4.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arc/boot/dts/angel4.dts b/arch/arc/boot/dts/angel4.dts index bae4f93..4fb2d6f 100644 --- a/arch/arc/boot/dts/angel4.dts +++ b/arch/arc/boot/dts/angel4.dts @@ -51,5 +51,21 @@ current-speed = <115200>; status = "okay"; }; + + ethernet@c0fc2000 { + compatible = "snps,arc-emac"; + reg = <0xc0fc2000 0x3c>; + interrupts = <6>; + mac-address = [ 00 11 22 33 44 55 ]; + clock-frequency = <80000000>; + max-speed = <100>; + phy = <&phy0>; + + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@0 { + reg = <1>; + }; + }; }; }; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/