All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Gerlach <d-gerlach@ti.com>
To: u-boot@lists.denx.de
Subject: [PATCH 3/5] arm: dts: k3-am64-main: Add GPIO nodes
Date: Tue, 4 May 2021 18:00:54 -0500	[thread overview]
Message-ID: <20210504230056.11708-4-d-gerlach@ti.com> (raw)
In-Reply-To: <20210504230056.11708-1-d-gerlach@ti.com>

From: Nishanth Menon <nm@ti.com>

Add main domain GPIO nodes.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 arch/arm/dts/k3-am64-main.dtsi | 44 ++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/arch/arm/dts/k3-am64-main.dtsi b/arch/arm/dts/k3-am64-main.dtsi
index 5f85950daef7..ff65857d1ebf 100644
--- a/arch/arm/dts/k3-am64-main.dtsi
+++ b/arch/arm/dts/k3-am64-main.dtsi
@@ -402,4 +402,48 @@
 		ti,otap-del-sel-ddr50 = <0x9>;
 		ti,clkbuf-sel = <0x7>;
 	};
+
+	main_gpio0: gpio at 600000 {
+		compatible = "ti,j721e-gpio", "ti,keystone-gpio";
+		reg = <0x00 0x00600000 0x00 0x100>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupts = <77 0 IRQ_TYPE_EDGE_RISING>,
+			     <77 1 IRQ_TYPE_EDGE_RISING>,
+			     <77 2 IRQ_TYPE_EDGE_RISING>,
+			     <77 3 IRQ_TYPE_EDGE_RISING>,
+			     <77 4 IRQ_TYPE_EDGE_RISING>,
+			     <77 5 IRQ_TYPE_EDGE_RISING>,
+			     <77 6 IRQ_TYPE_EDGE_RISING>,
+			     <77 7 IRQ_TYPE_EDGE_RISING>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+		ti,ngpio = <69>;
+		ti,davinci-gpio-unbanked = <0>;
+		power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>;
+		clocks = <&k3_clks 77 0>;
+		clock-names = "gpio";
+	};
+
+	main_gpio1: gpio at 601000 {
+		compatible = "ti,j721e-gpio", "ti,keystone-gpio";
+		reg = <0x00 0x00601000 0x00 0x100>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupts = <78 0 IRQ_TYPE_EDGE_RISING>,
+			     <78 1 IRQ_TYPE_EDGE_RISING>,
+			     <78 2 IRQ_TYPE_EDGE_RISING>,
+			     <78 3 IRQ_TYPE_EDGE_RISING>,
+			     <78 4 IRQ_TYPE_EDGE_RISING>,
+			     <78 5 IRQ_TYPE_EDGE_RISING>,
+			     <78 6 IRQ_TYPE_EDGE_RISING>,
+			     <78 7 IRQ_TYPE_EDGE_RISING>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+		ti,ngpio = <69>;
+		ti,davinci-gpio-unbanked = <0>;
+		power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>;
+		clocks = <&k3_clks 78 0>;
+		clock-names = "gpio";
+	};
 };
-- 
2.28.0

  parent reply	other threads:[~2021-05-04 23:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-04 23:00 [PATCH 0/5] arm: mach-k3: k3-am64: Add DDR configuration and enable Dave Gerlach
2021-05-04 23:00 ` [PATCH 1/5] arm: dts: k3-am642: Add ddr node Dave Gerlach
2021-05-04 23:00 ` [PATCH 2/5] arm: mach-k3: am642: Add support for triggering ddr init from SPL Dave Gerlach
2021-05-04 23:00 ` Dave Gerlach [this message]
2021-05-04 23:00 ` [PATCH 4/5] arm: dts: k3-am642-r5-evm: Add GPIO DDR VTT regulator Dave Gerlach
2021-05-04 23:00 ` [PATCH 5/5] configs: am64x_evm_r5: Enable GPIO regulator Dave Gerlach
2021-05-07 16:15 ` [PATCH 0/5] arm: mach-k3: k3-am64: Add DDR configuration and enable Tom Rini
2021-05-12 13:56 ` Lokesh Vutla

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=20210504230056.11708-4-d-gerlach@ti.com \
    --to=d-gerlach@ti.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.