From patchwork Tue Jul 9 04:26:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2825066 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 26560C0AB2 for ; Tue, 9 Jul 2013 04:27:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D3EB2015F for ; Tue, 9 Jul 2013 04:27:33 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1B7E320154 for ; Tue, 9 Jul 2013 04:27:32 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwPWL-0008Rh-JT; Tue, 09 Jul 2013 04:27:21 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwPWJ-0005ur-9O; Tue, 09 Jul 2013 04:27:19 +0000 Received: from mail-pb0-x230.google.com ([2607:f8b0:400e:c01::230]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwPWB-0005uL-4i for linux-arm-kernel@lists.infradead.org; Tue, 09 Jul 2013 04:27:12 +0000 Received: by mail-pb0-f48.google.com with SMTP id ma3so5041725pbc.35 for ; Mon, 08 Jul 2013 21:26:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=E9b3SUbA2M5aimOHo50AUMVhOlugG7uBfIk32LTEQgo=; b=TCNs18k8SfNlRfE6zHU3YtkKjtpnmCb6sRIK9ktwN9nPCVuoZZtRUhcIrWI3M8f6R2 /lLOhElh88Yu3iGHcX1OXiZx29MxN9vlATNAxzh3k39NZncmysmF7qq/704i0XiTA+t/ U9TG4uxYmPrMx/6B2/H/zqM89rKU++S/lWMBDFVLQalqY85RRRNmMGKJeERrTJNJOgW5 1EKpJUDl5nZiG6WxjEHzKMbXpnfmK2mbyxDF/DcdvvkJewtXKkHiw742hLGoD6/53RSg 6oGp8dW6t05MF/e5HCmUykUJAyu4CGklYOxa5nyunrDxsCnIpgg/xbLmuC9HSNsaEvTd sUvw== X-Received: by 10.66.16.197 with SMTP id i5mr25657983pad.51.1373344009824; Mon, 08 Jul 2013 21:26:49 -0700 (PDT) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id nr8sm14746623pbc.6.2013.07.08.21.26.46 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Jul 2013 21:26:48 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Tue, 09 Jul 2013 13:26:54 +0900 Message-Id: <20130709042654.13658.20164.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: Add SMSC ethernet chip to KZM9D DT reference X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130709_002711_341468_90BF0B79 X-CRM114-Status: UNSURE ( 8.05 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: arnd@arndb.de, Magnus Damm , horms@verge.net.au, olof@lixom.net, shinya.kuribayashi.px@renesas.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 From: Magnus Damm Add support for the SMSC ethernet controller found on the KZM9D board to the KZM9D DT Reference code. Signed-off-by: Magnus Damm --- Built on top of renesas-next-20130704v2 and [PATCH] ARM: shmobile: KZM9D DT reference implementation arch/arm/boot/dts/emev2-kzm9d-reference.dts | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) --- 0002/arch/arm/boot/dts/emev2-kzm9d-reference.dts +++ work/arch/arm/boot/dts/emev2-kzm9d-reference.dts 2013-07-09 13:06:47.000000000 +0900 @@ -23,4 +23,35 @@ chosen { bootargs = "console=ttyS1,115200n81 ignore_loglevel root=/dev/nfs ip=dhcp nfsroot=,rsize=4096,wsize=4096"; }; + + reg_1p8v: regulator@0 { + compatible = "regulator-fixed"; + regulator-name = "fixed-1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_3p3v: regulator@1 { + compatible = "regulator-fixed"; + regulator-name = "fixed-3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + lan9220@20000000 { + compatible = "smsc,lan9220", "smsc,lan9115"; + reg = <0x20000000 0x10000>; + phy-mode = "mii"; + interrupt-parent = <&gpio0>; + interrupts = <1 1>; /* active high */ + reg-io-width = <4>; + smsc,irq-active-high; + smsc,irq-push-pull; + vddvario-supply = <®_1p8v>; + vdd33a-supply = <®_3p3v>; + }; };