From: Tony Lindgren <tony@atomide.com>
To: linux-omap@vger.kernel.org
Cc: "Benoît Cousson" <bcousson@baylibre.com>,
devicetree@vger.kernel.org, Keerthy <j-keerthy@ti.com>,
"Tero Kristo" <t-kristo@ti.com>
Subject: [PATCH 08/14] ARM: dts: Configure interconnect target module for dra7 des
Date: Tue, 10 Dec 2019 15:17:16 -0800 [thread overview]
Message-ID: <20191210231722.44215-9-tony@atomide.com> (raw)
In-Reply-To: <20191210231722.44215-1-tony@atomide.com>
We can now probe devices with device tree only configuration using
ti-sysc interconnect target module driver. Let's configure the
module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
time warnings. The legacy property will be removed in later patches
together with the legacy platform data.
Cc: Keerthy <j-keerthy@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/boot/dts/dra7-l4.dtsi | 32 ++++++++++++++++++++++++++++++++
arch/arm/boot/dts/dra7.dtsi | 11 -----------
2 files changed, 32 insertions(+), 11 deletions(-)
diff --git a/arch/arm/boot/dts/dra7-l4.dtsi b/arch/arm/boot/dts/dra7-l4.dtsi
--- a/arch/arm/boot/dts/dra7-l4.dtsi
+++ b/arch/arm/boot/dts/dra7-l4.dtsi
@@ -2044,6 +2044,38 @@ target-module@a4000 { /* 0x480a4000, ap 57 42.0 */
<0x00001000 0x000a5000 0x00001000>;
};
+ des_target: target-module@a5000 { /* 0x480a5000 */
+ compatible = "ti,sysc-omap2", "ti,sysc";
+ ti,hwmods = "des";
+ reg = <0xa5030 0x4>,
+ <0xa5034 0x4>,
+ <0xa5038 0x4>;
+ reg-names = "rev", "sysc", "syss";
+ ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
+ SYSC_OMAP2_AUTOIDLE)>;
+ ti,sysc-sidle = <SYSC_IDLE_FORCE>,
+ <SYSC_IDLE_NO>,
+ <SYSC_IDLE_SMART>,
+ <SYSC_IDLE_SMART_WKUP>;
+ ti,syss-mask = <1>;
+ /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
+ clocks = <&l4sec_clkctrl DRA7_L4SEC_DES_CLKCTRL 0>;
+ clock-names = "fck";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0 0xa5000 0x00001000>;
+
+ des: des@0 {
+ compatible = "ti,omap4-des";
+ reg = <0 0xa0>;
+ interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
+ dmas = <&sdma_xbar 117>, <&sdma_xbar 116>;
+ dma-names = "tx", "rx";
+ clocks = <&l3_iclk_div>;
+ clock-names = "fck";
+ };
+ };
+
target-module@a8000 { /* 0x480a8000, ap 59 1a.0 */
compatible = "ti,sysc";
status = "disabled";
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -716,17 +716,6 @@ aes2: aes@0 {
};
};
- des: des@480a5000 {
- compatible = "ti,omap4-des";
- ti,hwmods = "des";
- reg = <0x480a5000 0xa0>;
- interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
- dmas = <&sdma_xbar 117>, <&sdma_xbar 116>;
- dma-names = "tx", "rx";
- clocks = <&l3_iclk_div>;
- clock-names = "fck";
- };
-
sham_target: target-module@4b101000 {
compatible = "ti,sysc-omap3-sham", "ti,sysc";
ti,hwmods = "sham";
--
2.24.0
next prev parent reply other threads:[~2019-12-10 23:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-10 23:17 [PATCH 00/14] Probe am3, am4 and dra7 crypto accelerators with ti-sysc Tony Lindgren
2019-12-10 23:17 ` [PATCH 01/14] ARM: dts: Configure interconnect target module for am3 sham Tony Lindgren
2019-12-10 23:17 ` [PATCH 02/14] ARM: dts: Configure interconnect target module for am4 sham Tony Lindgren
2019-12-10 23:17 ` [PATCH 03/14] ARM: dts: Configure interconnect target module for dra7 sham Tony Lindgren
2019-12-10 23:17 ` [PATCH 04/14] ARM: dts: Configure interconnect target module for am3 aes Tony Lindgren
2019-12-10 23:17 ` [PATCH 05/14] ARM: dts: Configure interconnect target module for am4 aes Tony Lindgren
2019-12-10 23:17 ` [PATCH 06/14] ARM: dts: Configure interconnect target module for dra7 aes Tony Lindgren
2019-12-10 23:17 ` [PATCH 07/14] ARM: dts: Configure interconnect target module for am4 des Tony Lindgren
2019-12-10 23:17 ` Tony Lindgren [this message]
2019-12-10 23:17 ` [PATCH 09/14] ARM: OMAP2+: Drop legacy platform data for am3 and am4 sham Tony Lindgren
2019-12-10 23:17 ` [PATCH 10/14] ARM: OMAP2+: Drop legacy platform data for dra7 sham Tony Lindgren
2019-12-10 23:17 ` [PATCH 11/14] ARM: OMAP2+: Drop legacy platform data for am3 and am4 aes Tony Lindgren
2019-12-10 23:17 ` [PATCH 12/14] ARM: OMAP2+: Drop legacy platform data for dra7 aes Tony Lindgren
2019-12-10 23:17 ` [PATCH 13/14] ARM: OMAP2+: Drop legacy platform data for am4 des Tony Lindgren
2019-12-10 23:17 ` [PATCH 14/14] ARM: OMAP2+: Drop legacy platform data for dra7 des Tony Lindgren
2019-12-12 8:20 ` [PATCH 00/14] Probe am3, am4 and dra7 crypto accelerators with ti-sysc Tero Kristo
2019-12-12 16:16 ` Tony Lindgren
2019-12-13 6:14 ` Keerthy
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=20191210231722.44215-9-tony@atomide.com \
--to=tony@atomide.com \
--cc=bcousson@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=j-keerthy@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=t-kristo@ti.com \
/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;
as well as URLs for NNTP newsgroup(s).