From: Amit Singh Tomar <atomar25opensource@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 3/6] ARM: dts: sync Actions Semi S700 DT from Linux 5.10-rc7
Date: Sat, 19 Dec 2020 20:21:07 +0530 [thread overview]
Message-ID: <1608389470-4010-4-git-send-email-atomar25opensource@gmail.com> (raw)
In-Reply-To: <1608389470-4010-1-git-send-email-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 version
* No change.
---
arch/arm/dts/s700.dtsi | 17 ++++++++++++++++-
include/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 2006ad5..2c78cae 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 at 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 at 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 0000000..4cf1aef
--- /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.7.4
next prev parent reply other threads:[~2020-12-19 14:51 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-19 14:51 [PATCH v2 0/6] Add MMC/SD support for S700 Amit Singh Tomar
2020-12-19 14:51 ` [PATCH v2 1/6] clk: actions: Introduce dummy get/set_rate callbacks Amit Singh Tomar
2020-12-19 14:51 ` [PATCH v2 2/6] clk: actions: Add SD/MMC clocks Amit Singh Tomar
2020-12-23 0:26 ` André Przywara
2020-12-19 14:51 ` Amit Singh Tomar [this message]
2020-12-19 14:51 ` [PATCH v2 4/6] ARM: dts: s700: add MMC/SD controller node Amit Singh Tomar
2020-12-22 23:28 ` Jaehoon Chung
2020-12-23 0:27 ` André Przywara
2020-12-23 1:32 ` Jaehoon Chung
2020-12-23 1:59 ` Amit Tomar
2020-12-19 14:51 ` [PATCH v2 5/6] mmc: actions: add MMC driver for Actions OWL S700 Amit Singh Tomar
2020-12-22 23:37 ` Jaehoon Chung
2020-12-23 0:27 ` André Przywara
2020-12-23 0:27 ` André Przywara
2020-12-23 2:22 ` Amit Tomer
2020-12-23 4:25 ` Jaehoon Chung
2020-12-23 5:59 ` Amit Tomar
2020-12-23 6:11 ` Jaehoon Chung
2020-12-23 9:35 ` Peng Fan
2020-12-23 10:13 ` André Przywara
2020-12-23 12:29 ` Amit Tomar
2020-12-23 15:18 ` André Przywara
2020-12-24 8:32 ` Amit Tomar
2020-12-19 14:51 ` [PATCH v2 6/6] configs: Enable mmc support Amit Singh Tomar
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=1608389470-4010-4-git-send-email-atomar25opensource@gmail.com \
--to=atomar25opensource@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox