From: Amit Singh Tomar <atomar25opensource@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3 3/6] ARM: dts: sync Actions Semi S700 DT from Linux 5.10-rc7
Date: Sun, 17 Jan 2021 00:02:16 +0530 [thread overview]
Message-ID: <1610821939-20130-4-git-send-email-atomar25opensource@gmail.com> (raw)
In-Reply-To: <1610821939-20130-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 versions
* 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:[~2021-01-16 18:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-16 18:32 [PATCH v3 0/6] Add MMC/SD support for S700/S900 Amit Singh Tomar
2021-01-16 18:32 ` [PATCH v3 1/6] clk: actions: Introduce dummy get/set_rate callbacks Amit Singh Tomar
2021-01-16 18:32 ` [PATCH v3 2/6] clk: actions: Add SD/MMC clocks Amit Singh Tomar
2021-01-16 18:32 ` Amit Singh Tomar [this message]
2021-01-16 18:32 ` [PATCH v3 4/6] ARM: dts: s700: add MMC/SD controller node Amit Singh Tomar
2021-01-16 18:32 ` [PATCH v3 5/6] mmc: actions: add MMC driver for Actions OWL S700/S900 Amit Singh Tomar
2021-01-18 11:15 ` André Przywara
2021-03-01 13:17 ` Amit Tomar
2021-03-01 14:25 ` Andre Przywara
2021-03-01 22:11 ` Jaehoon Chung
2021-03-01 23:04 ` Andre Przywara
2021-03-01 23:38 ` Jaehoon Chung
2021-01-16 18:32 ` [PATCH v3 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=1610821939-20130-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 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.