Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp132939ybj; Wed, 6 May 2020 13:21:04 -0700 (PDT) X-Google-Smtp-Source: APiQypJIGaqxgnt7oh+E5YeYMz/mfzZmp5IJwNFaoRZb2Hga3rOuENi4/DYk9BJeOCzmvO7Nf+x4 X-Received: by 2002:a17:906:c7c5:: with SMTP id dc5mr9224545ejb.50.1588796464755; Wed, 06 May 2020 13:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588796464; cv=none; d=google.com; s=arc-20160816; b=SC5CvaR/kT+Xz8DugAHqCCpp6l3Htg4FIOTr8hgfRPkpJEOT6/HVETkvT5hxsdiGv/ ftoHfNSgqFt4jQ1xFWWOwJjD/aPY8wntEpt3Cypt/RLTwHUctnUSJ3X/jdTUUPGNF9+4 sIXosFDbC9dOwd1zz5gAK0nSZqCteR8JiziJTuW/RywCJO50klJbRRCXaOrFBdLJCTGY Te0pOlwyvIVN3IBkMqBDkZl0GMvCDUbEHAC1psCZ0Gr7mdtTVZJvzDU5tcmOSobiiiws 89jfFQOvbnHyjC2thUZh+wE8njuVLAsQUc5/Xvf+wNIHIqDnhAdnbp3kX9Qahwc/AkWf fsyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=VQfxrsFYCkpF0E1VjajLAHzUKFis/1ItnBr220FD0lM=; b=ySMwAAe0e0+7dkquw26uWis3cC9yDkTSiFRj3BcCps31ACWdDiTvPHac7hINQPTKif Ha/vkGFnsOrgABn4HRWldXfs55dKIsoCO8xPmVR2A8rBiynpI7wQbaXQiXw6muBlve1B hdxku8bOgOcR6gxs3wAMY4Mh8HMxQ1XKWYogE0b2t5g4EPcO15XUFC87IdyxTOAGqKdu lU5FCTcMA022It1MnnXD2zXQwMqjW3Xu97wLfsA6tuiemksKoXzPIs3yHlfwSk6vkslO UjPZ/nu4zivtdfZ96FiVfnRnH5jFURccpZ0f+mTw/tGHK0KyuBIW9ehAZzhEark3a00x b1NQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f15si1862961ejf.515.2020.05.06.13.20.41; Wed, 06 May 2020 13:21:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729780AbgEFTwc (ORCPT + 99 others); Wed, 6 May 2020 15:52:32 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:33471 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729684AbgEFTwa (ORCPT ); Wed, 6 May 2020 15:52:30 -0400 X-IronPort-AV: E=Sophos;i="5.73,360,1583161200"; d="scan'208";a="46431245" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 07 May 2020 04:52:28 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id DB3F24003ED0; Thu, 7 May 2020 04:52:24 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Bartosz Golaszewski , Thomas Gleixner , Jason Cooper , Marc Zyngier , Ulf Hansson , Linus Walleij , Greg Kroah-Hartman Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH v2 9/9] ARM: dts: r8a7742: Add GPIO nodes Date: Wed, 6 May 2020 20:51:35 +0100 Message-Id: <1588794695-27852-10-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1588794695-27852-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1588794695-27852-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe GPIO blocks in the R8A7742 device tree. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven --- v1->v2: * Included the nodes in sort order --- arch/arm/boot/dts/r8a7742.dtsi | 90 ++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index 439ff24e7b3a..305d8086a3dd 100644 --- a/arch/arm/boot/dts/r8a7742.dtsi +++ b/arch/arm/boot/dts/r8a7742.dtsi @@ -200,6 +200,96 @@ #size-cells = <2>; ranges; + gpio0: gpio@e6050000 { + compatible = "renesas,gpio-r8a7742", + "renesas,rcar-gen2-gpio"; + reg = <0 0xe6050000 0 0x50>; + interrupts = ; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 0 32>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 912>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 912>; + }; + + gpio1: gpio@e6051000 { + compatible = "renesas,gpio-r8a7742", + "renesas,rcar-gen2-gpio"; + reg = <0 0xe6051000 0 0x50>; + interrupts = ; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 32 30>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 911>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 911>; + }; + + gpio2: gpio@e6052000 { + compatible = "renesas,gpio-r8a7742", + "renesas,rcar-gen2-gpio"; + reg = <0 0xe6052000 0 0x50>; + interrupts = ; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 64 30>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 910>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 910>; + }; + + gpio3: gpio@e6053000 { + compatible = "renesas,gpio-r8a7742", + "renesas,rcar-gen2-gpio"; + reg = <0 0xe6053000 0 0x50>; + interrupts = ; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 96 32>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 909>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 909>; + }; + + gpio4: gpio@e6054000 { + compatible = "renesas,gpio-r8a7742", + "renesas,rcar-gen2-gpio"; + reg = <0 0xe6054000 0 0x50>; + interrupts = ; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 128 32>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 908>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 908>; + }; + + gpio5: gpio@e6055000 { + compatible = "renesas,gpio-r8a7742", + "renesas,rcar-gen2-gpio"; + reg = <0 0xe6055000 0 0x50>; + interrupts = ; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pfc 0 160 32>; + #interrupt-cells = <2>; + interrupt-controller; + clocks = <&cpg CPG_MOD 907>; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 907>; + }; + pfc: pin-controller@e6060000 { compatible = "renesas,pfc-r8a7742"; reg = <0 0xe6060000 0 0x250>; -- 2.17.1