public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Amit Singh Tomar <atomar25opensource@gmail.com>
To: u-boot@lists.denx.de
Cc: andre.przywara@arm.com, manivannan.sadhasivam@linaro.org,
	joe.hershberger@ni.com, jh80.chung@samsung.com,
	Amit Singh Tomar <amittomer25@gmail.com>
Subject: [PATCH v4 3/6] ARM: dts: sync Actions Semi S700 DT from Linux 5.10-rc7
Date: Sun, 28 Nov 2021 17:02:22 +0530	[thread overview]
Message-ID: <20211128113225.3992-4-atomar25opensource@gmail.com> (raw)
In-Reply-To: <20211128113225.3992-1-atomar25opensource@gmail.com>

From: Amit Singh Tomar <amittomer25@gmail.com>

This Synchronizes the Actions Semi S700 SoC DT changes from
commit "0477e9288185" ("Linux 5.10-rc7").

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
---
Changes since previous versions
	* No change.
---
 arch/arm/dts/s700.dtsi                        | 17 ++++++++++++++++-
 .../dt-bindings/power/owl-s700-powergate.h    | 19 +++++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletion(-)
 create mode 100644 include/dt-bindings/power/owl-s700-powergate.h

diff --git a/arch/arm/dts/s700.dtsi b/arch/arm/dts/s700.dtsi
index 2006ad5424fa..2c78caebf515 100644
--- a/arch/arm/dts/s700.dtsi
+++ b/arch/arm/dts/s700.dtsi
@@ -5,6 +5,7 @@
 
 #include <dt-bindings/clock/actions,s700-cmu.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/power/owl-s700-powergate.h>
 #include <dt-bindings/reset/actions,s700-reset.h>
 
 / {
@@ -231,7 +232,7 @@
 
 		pinctrl: pinctrl@e01b0000 {
 			compatible = "actions,s700-pinctrl";
-			reg = <0x0 0xe01b0000 0x0 0x1000>;
+			reg = <0x0 0xe01b0000 0x0 0x100>;
 			clocks = <&cmu CLK_GPIO>;
 			gpio-controller;
 			gpio-ranges = <&pinctrl 0 0 136>;
@@ -244,5 +245,19 @@
 				     <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
 		};
+
+		dma: dma-controller@e0230000 {
+			compatible = "actions,s700-dma";
+			reg = <0x0 0xe0230000 0x0 0x1000>;
+			interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
+			#dma-cells = <1>;
+			dma-channels = <10>;
+			dma-requests = <44>;
+			clocks = <&cmu CLK_DMAC>;
+			power-domains = <&sps S700_PD_DMA>;
+		};
 	};
 };
diff --git a/include/dt-bindings/power/owl-s700-powergate.h b/include/dt-bindings/power/owl-s700-powergate.h
new file mode 100644
index 000000000000..4cf1aefbf09c
--- /dev/null
+++ b/include/dt-bindings/power/owl-s700-powergate.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Actions Semi S700 SPS
+ *
+ * Copyright (c) 2017 Andreas Färber
+ */
+#ifndef DT_BINDINGS_POWER_OWL_S700_POWERGATE_H
+#define DT_BINDINGS_POWER_OWL_S700_POWERGATE_H
+
+#define S700_PD_VDE	0
+#define S700_PD_VCE_SI	1
+#define S700_PD_USB2_1	2
+#define S700_PD_HDE	3
+#define S700_PD_DMA	4
+#define S700_PD_DS	5
+#define S700_PD_USB3	6
+#define S700_PD_USB2_0	7
+
+#endif
-- 
2.27.0


  parent reply	other threads:[~2021-11-28 11:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-28 11:32 [PATCH v4 0/6] Add MMC/SD support for S700/S900 Amit Singh Tomar
2021-11-28 11:32 ` [PATCH v4 1/6] clk: actions: Introduce dummy get/set_rate callbacks Amit Singh Tomar
2022-01-15 17:44   ` Sean Anderson
2022-01-18 21:09   ` Tom Rini
2021-11-28 11:32 ` [PATCH v4 2/6] clk: actions: Add SD/MMC clocks Amit Singh Tomar
2022-01-15 17:44   ` Sean Anderson
2022-01-18 21:09   ` Tom Rini
2021-11-28 11:32 ` Amit Singh Tomar [this message]
2021-11-29 16:13   ` [PATCH v4 3/6] ARM: dts: sync Actions Semi S700 DT from Linux 5.10-rc7 Tom Rini
2021-12-02 18:23   ` [PATCH v4 3/6] ARM: dts: sync Actions Semi S700 DT from Linux v5.16-rc3 Amit Singh Tomar
2022-01-18 21:09     ` Tom Rini
2021-11-28 11:32 ` [PATCH v4 4/6] ARM: dts: s700: add MMC/SD controller node Amit Singh Tomar
2022-01-05 17:43   ` Tom Rini
2022-01-18 21:09   ` Tom Rini
2021-11-28 11:32 ` [PATCH v4 5/6] mmc: actions: add MMC driver for Actions OWL S700/S900 Amit Singh Tomar
2022-01-18 21:09   ` Tom Rini
2021-11-28 11:32 ` [PATCH v4 6/6] configs: Enable mmc support Amit Singh Tomar
2022-01-18 21:09   ` Tom Rini

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=20211128113225.3992-4-atomar25opensource@gmail.com \
    --to=atomar25opensource@gmail.com \
    --cc=amittomer25@gmail.com \
    --cc=andre.przywara@arm.com \
    --cc=jh80.chung@samsung.com \
    --cc=joe.hershberger@ni.com \
    --cc=manivannan.sadhasivam@linaro.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox