From patchwork Tue Dec 2 08:37:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5417791 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C3B659F1CD for ; Tue, 2 Dec 2014 08:37:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08B8A2027D for ; Tue, 2 Dec 2014 08:37:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2CC682026C for ; Tue, 2 Dec 2014 08:37:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751587AbaLBIhR (ORCPT ); Tue, 2 Dec 2014 03:37:17 -0500 Received: from mail-wi0-f177.google.com ([209.85.212.177]:45408 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751285AbaLBIhP (ORCPT ); Tue, 2 Dec 2014 03:37:15 -0500 Received: by mail-wi0-f177.google.com with SMTP id l15so20103682wiw.16 for ; Tue, 02 Dec 2014 00:37:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=BgylNbXYFOm6A4pepCTABygO6Bi/iS0QL/wIscnKb0U=; b=qieHOAzHCpIhztRW+N1oTu6ivmYatM73bOP4k9VfVGR6P7mcUT6ilFPW5w9b0zGTLx x6j0eL9NQ5S+NAV1ntALj8+41RKDxvzmfmGXChfzznmnvEdZ9F4+HTQz3RGgkukyylMN XnMtgAGWgB9Swmnho/le1+6QJ4X7gvVennq344UZZLaMorJIr8iUTKxDlnaVRhicsbCZ CZa55919KFtaVMxA8iTvSYslAyQfEcbHjCrP+VR5IxoRpzpBKnkuLmV10tXC5FfCrKWP m3P82o1vxvHX6Fw/apayad7waiffzimTsoQJFWSiyZs80usPaD0Nn1iBW2A5smOCWgf3 zDnw== X-Received: by 10.194.189.138 with SMTP id gi10mr29871881wjc.86.1417509434282; Tue, 02 Dec 2014 00:37:14 -0800 (PST) Received: from groucho.site (ipbcc02219.dynamic.kabel-deutschland.de. [188.192.34.25]) by mx.google.com with ESMTPSA id bc1sm45402970wib.16.2014.12.02.00.37.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Dec 2014 00:37:13 -0800 (PST) From: Ulrich Hecht To: horms@verge.net.au Cc: geert@linux-m68k.org, linux-sh@vger.kernel.org, magnus.damm@gmail.com, Ulrich Hecht Subject: [PATCH 1/3] ARM: shmobile: ape6evm-reference: add ethernet controller to DT Date: Tue, 2 Dec 2014 09:37:05 +0100 Message-Id: <1417509427-31690-2-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1417509427-31690-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1417509427-31690-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Describes the SMSC LAN9220 chip. It is not currently enabled because a suitable mechanism for activating its clock (zb) is yet to be developed. Signed-off-by: Ulrich Hecht --- arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts index 84e05f7..a218c26 100644 --- a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts +++ b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts @@ -68,6 +68,19 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0x80000000>; + + ethernet@8000000 { + compatible = "smsc,lan9220", "smsc,lan9115"; + reg = <0x08000000 0x1000>; + interrupt-parent = <&irqc1>; + interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; + phy-mode = "mii"; + reg-io-width = <4>; + smsc,irq-active-high; + smsc,irq-push-pull; + vddvario-supply = <&ape6evm_fixed_3v3>; + vdd33a-supply = <&ape6evm_fixed_3v3>; + }; }; };