devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
To: linux-patch-review@list.ti.com
Cc: "Nishanth Menon" <nm@ti.com>, "Tero Kristo" <t-kristo@ti.com>,
	"Andrii.Tseglytskyi" <andrii.tseglytskyi@ti.com>,
	"Mike Turquette" <mturquette@linaro.org>,
	"Benoît Cousson" <b-cousson@ti.com>,
	devicetree-discuss@lists.ozlabs.org, linux-omap@vger.kernel.org
Subject: [PATCH 2/6] ARM: dts: OMAP4: add device tree for ABB
Date: Thu, 28 Mar 2013 19:16:04 +0200	[thread overview]
Message-ID: <1364490968-13613-2-git-send-email-andrii.tseglytskyi@ti.com> (raw)
In-Reply-To: <1364490968-13613-1-git-send-email-andrii.tseglytskyi@ti.com>

From: "Andrii.Tseglytskyi" <andrii.tseglytskyi@ti.com>

Add DT ABB data for OMAP44xx family of devices.
This data is based on OMAP4430_ES2.x_NDA_TRM_vAA.pdf
document.

Cc: Mike Turquette <mturquette@linaro.org>
Cc: Tero Kristo <t-kristo@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: "Benoît Cousson" <b-cousson@ti.com>
Cc: devicetree-discuss@lists.ozlabs.org
Cc: linux-omap@vger.kernel.org

Signed-off-by: Andrii.Tseglytskyi <andrii.tseglytskyi@ti.com>
---
 arch/arm/boot/dts/omap4.dtsi    |   18 ++++++++++++++++++
 arch/arm/boot/dts/omap443x.dtsi |   20 ++++++++++++++++++++
 arch/arm/boot/dts/omap446x.dtsi |   36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap446x.dtsi

diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index 739bb79..0bc3ef1 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -81,6 +81,24 @@
 		};
 	};
 
+	abb@0x4a307bd0 {
+		compatible = "ti,omap4-abb";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		reg = <0x4a307bd0 0x8>,
+		      <0x4a306014 0x4>; /* PRM_IRQSTATUS_MPU_A9_2 */
+		ti,tranxdone_status_mask = <0x80>; /* (1 << 7) */
+	};
+
+	abb@0x4a307bd8 {
+		compatible = "ti,omap4-abb";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		reg = <0x4a307bd8 0x8>,
+		      <0x4a306010 0x4>; /* PRM_IRQSTATUS_MPU_A9 */
+		ti,tranxdone_status_mask = <0x80000000>; /* (1 << 31) */
+	};
+
 	/*
 	 * XXX: Use a flat representation of the OMAP4 interconnect.
 	 * The real OMAP interconnect network is quite complex.
diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi
index cccf39a..6c511c6 100644
--- a/arch/arm/boot/dts/omap443x.dtsi
+++ b/arch/arm/boot/dts/omap443x.dtsi
@@ -24,4 +24,24 @@
 			clock-latency = <300000>; /* From legacy driver */
 		};
 	};
+
+	abb@0x4a307bd0 {
+		operating-points = <
+			/* kHz   ABB */
+			300000  0
+			600000  0
+			800000  0
+			1008000 1
+		>;
+	};
+
+	abb@0x4a307bd8 {
+		operating-points = <
+			/* kHz   ABB */
+			133000  0
+			266100  0
+			332000  0
+		>;
+	};
+
 };
diff --git a/arch/arm/boot/dts/omap446x.dtsi b/arch/arm/boot/dts/omap446x.dtsi
new file mode 100644
index 0000000..b884c60
--- /dev/null
+++ b/arch/arm/boot/dts/omap446x.dtsi
@@ -0,0 +1,36 @@
+/*
+ * Device Tree Source for OMAP446x SoC
+ *
+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2.  This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+/include/ "omap4.dtsi"
+
+/ {
+	abb@0x4a307bd0 {
+		operating-points = <
+			/* kHz   ABB */
+			350000  0
+			700000  0
+			920000  0
+			1200000 1
+			1500000 1
+		>;
+	};
+
+	abb@0x4a307bd8 {
+		operating-points = <
+			/* kHz   ABB */
+			133000  0
+			266100  0
+			332000  0
+			430000  1
+			500000  1
+		>;
+	};
+
+};
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2013-03-28 17:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-28 17:16 [PATCH 1/6] ARM: dts: OMAP36xx: add device tree for ABB Andrii Tseglytskyi
2013-03-28 17:16 ` Andrii Tseglytskyi [this message]
2013-03-28 17:16 ` [PATCH 3/6] ARM: dts: OMAP5: " Andrii Tseglytskyi
2013-03-28 17:16 ` [PATCH 4/6] ARM: OMAP3+: ABB: add aliases for clocks used in ABB driver Andrii Tseglytskyi

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=1364490968-13613-2-git-send-email-andrii.tseglytskyi@ti.com \
    --to=andrii.tseglytskyi@ti.com \
    --cc=b-cousson@ti.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-patch-review@list.ti.com \
    --cc=mturquette@linaro.org \
    --cc=nm@ti.com \
    --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).