diff mbox

[RFC,7/8] ARM: dts: am4372: initial support

Message ID c9c131c0508b875c0893e8557504372a1564568a.1361186097.git.afzal@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Afzal Mohammed Feb. 18, 2013, 11:38 a.m. UTC
DT source (minimal) for AM4372 SoC. Those represented here are the
minimal DT nodes necessary to get kernel booting.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
---
 arch/arm/boot/dts/am4372.dtsi | 55 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
 create mode 100644 arch/arm/boot/dts/am4372.dtsi

Comments

Felipe Balbi Feb. 18, 2013, 6:22 p.m. UTC | #1
Hi,

On Mon, Feb 18, 2013 at 05:08:16PM +0530, Afzal Mohammed wrote:
> +		uart1: serial@44e09000 {
> +			compatible = "ti,am4372-uart","ti,omap2-uart";
> +			clock-frequency = <48000000>;
> +			reg = <0x44e09000 0x2000>;
> +			interrupts = <0 72 0x4>;

missing ti,hwmods ??
Afzal Mohammed Feb. 19, 2013, 9:10 a.m. UTC | #2
Hi Felipe,

On Mon, Feb 18, 2013 at 23:52:40, Balbi, Felipe wrote:
> On Mon, Feb 18, 2013 at 05:08:16PM +0530, Afzal Mohammed wrote:

> > +		uart1: serial@44e09000 {
> > +			compatible = "ti,am4372-uart","ti,omap2-uart";
> > +			clock-frequency = <48000000>;
> > +			reg = <0x44e09000 0x2000>;
> > +			interrupts = <0 72 0x4>;
> 
> missing ti,hwmods ??

It is a deliberate omission. For minimal bootconsole booting, hwmod
help is not required. Hwmod details would be added gradually later,
current series doesn't register hwmod.

Regards
Afzal
Felipe Balbi Feb. 19, 2013, 9:17 a.m. UTC | #3
On Tue, Feb 19, 2013 at 10:10:17AM +0100, Mohammed, Afzal wrote:
> Hi Felipe,
> 
> On Mon, Feb 18, 2013 at 23:52:40, Balbi, Felipe wrote:
> > On Mon, Feb 18, 2013 at 05:08:16PM +0530, Afzal Mohammed wrote:
> 
> > > +		uart1: serial@44e09000 {
> > > +			compatible = "ti,am4372-uart","ti,omap2-uart";
> > > +			clock-frequency = <48000000>;
> > > +			reg = <0x44e09000 0x2000>;
> > > +			interrupts = <0 72 0x4>;
> > 
> > missing ti,hwmods ??
> 
> It is a deliberate omission. For minimal bootconsole booting, hwmod
> help is not required. Hwmod details would be added gradually later,
> current series doesn't register hwmod.

understood, thanks
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
new file mode 100644
index 0000000..178c41f
--- /dev/null
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -0,0 +1,55 @@ 
+/*
+ * Device Tree Source for AM4372 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/ "skeleton.dtsi"
+
+/ {
+	compatible = "ti,am4372", "ti,am43";
+	interrupt-parent = <&gic>;
+
+
+	aliases {
+		serial0 = &uart1;
+	};
+
+	cpus {
+		cpu@0 {
+			compatible = "arm,cortex-a9";
+		};
+	};
+
+	gic: interrupt-controller@48241000 {
+		compatible = "arm,cortex-a9-gic";
+		interrupt-controller;
+		#interrupt-cells = <3>;
+		reg = <0x48241000 0x1000>,
+		      <0x48240100 0x0100>;
+	};
+
+	twd1: local-timer@0x48240600 {
+		compatible = "arm,cortex-a9-twd-timer";
+		reg = <0x48240600 0x20>;
+		interrupts = <1 13 0x304>;
+	};
+
+	ocp {
+		compatible = "simple-bus";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		uart1: serial@44e09000 {
+			compatible = "ti,am4372-uart","ti,omap2-uart";
+			clock-frequency = <48000000>;
+			reg = <0x44e09000 0x2000>;
+			interrupts = <0 72 0x4>;
+		};
+	};
+};