From patchwork Fri Aug 14 13:53:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 7015181 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B7742C05AD for ; Fri, 14 Aug 2015 13:53:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ECEC4203F1 for ; Fri, 14 Aug 2015 13:53:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F011320444 for ; Fri, 14 Aug 2015 13:53:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754651AbbHNNxP (ORCPT ); Fri, 14 Aug 2015 09:53:15 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:33543 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754519AbbHNNxP (ORCPT ); Fri, 14 Aug 2015 09:53:15 -0400 Received: by wijp15 with SMTP id p15so20165186wij.0 for ; Fri, 14 Aug 2015 06:53:14 -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=GK1yd+ZUTmSFLhIOSDDuMIw3AD3CSXFP2IXhLv2RQ/c=; b=w7OwfMw0gC2mDXXr27I5Oje0rtM15rW46KAEpoI0ACGWdIMAwZery6bu2Gb+RsKUFn ELVJlmzJhRxDtR4Bh6GonLjT/4nMBsggggaH0Eha9UpVoK//JublcK4BPu/bYQLmExQr DnugM+fQyfizjRatNFI3o5bqGlPk9iHmDaEPQUCvxA5IXR/eOLwEK0XCIXEidySDnwZ1 bYnNve8MVgwKZwUpvft9Bek72IWPYuDUJZ0rI3PbbuHUmwuZuEX7Uk0VjrOTIdoBdUuS 14J/IG9UKiJTiuza0lufqFFpSikzzsQZtwU+GUAkoWSODuUXgGhhkeiQFGaVA/PXOaCh y0jg== X-Received: by 10.194.122.200 with SMTP id lu8mr82145wjb.83.1439560394027; Fri, 14 Aug 2015 06:53:14 -0700 (PDT) Received: from groucho.site (tsn109-201-154-192.dyn.nltelcom.net. [109.201.154.192]) by smtp.gmail.com with ESMTPSA id fa8sm3211027wib.14.2015.08.14.06.53.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Aug 2015 06:53:13 -0700 (PDT) From: Ulrich Hecht To: horms@verge.net.au, linux-sh@vger.kernel.org Cc: magnus.damm@gmail.com, Ulrich Hecht Subject: [PATCH 2/2] ARM: shmobile: bockw dts: enable SMSC interrupt Date: Fri, 14 Aug 2015 15:53:08 +0200 Message-Id: <1439560388-5061-3-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1439560388-5061-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1439560388-5061-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=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 --- arch/arm/boot/dts/r8a7778-bockw.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts index 8a54076..13645db 100644 --- a/arch/arm/boot/dts/r8a7778-bockw.dts +++ b/arch/arm/boot/dts/r8a7778-bockw.dts @@ -65,6 +65,20 @@ }; &bsc { + fpga@18200000 { + 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 +89,9 @@ reg-io-width = <4>; vddvario-supply = <&fixedregulator3v3>; vdd33a-supply = <&fixedregulator3v3>; + + pinctrl-0 = <&irq_pins>; + pinctrl-names = "default"; }; };