From patchwork Thu Aug 20 15:45:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 7045501 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 3151E9F373 for ; Thu, 20 Aug 2015 15:46:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 678AA205D4 for ; Thu, 20 Aug 2015 15:46:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 786E3204CF for ; Thu, 20 Aug 2015 15:46:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752875AbbHTPqP (ORCPT ); Thu, 20 Aug 2015 11:46:15 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:34565 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752827AbbHTPqO (ORCPT ); Thu, 20 Aug 2015 11:46:14 -0400 Received: by wicne3 with SMTP id ne3so19825481wic.1 for ; Thu, 20 Aug 2015 08:46:13 -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=ADGwVXS1swtjWtuwG6mnmTditmvsigqC7mOYhwgPr5ljrD7bsssYEj3wHymeiILxtv QaFXgkUcnWAUFvpVG3ipAJtxDBM2jsgyQ/pvkuLZxz2SSyiweWCMVSWNtPqIoTOotlFg bxPhz07cJIeXIdjo0rD4nNFeKhx+EzORSsetqmllI7xUrm0vet7jP0hE2+T9l9VrjbGY yH/2XFLoWuFWqVFfo1RYC9FpHKdBpEXPoBYG3STf+5R+viwfSzlPRp9icOIeYLVS6d/R rvjpIloyjbODE4X9UvJ6yz9HKvpFe7JJck8IxCf2pE/O2nQ5LwHC/7no7PNLulQaLjUp PXBg== X-Received: by 10.180.79.10 with SMTP id f10mr64966891wix.1.1440085573497; Thu, 20 Aug 2015 08:46:13 -0700 (PDT) Received: from groucho.site (ip9234ec9e.dynamic.kabel-deutschland.de. [146.52.236.158]) by smtp.gmail.com with ESMTPSA id gj13sm6643165wic.22.2015.08.20.08.46.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2015 08:46:12 -0700 (PDT) From: Ulrich Hecht To: horms@verge.net.au, jason@lakedaemon.net Cc: linux-sh@vger.kernel.org, magnus.damm@gmail.com, geert+renesas@glider.be, Ulrich Hecht Subject: [PATCH v2 3/3] ARM: shmobile: bockw dts: enable SMSC interrupt Date: Thu, 20 Aug 2015 17:45:56 +0200 Message-Id: <1440085556-4340-4-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1440085556-4340-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1440085556-4340-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.4 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 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"; }; };