devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tero Kristo <t-kristo-l0cyMroinI0@public.gmane.org>
To: tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org,
	bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 10/20] ARM: dts: dra7: add bus functionality to base PRCM nodes
Date: Thu, 7 Dec 2017 10:46:43 +0200	[thread overview]
Message-ID: <1512636413-25243-11-git-send-email-t-kristo@ti.com> (raw)
In-Reply-To: <1512636413-25243-1-git-send-email-t-kristo-l0cyMroinI0@public.gmane.org>

Add simple-bus compatibility and ranges properties to cm1, cm2 and prm
nodes. This is done in preparation of adding the support for clkctrl
nodes.

SPLIT: timer1 fck setup

Signed-off-by: Tero Kristo <t-kristo-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/dra7.dtsi | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index c538e2f..5e24cea 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -224,8 +224,12 @@
 			};
 
 			cm_core_aon: cm_core_aon@5000 {
-				compatible = "ti,dra7-cm-core-aon";
+				compatible = "ti,dra7-cm-core-aon",
+					      "simple-bus";
+				#address-cells = <1>;
+				#size-cells = <1>;
 				reg = <0x5000 0x2000>;
+				ranges = <0 0x5000 0x2000>;
 
 				cm_core_aon_clocks: clocks {
 					#address-cells = <1>;
@@ -237,8 +241,11 @@
 			};
 
 			cm_core: cm_core@8000 {
-				compatible = "ti,dra7-cm-core";
+				compatible = "ti,dra7-cm-core", "simple-bus";
+				#address-cells = <1>;
+				#size-cells = <1>;
 				reg = <0x8000 0x3000>;
+				ranges = <0 0x8000 0x3000>;
 
 				cm_core_clocks: clocks {
 					#address-cells = <1>;
@@ -263,9 +270,12 @@
 			};
 
 			prm: prm@6000 {
-				compatible = "ti,dra7-prm";
+				compatible = "ti,dra7-prm", "simple-bus";
 				reg = <0x6000 0x3000>;
 				interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+				#address-cells = <1>;
+				#size-cells = <1>;
+				ranges = <0 0x6000 0x3000>;
 
 				prm_clocks: clocks {
 					#address-cells = <1>;
-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-12-07  8:46 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-07  8:46 [PATCH 00/20] ARM: dts: add omap clkctrl support Tero Kristo
     [not found] ` <1512636413-25243-1-git-send-email-t-kristo-l0cyMroinI0@public.gmane.org>
2017-12-07  8:46   ` [PATCH 01/20] ARM: dts: omap5: add fck under timer1 Tero Kristo
2017-12-07  8:46   ` [PATCH 02/20] ARM: dts: omap4: " Tero Kristo
2017-12-07  8:46   ` [PATCH 03/20] ARM: dts: am33xx: add fck under timers1/2 Tero Kristo
2017-12-07  8:46   ` [PATCH 04/20] ARM: dts: am43xx: " Tero Kristo
2017-12-07  8:46   ` [PATCH 05/20] ARM: dts: dra7: add fck under timer1 Tero Kristo
2017-12-07  8:46   ` [PATCH 06/20] ARM: dts: dm814x: add fck under timers1/2 Tero Kristo
2017-12-07  8:46   ` [PATCH 07/20] ARM: dts: dm816x: " Tero Kristo
2017-12-07  8:46   ` [PATCH 08/20] ARM: dts: omap5: add bus functionality to base PRCM nodes Tero Kristo
2017-12-07  8:46   ` [PATCH 09/20] ARM: dts: omap4: " Tero Kristo
2017-12-07  8:46   ` Tero Kristo [this message]
2017-12-07  8:46   ` [PATCH 11/20] ARM: dts: am33xx: add bus functionality to base PRCM node Tero Kristo
2017-12-07  8:46   ` [PATCH 12/20] ARM: dts: am43xx: " Tero Kristo
2017-12-07  8:46   ` [PATCH 13/20] ARM: dts: dm816x: " Tero Kristo
2017-12-07  8:46   ` [PATCH 14/20] ARM: dts: omap4: add clkctrl nodes Tero Kristo
     [not found]     ` <1512636413-25243-15-git-send-email-t-kristo-l0cyMroinI0@public.gmane.org>
2017-12-07 21:14       ` Tony Lindgren
2017-12-07  8:46   ` [PATCH 15/20] ARM: dts: omap5: " Tero Kristo
2017-12-07  8:46   ` [PATCH 16/20] ARM: dts: dra7: " Tero Kristo
2017-12-07  8:46   ` [PATCH 17/20] ARM: dts: am33xx: " Tero Kristo
2017-12-07  8:46   ` [PATCH 18/20] ARM: dts: am43xx: " Tero Kristo
2017-12-07  8:46   ` [PATCH 19/20] ARM: dts: dm814x: " Tero Kristo
2017-12-07  8:46   ` [PATCH 20/20] ARM: dts: dm816x: " Tero Kristo
2017-12-07 21:16   ` [PATCH 00/20] ARM: dts: add omap clkctrl support Tony Lindgren
     [not found]     ` <20171207211620.GD28152-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-12-08  6:58       ` Tero Kristo

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=1512636413-25243-11-git-send-email-t-kristo@ti.com \
    --to=t-kristo-l0cymroini0@public.gmane.org \
    --cc=bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
    /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).