All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vignesh Raghavendra <vigneshr@ti.com>
To: u-boot@lists.denx.de
Subject: [PATCH 3/6] ARM: dts: k3-j7200: Add wkup gpio node
Date: Fri, 7 Aug 2020 00:26:58 +0530	[thread overview]
Message-ID: <20200806185701.21861-4-vigneshr@ti.com> (raw)
In-Reply-To: <20200806185701.21861-1-vigneshr@ti.com>

Add wkup_gpio0 node required for detecting whether board mux is set
HyperFlash.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
 arch/arm/dts/k3-j7200-common-proc-board.dts | 11 +++++++++++
 arch/arm/dts/k3-j7200-mcu-wakeup.dtsi       | 12 ++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/arch/arm/dts/k3-j7200-common-proc-board.dts b/arch/arm/dts/k3-j7200-common-proc-board.dts
index 969881fb83..15ac3cb6b3 100644
--- a/arch/arm/dts/k3-j7200-common-proc-board.dts
+++ b/arch/arm/dts/k3-j7200-common-proc-board.dts
@@ -21,6 +21,12 @@
 			J721E_WKUP_IOPAD(0x104, PIN_INPUT_PULLUP, 0) /* (H21) WKUP_I2C0_SDA */
 		>;
 	};
+
+	wkup_gpio_pins_default: wkup-gpio-pins-default {
+		pinctrl-single,pins = <
+			J721E_WKUP_IOPAD(0xd8, PIN_INPUT, 7) /* (C14) WKUP_GPIO0_6 */
+		>;
+	};
 };
 
 &main_pmx0 {
@@ -139,3 +145,8 @@
 	dr_mode = "otg";
 	maximum-speed = "high-speed";
 };
+
+&wkup_gpio0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&wkup_gpio_pins_default>;
+};
diff --git a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi
index 4bcb65aace..d590079382 100644
--- a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi
+++ b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi
@@ -114,4 +114,16 @@
 		clocks = <&k3_clks 195 1>;
 		power-domains = <&k3_pds 195 TI_SCI_PD_EXCLUSIVE>;
 	};
+
+	wkup_gpio0: gpio at 42110000 {
+		compatible = "ti,j721e-gpio", "ti,keystone-gpio";
+		reg = <0x0 0x42110000 0x0 0x100>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		ti,ngpio = <84>;
+		ti,davinci-gpio-unbanked = <0>;
+		power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
+		clocks = <&k3_clks 113 0>;
+		clock-names = "gpio";
+	};
 };
-- 
2.28.0

  parent reply	other threads:[~2020-08-06 18:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-06 18:56 [PATCH 0/6] J2700: Enable various peripherals Vignesh Raghavendra
2020-08-06 18:56 ` [PATCH 1/6] arm: dts: k3-j7200: Add USB related DT entries Vignesh Raghavendra
2020-08-06 18:56 ` [PATCH 2/6] board: ti: j721e: Add support for HyperFlash detection Vignesh Raghavendra
2020-08-06 18:56 ` Vignesh Raghavendra [this message]
2020-08-06 18:56 ` [PATCH 4/6] ARM: dts: k3-j7200: Add HyperBus and HyperFlash nodes Vignesh Raghavendra
2020-08-06 18:57 ` [PATCH 5/6] ARM: dts: k3-j7200-mcu-wakeup: Add CPSW2G support Vignesh Raghavendra
2020-08-06 18:57 ` [PATCH 6/6] arm: dts: k3-j7200-common-proc-board: Enable CPSW2G port Vignesh Raghavendra
2020-08-07 12:09 ` [PATCH 0/6] J2700: Enable various peripherals Grygorii Strashko
2020-08-07 12:11 ` Lokesh Vutla
2020-08-11 10:38 ` 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=20200806185701.21861-4-vigneshr@ti.com \
    --to=vigneshr@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.