linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Théo Lebrun" <theo.lebrun@bootlin.com>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	 Vladimir Kondratiev <vladimir.kondratiev@mobileye.com>,
	 Gregory CLEMENT <gregory.clement@bootlin.com>,
	 Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	"Tawfik Bayouk" <tawfik.bayouk@mobileye.com>,
	linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org,
	"Théo Lebrun" <theo.lebrun@bootlin.com>
Subject: [PATCH 4/6] MIPS: mobileye: eyeq5: add two GPIO bank nodes
Date: Fri, 04 Jul 2025 13:47:09 +0200	[thread overview]
Message-ID: <20250704-of-commits-v1-4-dc2006bf2846@bootlin.com> (raw)
In-Reply-To: <20250704-of-commits-v1-0-dc2006bf2846@bootlin.com>

This platform uses the same GPIO controller as Nomadik. It however has
its own pinconf & pinmux controller. EyeQ5 is the first platform to use
gpio-nomadik independently from pinctrl-nomadik.

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
---
 arch/mips/boot/dts/mobileye/eyeq5.dtsi | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi
index b9b6f2684e675020d0377147a04d7ad5bfc272c1..b8df7906231d065032b12d0ffdc93a75c8f3e822 100644
--- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi
+++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi
@@ -253,6 +253,36 @@ timer {
 				clocks = <&olb EQ5C_CPU_CORE0>;
 			};
 		};
+
+		gpio0: gpio@1400000 {
+			compatible = "mobileye,eyeq5-gpio";
+			reg = <0x0 0x1400000 0x0 0x1000>;
+			gpio-bank = <0>;
+			ngpios = <29>;
+			interrupt-parent = <&gic>;
+			interrupts = <GIC_SHARED 14 IRQ_TYPE_LEVEL_HIGH>;
+			gpio-controller;
+			#gpio-cells = <2>;
+			gpio-ranges = <&olb 0 0 29>;
+			interrupt-controller;
+			#interrupt-cells = <2>;
+			resets = <&olb 0 26>;
+		};
+
+		gpio1: gpio@1500000 {
+			compatible = "mobileye,eyeq5-gpio";
+			reg = <0x0 0x1500000 0x0 0x1000>;
+			gpio-bank = <1>;
+			ngpios = <23>;
+			interrupt-parent = <&gic>;
+			interrupts = <GIC_SHARED 14 IRQ_TYPE_LEVEL_HIGH>;
+			gpio-controller;
+			#gpio-cells = <2>;
+			gpio-ranges = <&olb 0 29 23>;
+			interrupt-controller;
+			#interrupt-cells = <2>;
+			resets = <&olb 0 26>;
+		};
 	};
 };
 

-- 
2.50.0


  parent reply	other threads:[~2025-07-04 12:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-04 11:47 [PATCH 0/6] MIPS: Mobileye: EyeQ5: add GPIO/I2C devicetrees/defconfigs Théo Lebrun
2025-07-04 11:47 ` [PATCH 1/6] MIPS: eyeq5_defconfig: Update for v6.16-rc1 Théo Lebrun
2025-07-11 14:19   ` Gregory CLEMENT
2025-07-04 11:47 ` [PATCH 2/6] MIPS: mobileye: eyeq5: add 5 I2C controller nodes Théo Lebrun
2025-07-11 14:21   ` Gregory CLEMENT
2025-07-04 11:47 ` [PATCH 3/6] MIPS: mobileye: eyeq5: add evaluation board I2C temp sensor Théo Lebrun
2025-07-11 14:21   ` Gregory CLEMENT
2025-07-04 11:47 ` Théo Lebrun [this message]
2025-07-11 14:22   ` [PATCH 4/6] MIPS: mobileye: eyeq5: add two GPIO bank nodes Gregory CLEMENT
2025-07-04 11:47 ` [PATCH 5/6] MIPS: eyeq5_defconfig: add GPIO subsystem & driver Théo Lebrun
2025-07-11 14:24   ` Gregory CLEMENT
2025-07-04 11:47 ` [PATCH 6/6] MIPS: eyeq5_defconfig: add I2C subsystem, driver and temp sensor driver Théo Lebrun
2025-07-11 14:24   ` Gregory CLEMENT
2025-07-16 18:05 ` [PATCH 0/6] MIPS: Mobileye: EyeQ5: add GPIO/I2C devicetrees/defconfigs Thomas Bogendoerfer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250704-of-commits-v1-4-dc2006bf2846@bootlin.com \
    --to=theo.lebrun@bootlin.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregory.clement@bootlin.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=tawfik.bayouk@mobileye.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tsbogend@alpha.franken.de \
    --cc=vladimir.kondratiev@mobileye.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).