From patchwork Tue Sep 8 15:42:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 7142041 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 040A99F326 for ; Tue, 8 Sep 2015 15:42:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2E2FA207CC for ; Tue, 8 Sep 2015 15:42:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E3F2207CB for ; Tue, 8 Sep 2015 15:42:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754603AbbIHPmu (ORCPT ); Tue, 8 Sep 2015 11:42:50 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:35126 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753551AbbIHPmt (ORCPT ); Tue, 8 Sep 2015 11:42:49 -0400 Received: by wicge5 with SMTP id ge5so121912082wic.0 for ; Tue, 08 Sep 2015 08:42:48 -0700 (PDT) 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=7tvNX2HzMlKIJlmURlMg21y3qWoDa8WKVgIpL51Ji4U=; b=Dhlx6KHspD1ov1oLjVAeXoei2R/g2+02q67Xdy/6WEqjY2uKoFcbTs0CP0vfh9hMhG oqYci0gjGNMfRnpAt3SmdV0RCpwjFzZZRJ76jYDRD+W7ROicL18R7BjTkFRWh6lDT2SH r7IjiUBduCKl+ZeGz/vLZa9wK5bhgBLpbXbjf5TpPiVaSsQzYWuqWSGwAVprURU32+LF Od/HJhGjBqIbi7d1uJSt6sGCD6Pw5sEAojPFE2LrItkOwWCKJj96IvAXlOnqoHk0F0Vt qGNvy95xkXLF76OOUxHCsi69o8RgQK2YnF0UMU8vGWDXcfimKLMWDbfWjqZI1qjmJyIv HFNw== X-Received: by 10.194.63.43 with SMTP id d11mr27145206wjs.98.1441726968516; Tue, 08 Sep 2015 08:42:48 -0700 (PDT) Received: from groucho.site (ip9234f55b.dynamic.kabel-deutschland.de. [146.52.245.91]) by smtp.gmail.com with ESMTPSA id uc12sm6409493wib.13.2015.09.08.08.42.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Sep 2015 08:42:47 -0700 (PDT) From: Ulrich Hecht To: horms@verge.net.au, linux-sh@vger.kernel.org Cc: jason@lakedaemon.net, magnus.damm@gmail.com, geert+renesas@glider.be, Ulrich Hecht Subject: [PATCH v3 3/5] ARM: shmobile: bockw dts: enable SMSC interrupt Date: Tue, 8 Sep 2015 17:42:24 +0200 Message-Id: <1441726946-30131-4-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1441726946-30131-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1441726946-30131-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 Clears bit 4 in IRQMR0 in the FPGA to enable the SMSC interrupt. Signed-off-by: Ulrich Hecht Acked-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7778-bockw.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts index 8a54076..73ba7de 100644 --- a/arch/arm/boot/dts/r8a7778-bockw.dts +++ b/arch/arm/boot/dts/r8a7778-bockw.dts @@ -65,6 +65,23 @@ }; &bsc { + fpga@18200000 { + /* Simplified description that only serves to enable the + * ethernet controller. + */ + compatible = "pinctrl-single"; + reg = <0x18200030 2>; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-single,bit-per-mux; + pinctrl-single,register-width = <16>; + pinctrl-single,function-mask = <1>; + + irq_pins: fpga_irq_pins { + pinctrl-single,bits = <0 0 0x10>; + }; + }; + ethernet@18300000 { compatible = "smsc,lan9220", "smsc,lan9115"; reg = <0x18300000 0x1000>; @@ -75,6 +92,9 @@ reg-io-width = <4>; vddvario-supply = <&fixedregulator3v3>; vdd33a-supply = <&fixedregulator3v3>; + + pinctrl-0 = <&irq_pins>; + pinctrl-names = "default"; }; };