All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add device tree support to AM33XX SoC
@ 2012-06-22  9:40 ` AnilKumar Ch
  0 siblings, 0 replies; 24+ messages in thread
From: AnilKumar Ch @ 2012-06-22  9:40 UTC (permalink / raw)
  To: linux-omap; +Cc: tony, b-cousson, linux-arm-kernel, AnilKumar Ch

This patch series add device tree support for AM33XX SoC family.

Initialy Hiremath Vaibhav submitted a patch for AM33XX devices
based on omap3 family. Details at
http://marc.info/?t=132687107200002&r=1&w=2

AM33XX family is varied from omap3 family in these aspects
like memory maps, peripheral base addresses and configuration
parameters. In some cases we have to use a mix of omap3 and
omap4 parameters. So a seperate am33xx.dtsi file is created
for all the devices comes under am33xx family and revert of
above patch is required.

Two sepearte device tree source files are created (am335x-evm.dts
and am335x-bone.dts) to add support for AM335X EVM and BeagleBone
boards.

Linux booting is tested on AM335X-EVM and BeagleBone boards.

AnilKumar Ch (4):
  Revert "arm/dts: Add support for TI AM335x EVM board"
  arm/dts: Add initial DT support for AM33XX SoC family
  arm/dts: Add support for AM335x EVM
  arm/dts: Add support for AM335x BeagleBone

 .../devicetree/bindings/arm/omap/omap.txt          |    3 +
 arch/arm/boot/dts/am335x-bone.dts                  |   20 +++
 arch/arm/boot/dts/am335x-evm.dts                   |   25 +--
 arch/arm/boot/dts/am33xx.dtsi                      |  189 ++++++++++++++++++++
 4 files changed, 215 insertions(+), 22 deletions(-)
 create mode 100644 arch/arm/boot/dts/am335x-bone.dts
 create mode 100644 arch/arm/boot/dts/am33xx.dtsi

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 0/3] Add device tree support to AM33XX SoC
@ 2012-06-22  9:40 ` AnilKumar Ch
  0 siblings, 0 replies; 24+ messages in thread
From: AnilKumar Ch @ 2012-06-22  9:40 UTC (permalink / raw)
  To: linux-arm-kernel

This patch series add device tree support for AM33XX SoC family.

Initialy Hiremath Vaibhav submitted a patch for AM33XX devices
based on omap3 family. Details at
http://marc.info/?t=132687107200002&r=1&w=2

AM33XX family is varied from omap3 family in these aspects
like memory maps, peripheral base addresses and configuration
parameters. In some cases we have to use a mix of omap3 and
omap4 parameters. So a seperate am33xx.dtsi file is created
for all the devices comes under am33xx family and revert of
above patch is required.

Two sepearte device tree source files are created (am335x-evm.dts
and am335x-bone.dts) to add support for AM335X EVM and BeagleBone
boards.

Linux booting is tested on AM335X-EVM and BeagleBone boards.

AnilKumar Ch (4):
  Revert "arm/dts: Add support for TI AM335x EVM board"
  arm/dts: Add initial DT support for AM33XX SoC family
  arm/dts: Add support for AM335x EVM
  arm/dts: Add support for AM335x BeagleBone

 .../devicetree/bindings/arm/omap/omap.txt          |    3 +
 arch/arm/boot/dts/am335x-bone.dts                  |   20 +++
 arch/arm/boot/dts/am335x-evm.dts                   |   25 +--
 arch/arm/boot/dts/am33xx.dtsi                      |  189 ++++++++++++++++++++
 4 files changed, 215 insertions(+), 22 deletions(-)
 create mode 100644 arch/arm/boot/dts/am335x-bone.dts
 create mode 100644 arch/arm/boot/dts/am33xx.dtsi

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 1/4] Revert "arm/dts: Add support for TI AM335x EVM board"
  2012-06-22  9:40 ` AnilKumar Ch
@ 2012-06-22  9:40   ` AnilKumar Ch
  -1 siblings, 0 replies; 24+ messages in thread
From: AnilKumar Ch @ 2012-06-22  9:40 UTC (permalink / raw)
  To: linux-omap; +Cc: tony, b-cousson, linux-arm-kernel, AnilKumar Ch

This reverts commit 6c54bbb42678c99685c8e7fd09267e1cb8c2ae40.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
---
 arch/arm/boot/dts/am335x-evm.dts |   39 --------------------------------------
 1 file changed, 39 deletions(-)
 delete mode 100644 arch/arm/boot/dts/am335x-evm.dts

diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
deleted file mode 100644
index 8cc877f..0000000
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-/dts-v1/;
-
-/include/ "omap3.dtsi"
-
-/ {
-	model = "TI AM335x EVM";
-	compatible = "ti,am335x-evm", "ti,am33xx", "ti,omap3";
-
-	memory {
-		device_type = "memory";
-		reg = <0x80000000 0x10000000>; /* 256 MB */
-	};
-};
-
-&intc {
-	/*
-	 * AM33XX family of devices have 128 interrupts
-	 */
-	ti,intc-size = <128>;
-};
-
-&i2c1 {
-	clock-frequency = <400000>;
-};
-
-&i2c2 {
-	clock-frequency = <400000>;
-};
-
-&i2c3 {
-	clock-frequency = <400000>;
-};
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 1/4] Revert "arm/dts: Add support for TI AM335x EVM board"
@ 2012-06-22  9:40   ` AnilKumar Ch
  0 siblings, 0 replies; 24+ messages in thread
From: AnilKumar Ch @ 2012-06-22  9:40 UTC (permalink / raw)
  To: linux-arm-kernel

This reverts commit 6c54bbb42678c99685c8e7fd09267e1cb8c2ae40.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
---
 arch/arm/boot/dts/am335x-evm.dts |   39 --------------------------------------
 1 file changed, 39 deletions(-)
 delete mode 100644 arch/arm/boot/dts/am335x-evm.dts

diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
deleted file mode 100644
index 8cc877f..0000000
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-/dts-v1/;
-
-/include/ "omap3.dtsi"
-
-/ {
-	model = "TI AM335x EVM";
-	compatible = "ti,am335x-evm", "ti,am33xx", "ti,omap3";
-
-	memory {
-		device_type = "memory";
-		reg = <0x80000000 0x10000000>; /* 256 MB */
-	};
-};
-
-&intc {
-	/*
-	 * AM33XX family of devices have 128 interrupts
-	 */
-	ti,intc-size = <128>;
-};
-
-&i2c1 {
-	clock-frequency = <400000>;
-};
-
-&i2c2 {
-	clock-frequency = <400000>;
-};
-
-&i2c3 {
-	clock-frequency = <400000>;
-};
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 2/4] arm/dts: Add initial DT support for AM33XX SoC family
  2012-06-22  9:40 ` AnilKumar Ch
@ 2012-06-22  9:40   ` AnilKumar Ch
  -1 siblings, 0 replies; 24+ messages in thread
From: AnilKumar Ch @ 2012-06-22  9:40 UTC (permalink / raw)
  To: linux-omap; +Cc: tony, b-cousson, linux-arm-kernel, AnilKumar Ch

Add device tree source include file for the AM33XX SoC family.
An additional .dtsi file is created to describe the generic
AM33XX CPU module like intc, ocp.

Actual selection of available peripherals is handled in seperate
.dts files using this am33xx.dtsi generic header file.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
---
 arch/arm/boot/dts/am33xx.dtsi |  189 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 189 insertions(+)
 create mode 100644 arch/arm/boot/dts/am33xx.dtsi

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
new file mode 100644
index 0000000..f46e353
--- /dev/null
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -0,0 +1,189 @@
+/*
+ * Device Tree Source for AM33XX SoC
+ *
+ * Copyright (C) 2012 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,am33xx";
+
+	aliases {
+		serial0 = &uart1;
+		serial1 = &uart2;
+		serial2 = &uart3;
+		serial3 = &uart4;
+		serial4 = &uart5;
+		serial5 = &uart6;
+	};
+
+	cpus {
+		cpu@0 {
+			compatible = "arm,cortex-a8";
+		};
+	};
+
+	/*
+	 * The soc node represents the soc top level view. It is uses for IPs
+	 * that are not memory mapped in the MPU view or for the MPU itself.
+	 */
+	soc {
+		compatible = "ti,omap-infra";
+		mpu {
+			compatible = "ti,omap3-mpu";
+			ti,hwmods = "mpu";
+		};
+	};
+
+	/*
+	 * XXX: Use a flat representation of the AM33XX interconnect.
+	 * The real AM33XX interconnect network is quite complex.Since
+	 * that will not bring real advantage to represent that in DT
+	 * for the moment, just use a fake OCP bus entry to represent
+	 * the whole bus hierarchy.
+	 */
+	ocp {
+		compatible = "simple-bus";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+		ti,hwmods = "l3_main";
+
+		intc: interrupt-controller@48200000 {
+			compatible = "ti,omap2-intc";
+			interrupt-controller;
+			#interrupt-cells = <1>;
+			ti,intc-size = <128>;
+			reg = <0x48200000 0x1000>;
+		};
+
+		gpio1: gpio@44e07000 {
+			compatible = "ti,omap4-gpio";
+			ti,hwmods = "gpio1";
+			gpio-controller;
+			#gpio-cells = <2>;
+			interrupt-controller;
+			#interrupt-cells = <1>;
+		};
+
+		gpio2: gpio@4804C000 {
+			compatible = "ti,omap4-gpio";
+			ti,hwmods = "gpio2";
+			gpio-controller;
+			#gpio-cells = <2>;
+			interrupt-controller;
+			#interrupt-cells = <1>;
+		};
+
+		gpio3: gpio@481AC000 {
+			compatible = "ti,omap4-gpio";
+			ti,hwmods = "gpio3";
+			gpio-controller;
+			#gpio-cells = <2>;
+			interrupt-controller;
+			#interrupt-cells = <1>;
+		};
+
+		gpio4: gpio@481AE000 {
+			compatible = "ti,omap4-gpio";
+			ti,hwmods = "gpio4";
+			gpio-controller;
+			#gpio-cells = <2>;
+			interrupt-controller;
+			#interrupt-cells = <1>;
+		};
+
+		uart1: serial@44E09000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart1";
+			clock-frequency = <48000000>;
+		};
+
+		uart2: serial@48022000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart2";
+			clock-frequency = <48000000>;
+		};
+
+		uart3: serial@48024000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart3";
+			clock-frequency = <48000000>;
+		};
+
+		uart4: serial@481A6000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart4";
+			clock-frequency = <48000000>;
+		};
+
+		uart5: serial@481A8000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart5";
+			clock-frequency = <48000000>;
+		};
+
+		uart6: serial@481AA000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart6";
+			clock-frequency = <48000000>;
+		};
+
+		i2c1: i2c@44E0B000 {
+			compatible = "ti,omap4-i2c";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			ti,hwmods = "i2c1";
+		};
+
+		i2c2: i2c@4802A000 {
+			compatible = "ti,omap4-i2c";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			ti,hwmods = "i2c2";
+		};
+
+		i2c3: i2c@4819C000 {
+			compatible = "ti,omap4-i2c";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			ti,hwmods = "i2c3";
+		};
+
+		mcspi1: spi@48030000 {
+			compatible = "ti,omap2-mcspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			ti,hwmods = "spi0";
+			ti,spi-num-cs = <4>;
+		};
+
+		mcspi2: spi@481Aa000 {
+			compatible = "ti,omap2-mcspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			ti,hwmods = "spi1";
+			ti,spi-num-cs = <2>;
+		};
+
+		mmc1: mmc@48060000 {
+			compatible = "ti,omap3-hsmmc";
+			ti,hwmods = "mmc1";
+		};
+
+		mmc2: mmc@481D8000 {
+			compatible = "ti,omap3-hsmmc";
+			ti,hwmods = "mmc2";
+		};
+
+		mmc3: mmc@47810000 {
+			compatible = "ti,omap3-hsmmc";
+			ti,hwmods = "mmc3";
+		};
+	};
+};
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 2/4] arm/dts: Add initial DT support for AM33XX SoC family
@ 2012-06-22  9:40   ` AnilKumar Ch
  0 siblings, 0 replies; 24+ messages in thread
From: AnilKumar Ch @ 2012-06-22  9:40 UTC (permalink / raw)
  To: linux-arm-kernel

Add device tree source include file for the AM33XX SoC family.
An additional .dtsi file is created to describe the generic
AM33XX CPU module like intc, ocp.

Actual selection of available peripherals is handled in seperate
.dts files using this am33xx.dtsi generic header file.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
---
 arch/arm/boot/dts/am33xx.dtsi |  189 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 189 insertions(+)
 create mode 100644 arch/arm/boot/dts/am33xx.dtsi

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
new file mode 100644
index 0000000..f46e353
--- /dev/null
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -0,0 +1,189 @@
+/*
+ * Device Tree Source for AM33XX SoC
+ *
+ * Copyright (C) 2012 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,am33xx";
+
+	aliases {
+		serial0 = &uart1;
+		serial1 = &uart2;
+		serial2 = &uart3;
+		serial3 = &uart4;
+		serial4 = &uart5;
+		serial5 = &uart6;
+	};
+
+	cpus {
+		cpu at 0 {
+			compatible = "arm,cortex-a8";
+		};
+	};
+
+	/*
+	 * The soc node represents the soc top level view. It is uses for IPs
+	 * that are not memory mapped in the MPU view or for the MPU itself.
+	 */
+	soc {
+		compatible = "ti,omap-infra";
+		mpu {
+			compatible = "ti,omap3-mpu";
+			ti,hwmods = "mpu";
+		};
+	};
+
+	/*
+	 * XXX: Use a flat representation of the AM33XX interconnect.
+	 * The real AM33XX interconnect network is quite complex.Since
+	 * that will not bring real advantage to represent that in DT
+	 * for the moment, just use a fake OCP bus entry to represent
+	 * the whole bus hierarchy.
+	 */
+	ocp {
+		compatible = "simple-bus";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+		ti,hwmods = "l3_main";
+
+		intc: interrupt-controller at 48200000 {
+			compatible = "ti,omap2-intc";
+			interrupt-controller;
+			#interrupt-cells = <1>;
+			ti,intc-size = <128>;
+			reg = <0x48200000 0x1000>;
+		};
+
+		gpio1: gpio at 44e07000 {
+			compatible = "ti,omap4-gpio";
+			ti,hwmods = "gpio1";
+			gpio-controller;
+			#gpio-cells = <2>;
+			interrupt-controller;
+			#interrupt-cells = <1>;
+		};
+
+		gpio2: gpio at 4804C000 {
+			compatible = "ti,omap4-gpio";
+			ti,hwmods = "gpio2";
+			gpio-controller;
+			#gpio-cells = <2>;
+			interrupt-controller;
+			#interrupt-cells = <1>;
+		};
+
+		gpio3: gpio at 481AC000 {
+			compatible = "ti,omap4-gpio";
+			ti,hwmods = "gpio3";
+			gpio-controller;
+			#gpio-cells = <2>;
+			interrupt-controller;
+			#interrupt-cells = <1>;
+		};
+
+		gpio4: gpio at 481AE000 {
+			compatible = "ti,omap4-gpio";
+			ti,hwmods = "gpio4";
+			gpio-controller;
+			#gpio-cells = <2>;
+			interrupt-controller;
+			#interrupt-cells = <1>;
+		};
+
+		uart1: serial at 44E09000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart1";
+			clock-frequency = <48000000>;
+		};
+
+		uart2: serial at 48022000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart2";
+			clock-frequency = <48000000>;
+		};
+
+		uart3: serial at 48024000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart3";
+			clock-frequency = <48000000>;
+		};
+
+		uart4: serial at 481A6000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart4";
+			clock-frequency = <48000000>;
+		};
+
+		uart5: serial at 481A8000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart5";
+			clock-frequency = <48000000>;
+		};
+
+		uart6: serial at 481AA000 {
+			compatible = "ti,omap3-uart";
+			ti,hwmods = "uart6";
+			clock-frequency = <48000000>;
+		};
+
+		i2c1: i2c at 44E0B000 {
+			compatible = "ti,omap4-i2c";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			ti,hwmods = "i2c1";
+		};
+
+		i2c2: i2c at 4802A000 {
+			compatible = "ti,omap4-i2c";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			ti,hwmods = "i2c2";
+		};
+
+		i2c3: i2c at 4819C000 {
+			compatible = "ti,omap4-i2c";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			ti,hwmods = "i2c3";
+		};
+
+		mcspi1: spi at 48030000 {
+			compatible = "ti,omap2-mcspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			ti,hwmods = "spi0";
+			ti,spi-num-cs = <4>;
+		};
+
+		mcspi2: spi at 481Aa000 {
+			compatible = "ti,omap2-mcspi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			ti,hwmods = "spi1";
+			ti,spi-num-cs = <2>;
+		};
+
+		mmc1: mmc at 48060000 {
+			compatible = "ti,omap3-hsmmc";
+			ti,hwmods = "mmc1";
+		};
+
+		mmc2: mmc at 481D8000 {
+			compatible = "ti,omap3-hsmmc";
+			ti,hwmods = "mmc2";
+		};
+
+		mmc3: mmc at 47810000 {
+			compatible = "ti,omap3-hsmmc";
+			ti,hwmods = "mmc3";
+		};
+	};
+};
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 3/4] arm/dts: Add support for AM335x EVM
  2012-06-22  9:40 ` AnilKumar Ch
@ 2012-06-22  9:40   ` AnilKumar Ch
  -1 siblings, 0 replies; 24+ messages in thread
From: AnilKumar Ch @ 2012-06-22  9:40 UTC (permalink / raw)
  To: linux-omap; +Cc: tony, b-cousson, linux-arm-kernel, AnilKumar Ch

Add AM335X EVM device tree source (am335x-evm.dts) file to
use the am33xx.dtsi SoC file, along with the memory node
information.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
---
 arch/arm/boot/dts/am335x-evm.dts |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 arch/arm/boot/dts/am335x-evm.dts

diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
new file mode 100644
index 0000000..d6a97d9
--- /dev/null
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+/dts-v1/;
+
+/include/ "am33xx.dtsi"
+
+/ {
+	model = "TI AM335x EVM";
+	compatible = "ti,am335x-evm", "ti,am33xx";
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x10000000>; /* 256 MB */
+	};
+};
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 3/4] arm/dts: Add support for AM335x EVM
@ 2012-06-22  9:40   ` AnilKumar Ch
  0 siblings, 0 replies; 24+ messages in thread
From: AnilKumar Ch @ 2012-06-22  9:40 UTC (permalink / raw)
  To: linux-arm-kernel

Add AM335X EVM device tree source (am335x-evm.dts) file to
use the am33xx.dtsi SoC file, along with the memory node
information.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
---
 arch/arm/boot/dts/am335x-evm.dts |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 arch/arm/boot/dts/am335x-evm.dts

diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
new file mode 100644
index 0000000..d6a97d9
--- /dev/null
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+/dts-v1/;
+
+/include/ "am33xx.dtsi"
+
+/ {
+	model = "TI AM335x EVM";
+	compatible = "ti,am335x-evm", "ti,am33xx";
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x10000000>; /* 256 MB */
+	};
+};
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 4/4] arm/dts: Add support for AM335x BeagleBone
  2012-06-22  9:40 ` AnilKumar Ch
@ 2012-06-22  9:40   ` AnilKumar Ch
  -1 siblings, 0 replies; 24+ messages in thread
From: AnilKumar Ch @ 2012-06-22  9:40 UTC (permalink / raw)
  To: linux-omap; +Cc: tony, b-cousson, linux-arm-kernel, AnilKumar Ch

Add AM335X BeagleBone device tree source (am335x-evm.dts) file
to use the am33xx.dtsi SoC file, along with the memory node
information.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
---
 .../devicetree/bindings/arm/omap/omap.txt          |    3 +++
 arch/arm/boot/dts/am335x-bone.dts                  |   20 ++++++++++++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 arch/arm/boot/dts/am335x-bone.dts

diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt
index e78e8bc..f186167 100644
--- a/Documentation/devicetree/bindings/arm/omap/omap.txt
+++ b/Documentation/devicetree/bindings/arm/omap/omap.txt
@@ -47,3 +47,6 @@ Boards:
 
 - AM335X EVM : Software Developement Board for AM335x
   compatible = "ti,am335x-evm", "ti,am33xx", "ti,omap3"
+
+- AM335X Bone : Low cost community board
+  compatible = "ti,am335x-bone", "ti,am33xx", "ti,omap3"
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
new file mode 100644
index 0000000..a9af4db
--- /dev/null
+++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+/dts-v1/;
+
+/include/ "am33xx.dtsi"
+
+/ {
+	model = "TI AM335x BeagleBone";
+	compatible = "ti,am335x-bone", "ti,am33xx";
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x10000000>; /* 256 MB */
+	};
+};
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 4/4] arm/dts: Add support for AM335x BeagleBone
@ 2012-06-22  9:40   ` AnilKumar Ch
  0 siblings, 0 replies; 24+ messages in thread
From: AnilKumar Ch @ 2012-06-22  9:40 UTC (permalink / raw)
  To: linux-arm-kernel

Add AM335X BeagleBone device tree source (am335x-evm.dts) file
to use the am33xx.dtsi SoC file, along with the memory node
information.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
---
 .../devicetree/bindings/arm/omap/omap.txt          |    3 +++
 arch/arm/boot/dts/am335x-bone.dts                  |   20 ++++++++++++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 arch/arm/boot/dts/am335x-bone.dts

diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt
index e78e8bc..f186167 100644
--- a/Documentation/devicetree/bindings/arm/omap/omap.txt
+++ b/Documentation/devicetree/bindings/arm/omap/omap.txt
@@ -47,3 +47,6 @@ Boards:
 
 - AM335X EVM : Software Developement Board for AM335x
   compatible = "ti,am335x-evm", "ti,am33xx", "ti,omap3"
+
+- AM335X Bone : Low cost community board
+  compatible = "ti,am335x-bone", "ti,am33xx", "ti,omap3"
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
new file mode 100644
index 0000000..a9af4db
--- /dev/null
+++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+/dts-v1/;
+
+/include/ "am33xx.dtsi"
+
+/ {
+	model = "TI AM335x BeagleBone";
+	compatible = "ti,am335x-bone", "ti,am33xx";
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x10000000>; /* 256 MB */
+	};
+};
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* RE: [PATCH 0/3] Add device tree support to AM33XX SoC
  2012-06-22  9:40 ` AnilKumar Ch
@ 2012-06-28 10:01   ` AnilKumar, Chimata
  -1 siblings, 0 replies; 24+ messages in thread
From: AnilKumar, Chimata @ 2012-06-28 10:01 UTC (permalink / raw)
  To: AnilKumar, Chimata, linux-omap; +Cc: tony, Cousson, Benoit, linux-arm-kernel

Hi,

Gentle remainder to this patch series.

On Fri, Jun 22, 2012 at 15:10:46, AnilKumar, Chimata wrote:
> This patch series add device tree support for AM33XX SoC family.
> 
> Initialy Hiremath Vaibhav submitted a patch for AM33XX devices
> based on omap3 family. Details at
> http://marc.info/?t=132687107200002&r=1&w=2
> 
> AM33XX family is varied from omap3 family in these aspects
> like memory maps, peripheral base addresses and configuration
> parameters. In some cases we have to use a mix of omap3 and
> omap4 parameters. So a seperate am33xx.dtsi file is created
> for all the devices comes under am33xx family and revert of
> above patch is required.
> 
> Two sepearte device tree source files are created (am335x-evm.dts
> and am335x-bone.dts) to add support for AM335X EVM and BeagleBone
> boards.
> 
> Linux booting is tested on AM335X-EVM and BeagleBone boards.
> 
> AnilKumar Ch (4):
>   Revert "arm/dts: Add support for TI AM335x EVM board"
>   arm/dts: Add initial DT support for AM33XX SoC family
>   arm/dts: Add support for AM335x EVM
>   arm/dts: Add support for AM335x BeagleBone
> 
>  .../devicetree/bindings/arm/omap/omap.txt          |    3 +
>  arch/arm/boot/dts/am335x-bone.dts                  |   20 +++
>  arch/arm/boot/dts/am335x-evm.dts                   |   25 +--
>  arch/arm/boot/dts/am33xx.dtsi                      |  189 ++++++++++++++++++++
>  4 files changed, 215 insertions(+), 22 deletions(-)
>  create mode 100644 arch/arm/boot/dts/am335x-bone.dts
>  create mode 100644 arch/arm/boot/dts/am33xx.dtsi
> 
> -- 
> 1.7.9.5

Thanks
AnilKumar

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 0/3] Add device tree support to AM33XX SoC
@ 2012-06-28 10:01   ` AnilKumar, Chimata
  0 siblings, 0 replies; 24+ messages in thread
From: AnilKumar, Chimata @ 2012-06-28 10:01 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

Gentle remainder to this patch series.

On Fri, Jun 22, 2012 at 15:10:46, AnilKumar, Chimata wrote:
> This patch series add device tree support for AM33XX SoC family.
> 
> Initialy Hiremath Vaibhav submitted a patch for AM33XX devices
> based on omap3 family. Details at
> http://marc.info/?t=132687107200002&r=1&w=2
> 
> AM33XX family is varied from omap3 family in these aspects
> like memory maps, peripheral base addresses and configuration
> parameters. In some cases we have to use a mix of omap3 and
> omap4 parameters. So a seperate am33xx.dtsi file is created
> for all the devices comes under am33xx family and revert of
> above patch is required.
> 
> Two sepearte device tree source files are created (am335x-evm.dts
> and am335x-bone.dts) to add support for AM335X EVM and BeagleBone
> boards.
> 
> Linux booting is tested on AM335X-EVM and BeagleBone boards.
> 
> AnilKumar Ch (4):
>   Revert "arm/dts: Add support for TI AM335x EVM board"
>   arm/dts: Add initial DT support for AM33XX SoC family
>   arm/dts: Add support for AM335x EVM
>   arm/dts: Add support for AM335x BeagleBone
> 
>  .../devicetree/bindings/arm/omap/omap.txt          |    3 +
>  arch/arm/boot/dts/am335x-bone.dts                  |   20 +++
>  arch/arm/boot/dts/am335x-evm.dts                   |   25 +--
>  arch/arm/boot/dts/am33xx.dtsi                      |  189 ++++++++++++++++++++
>  4 files changed, 215 insertions(+), 22 deletions(-)
>  create mode 100644 arch/arm/boot/dts/am335x-bone.dts
>  create mode 100644 arch/arm/boot/dts/am33xx.dtsi
> 
> -- 
> 1.7.9.5

Thanks
AnilKumar

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 1/4] Revert "arm/dts: Add support for TI AM335x EVM board"
  2012-06-22  9:40   ` AnilKumar Ch
@ 2012-07-02  8:40     ` Tony Lindgren
  -1 siblings, 0 replies; 24+ messages in thread
From: Tony Lindgren @ 2012-07-02  8:40 UTC (permalink / raw)
  To: AnilKumar Ch; +Cc: linux-omap, b-cousson, linux-arm-kernel

* AnilKumar Ch <anilkumar@ti.com> [120622 02:45]:
> This reverts commit 6c54bbb42678c99685c8e7fd09267e1cb8c2ae40.

As that has not been merged yet, I'll just drop it and set up
a new devel-dt branch. Applying the reset into devel-dt.

Tony
 

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 1/4] Revert "arm/dts: Add support for TI AM335x EVM board"
@ 2012-07-02  8:40     ` Tony Lindgren
  0 siblings, 0 replies; 24+ messages in thread
From: Tony Lindgren @ 2012-07-02  8:40 UTC (permalink / raw)
  To: linux-arm-kernel

* AnilKumar Ch <anilkumar@ti.com> [120622 02:45]:
> This reverts commit 6c54bbb42678c99685c8e7fd09267e1cb8c2ae40.

As that has not been merged yet, I'll just drop it and set up
a new devel-dt branch. Applying the reset into devel-dt.

Tony
 

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 1/4] Revert "arm/dts: Add support for TI AM335x EVM board"
  2012-07-02  8:40     ` Tony Lindgren
@ 2012-07-02  8:44       ` Vaibhav Hiremath
  -1 siblings, 0 replies; 24+ messages in thread
From: Vaibhav Hiremath @ 2012-07-02  8:44 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: AnilKumar Ch, linux-omap, b-cousson, linux-arm-kernel



On 7/2/2012 2:10 PM, Tony Lindgren wrote:
> * AnilKumar Ch <anilkumar@ti.com> [120622 02:45]:
>> This reverts commit 6c54bbb42678c99685c8e7fd09267e1cb8c2ae40.
> 
> As that has not been merged yet, I'll just drop it and set up
> a new devel-dt branch. Applying the reset into devel-dt.
> 

Yeah, that's better.

Care to include it into you next pull request.

Thanks,
Vaibhav

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 1/4] Revert "arm/dts: Add support for TI AM335x EVM board"
@ 2012-07-02  8:44       ` Vaibhav Hiremath
  0 siblings, 0 replies; 24+ messages in thread
From: Vaibhav Hiremath @ 2012-07-02  8:44 UTC (permalink / raw)
  To: linux-arm-kernel



On 7/2/2012 2:10 PM, Tony Lindgren wrote:
> * AnilKumar Ch <anilkumar@ti.com> [120622 02:45]:
>> This reverts commit 6c54bbb42678c99685c8e7fd09267e1cb8c2ae40.
> 
> As that has not been merged yet, I'll just drop it and set up
> a new devel-dt branch. Applying the reset into devel-dt.
> 

Yeah, that's better.

Care to include it into you next pull request.

Thanks,
Vaibhav

^ permalink raw reply	[flat|nested] 24+ messages in thread

* RE: [PATCH 1/4] Revert "arm/dts: Add support for TI AM335x EVM board"
  2012-07-02  8:44       ` Vaibhav Hiremath
@ 2012-07-03 10:29         ` AnilKumar, Chimata
  -1 siblings, 0 replies; 24+ messages in thread
From: AnilKumar, Chimata @ 2012-07-03 10:29 UTC (permalink / raw)
  To: Hiremath, Vaibhav, Tony Lindgren
  Cc: linux-omap, Cousson, Benoit, linux-arm-kernel

Hi Tony,

On Mon, Jul 02, 2012 at 14:14:45, Hiremath, Vaibhav wrote:
> 
> 
> On 7/2/2012 2:10 PM, Tony Lindgren wrote:
> > * AnilKumar Ch <anilkumar@ti.com> [120622 02:45]:
> >> This reverts commit 6c54bbb42678c99685c8e7fd09267e1cb8c2ae40.
> > 
> > As that has not been merged yet, I'll just drop it and set up
> > a new devel-dt branch. Applying the reset into devel-dt.
> > 
> 
> Yeah, that's better.
> 
> Care to include it into you next pull request.
> 

devel-dt branch is created but these patches are not pushed yet.

Let me know do you have any comments on the patches.

Thanks
AnilKumar

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 1/4] Revert "arm/dts: Add support for TI AM335x EVM board"
@ 2012-07-03 10:29         ` AnilKumar, Chimata
  0 siblings, 0 replies; 24+ messages in thread
From: AnilKumar, Chimata @ 2012-07-03 10:29 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Tony,

On Mon, Jul 02, 2012 at 14:14:45, Hiremath, Vaibhav wrote:
> 
> 
> On 7/2/2012 2:10 PM, Tony Lindgren wrote:
> > * AnilKumar Ch <anilkumar@ti.com> [120622 02:45]:
> >> This reverts commit 6c54bbb42678c99685c8e7fd09267e1cb8c2ae40.
> > 
> > As that has not been merged yet, I'll just drop it and set up
> > a new devel-dt branch. Applying the reset into devel-dt.
> > 
> 
> Yeah, that's better.
> 
> Care to include it into you next pull request.
> 

devel-dt branch is created but these patches are not pushed yet.

Let me know do you have any comments on the patches.

Thanks
AnilKumar

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 1/4] Revert "arm/dts: Add support for TI AM335x EVM board"
  2012-07-03 10:29         ` AnilKumar, Chimata
@ 2012-07-03 11:18           ` Tony Lindgren
  -1 siblings, 0 replies; 24+ messages in thread
From: Tony Lindgren @ 2012-07-03 11:18 UTC (permalink / raw)
  To: AnilKumar, Chimata
  Cc: Hiremath, Vaibhav, linux-omap, Cousson, Benoit, linux-arm-kernel

* AnilKumar, Chimata <anilkumar@ti.com> [120703 03:34]:
> Hi Tony,
> 
> On Mon, Jul 02, 2012 at 14:14:45, Hiremath, Vaibhav wrote:
> > 
> > 
> > On 7/2/2012 2:10 PM, Tony Lindgren wrote:
> > > * AnilKumar Ch <anilkumar@ti.com> [120622 02:45]:
> > >> This reverts commit 6c54bbb42678c99685c8e7fd09267e1cb8c2ae40.
> > > 
> > > As that has not been merged yet, I'll just drop it and set up
> > > a new devel-dt branch. Applying the reset into devel-dt.
> > > 
> > 
> > Yeah, that's better.
> > 
> > Care to include it into you next pull request.

Yes that's the plan.
 
> devel-dt branch is created but these patches are not pushed yet.
> 
> Let me know do you have any comments on the patches.

Oops, sorry yes looks like I only dropped the one you wanted
to revert but forgot to apply the new ones. Applied now to
devel-dt and pushed out.

Regards,

Tony

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 1/4] Revert "arm/dts: Add support for TI AM335x EVM board"
@ 2012-07-03 11:18           ` Tony Lindgren
  0 siblings, 0 replies; 24+ messages in thread
From: Tony Lindgren @ 2012-07-03 11:18 UTC (permalink / raw)
  To: linux-arm-kernel

* AnilKumar, Chimata <anilkumar@ti.com> [120703 03:34]:
> Hi Tony,
> 
> On Mon, Jul 02, 2012 at 14:14:45, Hiremath, Vaibhav wrote:
> > 
> > 
> > On 7/2/2012 2:10 PM, Tony Lindgren wrote:
> > > * AnilKumar Ch <anilkumar@ti.com> [120622 02:45]:
> > >> This reverts commit 6c54bbb42678c99685c8e7fd09267e1cb8c2ae40.
> > > 
> > > As that has not been merged yet, I'll just drop it and set up
> > > a new devel-dt branch. Applying the reset into devel-dt.
> > > 
> > 
> > Yeah, that's better.
> > 
> > Care to include it into you next pull request.

Yes that's the plan.
 
> devel-dt branch is created but these patches are not pushed yet.
> 
> Let me know do you have any comments on the patches.

Oops, sorry yes looks like I only dropped the one you wanted
to revert but forgot to apply the new ones. Applied now to
devel-dt and pushed out.

Regards,

Tony

^ permalink raw reply	[flat|nested] 24+ messages in thread

* RE: [PATCH 2/4] arm/dts: Add initial DT support for AM33XX SoC family
  2012-06-22  9:40   ` AnilKumar Ch
@ 2012-07-05  8:16     ` AnilKumar, Chimata
  -1 siblings, 0 replies; 24+ messages in thread
From: AnilKumar, Chimata @ 2012-07-05  8:16 UTC (permalink / raw)
  To: AnilKumar, Chimata, linux-omap; +Cc: tony, Cousson, Benoit, linux-arm-kernel


Hi Tony,

On Fri, Jun 22, 2012 at 15:10:48, AnilKumar, Chimata wrote:
> Add device tree source include file for the AM33XX SoC family.
> An additional .dtsi file is created to describe the generic
> AM33XX CPU module like intc, ocp.
> 
> Actual selection of available peripherals is handled in seperate
> .dts files using this am33xx.dtsi generic header file.
> 
> Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
> Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
> ---
>  arch/arm/boot/dts/am33xx.dtsi |  189 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 189 insertions(+)
>  create mode 100644 arch/arm/boot/dts/am33xx.dtsi
> 
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> new file mode 100644
> index 0000000..f46e353
> --- /dev/null
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -0,0 +1,189 @@
> +/*
> + * Device Tree Source for AM33XX SoC
> + *
> + * Copyright (C) 2012 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,am33xx";
> +
> +	aliases {
> +		serial0 = &uart1;
> +		serial1 = &uart2;
> +		serial2 = &uart3;
> +		serial3 = &uart4;
> +		serial4 = &uart5;
> +		serial5 = &uart6;
> +	};
> +
> +	cpus {
> +		cpu@0 {
> +			compatible = "arm,cortex-a8";
> +		};
> +	};
> +
> +	/*
> +	 * The soc node represents the soc top level view. It is uses for IPs
> +	 * that are not memory mapped in the MPU view or for the MPU itself.
> +	 */
> +	soc {
> +		compatible = "ti,omap-infra";
> +		mpu {
> +			compatible = "ti,omap3-mpu";
> +			ti,hwmods = "mpu";
> +		};
> +	};
> +
> +	/*
> +	 * XXX: Use a flat representation of the AM33XX interconnect.
> +	 * The real AM33XX interconnect network is quite complex.Since
> +	 * that will not bring real advantage to represent that in DT
> +	 * for the moment, just use a fake OCP bus entry to represent
> +	 * the whole bus hierarchy.
> +	 */
> +	ocp {
> +		compatible = "simple-bus";
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges;
> +		ti,hwmods = "l3_main";
> +
> +		intc: interrupt-controller@48200000 {
> +			compatible = "ti,omap2-intc";
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +			ti,intc-size = <128>;
> +			reg = <0x48200000 0x1000>;
> +		};
> +
> +		gpio1: gpio@44e07000 {
> +			compatible = "ti,omap4-gpio";
> +			ti,hwmods = "gpio1";
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +		};
> +
> +		gpio2: gpio@4804C000 {
> +			compatible = "ti,omap4-gpio";
> +			ti,hwmods = "gpio2";
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +		};
> +
> +		gpio3: gpio@481AC000 {
> +			compatible = "ti,omap4-gpio";
> +			ti,hwmods = "gpio3";
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +		};
> +
> +		gpio4: gpio@481AE000 {
> +			compatible = "ti,omap4-gpio";
> +			ti,hwmods = "gpio4";
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +		};
> +
> +		uart1: serial@44E09000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart1";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		uart2: serial@48022000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart2";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		uart3: serial@48024000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart3";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		uart4: serial@481A6000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart4";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		uart5: serial@481A8000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart5";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		uart6: serial@481AA000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart6";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		i2c1: i2c@44E0B000 {
> +			compatible = "ti,omap4-i2c";
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			ti,hwmods = "i2c1";
> +		};
> +
> +		i2c2: i2c@4802A000 {
> +			compatible = "ti,omap4-i2c";
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			ti,hwmods = "i2c2";
> +		};
> +
> +		i2c3: i2c@4819C000 {
> +			compatible = "ti,omap4-i2c";
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			ti,hwmods = "i2c3";
> +		};
> +
> +		mcspi1: spi@48030000 {
> +			compatible = "ti,omap2-mcspi";

I realized that for mcspi and mmc, the compatible name supposed tobe close to
omap4-mcspi. 
These changes seems to went from my local branch, so could you please merge 
below patch with this
5fc0b42a98556bd9f01cecc6a64fcbd15ec363f0 "arm/dts: Add initial DT
support for AM33XX SoC family"


diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 1e7b98f..258b10e 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -166,36 +166,5 @@
                        #size-cells = <0>;
                        ti,hwmods = "i2c3";
                };
-
-               mcspi1: spi@48030000 {
-                       compatible = "ti,omap2-mcspi";
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-                       ti,hwmods = "spi0";
-                       ti,spi-num-cs = <4>;
-               };
-
-               mcspi2: spi@481Aa000 {
-                       compatible = "ti,omap2-mcspi";
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-                       ti,hwmods = "spi1";
-                       ti,spi-num-cs = <2>;
-               };
-
-               mmc1: mmc@48060000 {
-                       compatible = "ti,omap3-hsmmc";
-                       ti,hwmods = "mmc1";
-               };
-
-               mmc2: mmc@481D8000 {
-                       compatible = "ti,omap3-hsmmc";
-                       ti,hwmods = "mmc2";
-               };
-
-               mmc3: mmc@47810000 {
-                       compatible = "ti,omap3-hsmmc";
-                       ti,hwmods = "mmc3";
-               };
        };
 };
--

Thanks
AnilKumar

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 2/4] arm/dts: Add initial DT support for AM33XX SoC family
@ 2012-07-05  8:16     ` AnilKumar, Chimata
  0 siblings, 0 replies; 24+ messages in thread
From: AnilKumar, Chimata @ 2012-07-05  8:16 UTC (permalink / raw)
  To: linux-arm-kernel


Hi Tony,

On Fri, Jun 22, 2012 at 15:10:48, AnilKumar, Chimata wrote:
> Add device tree source include file for the AM33XX SoC family.
> An additional .dtsi file is created to describe the generic
> AM33XX CPU module like intc, ocp.
> 
> Actual selection of available peripherals is handled in seperate
> .dts files using this am33xx.dtsi generic header file.
> 
> Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
> Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
> ---
>  arch/arm/boot/dts/am33xx.dtsi |  189 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 189 insertions(+)
>  create mode 100644 arch/arm/boot/dts/am33xx.dtsi
> 
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> new file mode 100644
> index 0000000..f46e353
> --- /dev/null
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -0,0 +1,189 @@
> +/*
> + * Device Tree Source for AM33XX SoC
> + *
> + * Copyright (C) 2012 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,am33xx";
> +
> +	aliases {
> +		serial0 = &uart1;
> +		serial1 = &uart2;
> +		serial2 = &uart3;
> +		serial3 = &uart4;
> +		serial4 = &uart5;
> +		serial5 = &uart6;
> +	};
> +
> +	cpus {
> +		cpu at 0 {
> +			compatible = "arm,cortex-a8";
> +		};
> +	};
> +
> +	/*
> +	 * The soc node represents the soc top level view. It is uses for IPs
> +	 * that are not memory mapped in the MPU view or for the MPU itself.
> +	 */
> +	soc {
> +		compatible = "ti,omap-infra";
> +		mpu {
> +			compatible = "ti,omap3-mpu";
> +			ti,hwmods = "mpu";
> +		};
> +	};
> +
> +	/*
> +	 * XXX: Use a flat representation of the AM33XX interconnect.
> +	 * The real AM33XX interconnect network is quite complex.Since
> +	 * that will not bring real advantage to represent that in DT
> +	 * for the moment, just use a fake OCP bus entry to represent
> +	 * the whole bus hierarchy.
> +	 */
> +	ocp {
> +		compatible = "simple-bus";
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges;
> +		ti,hwmods = "l3_main";
> +
> +		intc: interrupt-controller at 48200000 {
> +			compatible = "ti,omap2-intc";
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +			ti,intc-size = <128>;
> +			reg = <0x48200000 0x1000>;
> +		};
> +
> +		gpio1: gpio at 44e07000 {
> +			compatible = "ti,omap4-gpio";
> +			ti,hwmods = "gpio1";
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +		};
> +
> +		gpio2: gpio at 4804C000 {
> +			compatible = "ti,omap4-gpio";
> +			ti,hwmods = "gpio2";
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +		};
> +
> +		gpio3: gpio at 481AC000 {
> +			compatible = "ti,omap4-gpio";
> +			ti,hwmods = "gpio3";
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +		};
> +
> +		gpio4: gpio at 481AE000 {
> +			compatible = "ti,omap4-gpio";
> +			ti,hwmods = "gpio4";
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +		};
> +
> +		uart1: serial at 44E09000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart1";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		uart2: serial at 48022000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart2";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		uart3: serial at 48024000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart3";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		uart4: serial at 481A6000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart4";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		uart5: serial at 481A8000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart5";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		uart6: serial at 481AA000 {
> +			compatible = "ti,omap3-uart";
> +			ti,hwmods = "uart6";
> +			clock-frequency = <48000000>;
> +		};
> +
> +		i2c1: i2c at 44E0B000 {
> +			compatible = "ti,omap4-i2c";
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			ti,hwmods = "i2c1";
> +		};
> +
> +		i2c2: i2c at 4802A000 {
> +			compatible = "ti,omap4-i2c";
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			ti,hwmods = "i2c2";
> +		};
> +
> +		i2c3: i2c at 4819C000 {
> +			compatible = "ti,omap4-i2c";
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			ti,hwmods = "i2c3";
> +		};
> +
> +		mcspi1: spi at 48030000 {
> +			compatible = "ti,omap2-mcspi";

I realized that for mcspi and mmc, the compatible name supposed tobe close to
omap4-mcspi. 
These changes seems to went from my local branch, so could you please merge 
below patch with this
5fc0b42a98556bd9f01cecc6a64fcbd15ec363f0 "arm/dts: Add initial DT
support for AM33XX SoC family"


diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 1e7b98f..258b10e 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -166,36 +166,5 @@
                        #size-cells = <0>;
                        ti,hwmods = "i2c3";
                };
-
-               mcspi1: spi at 48030000 {
-                       compatible = "ti,omap2-mcspi";
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-                       ti,hwmods = "spi0";
-                       ti,spi-num-cs = <4>;
-               };
-
-               mcspi2: spi at 481Aa000 {
-                       compatible = "ti,omap2-mcspi";
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-                       ti,hwmods = "spi1";
-                       ti,spi-num-cs = <2>;
-               };
-
-               mmc1: mmc at 48060000 {
-                       compatible = "ti,omap3-hsmmc";
-                       ti,hwmods = "mmc1";
-               };
-
-               mmc2: mmc at 481D8000 {
-                       compatible = "ti,omap3-hsmmc";
-                       ti,hwmods = "mmc2";
-               };
-
-               mmc3: mmc at 47810000 {
-                       compatible = "ti,omap3-hsmmc";
-                       ti,hwmods = "mmc3";
-               };
        };
 };
--

Thanks
AnilKumar

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: [PATCH 2/4] arm/dts: Add initial DT support for AM33XX SoC family
  2012-07-05  8:16     ` AnilKumar, Chimata
@ 2012-07-06  7:24       ` Tony Lindgren
  -1 siblings, 0 replies; 24+ messages in thread
From: Tony Lindgren @ 2012-07-06  7:24 UTC (permalink / raw)
  To: AnilKumar, Chimata; +Cc: linux-omap, Cousson, Benoit, linux-arm-kernel

Hi,

* AnilKumar, Chimata <anilkumar@ti.com> [120705 01:21]:
> 
> I realized that for mcspi and mmc, the compatible name supposed tobe close to
> omap4-mcspi. 
> These changes seems to went from my local branch, so could you please merge 
> below patch with this
> 5fc0b42a98556bd9f01cecc6a64fcbd15ec363f0 "arm/dts: Add initial DT
> support for AM33XX SoC family"

I don't quite follow, do you mean you want to change some compatible names?
Your patch is just removing entries though?

Anyways, please just send a fix with a proper description and Signed-off-by
on top of the devel-dt branch.

Regards,

Tony 
 
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> index 1e7b98f..258b10e 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -166,36 +166,5 @@
>                         #size-cells = <0>;
>                         ti,hwmods = "i2c3";
>                 };
> -
> -               mcspi1: spi@48030000 {
> -                       compatible = "ti,omap2-mcspi";
> -                       #address-cells = <1>;
> -                       #size-cells = <0>;
> -                       ti,hwmods = "spi0";
> -                       ti,spi-num-cs = <4>;
> -               };
> -
> -               mcspi2: spi@481Aa000 {
> -                       compatible = "ti,omap2-mcspi";
> -                       #address-cells = <1>;
> -                       #size-cells = <0>;
> -                       ti,hwmods = "spi1";
> -                       ti,spi-num-cs = <2>;
> -               };
> -
> -               mmc1: mmc@48060000 {
> -                       compatible = "ti,omap3-hsmmc";
> -                       ti,hwmods = "mmc1";
> -               };
> -
> -               mmc2: mmc@481D8000 {
> -                       compatible = "ti,omap3-hsmmc";
> -                       ti,hwmods = "mmc2";
> -               };
> -
> -               mmc3: mmc@47810000 {
> -                       compatible = "ti,omap3-hsmmc";
> -                       ti,hwmods = "mmc3";
> -               };
>         };
>  };
> --
> 
> Thanks
> AnilKumar

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 2/4] arm/dts: Add initial DT support for AM33XX SoC family
@ 2012-07-06  7:24       ` Tony Lindgren
  0 siblings, 0 replies; 24+ messages in thread
From: Tony Lindgren @ 2012-07-06  7:24 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

* AnilKumar, Chimata <anilkumar@ti.com> [120705 01:21]:
> 
> I realized that for mcspi and mmc, the compatible name supposed tobe close to
> omap4-mcspi. 
> These changes seems to went from my local branch, so could you please merge 
> below patch with this
> 5fc0b42a98556bd9f01cecc6a64fcbd15ec363f0 "arm/dts: Add initial DT
> support for AM33XX SoC family"

I don't quite follow, do you mean you want to change some compatible names?
Your patch is just removing entries though?

Anyways, please just send a fix with a proper description and Signed-off-by
on top of the devel-dt branch.

Regards,

Tony 
 
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> index 1e7b98f..258b10e 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -166,36 +166,5 @@
>                         #size-cells = <0>;
>                         ti,hwmods = "i2c3";
>                 };
> -
> -               mcspi1: spi at 48030000 {
> -                       compatible = "ti,omap2-mcspi";
> -                       #address-cells = <1>;
> -                       #size-cells = <0>;
> -                       ti,hwmods = "spi0";
> -                       ti,spi-num-cs = <4>;
> -               };
> -
> -               mcspi2: spi at 481Aa000 {
> -                       compatible = "ti,omap2-mcspi";
> -                       #address-cells = <1>;
> -                       #size-cells = <0>;
> -                       ti,hwmods = "spi1";
> -                       ti,spi-num-cs = <2>;
> -               };
> -
> -               mmc1: mmc at 48060000 {
> -                       compatible = "ti,omap3-hsmmc";
> -                       ti,hwmods = "mmc1";
> -               };
> -
> -               mmc2: mmc at 481D8000 {
> -                       compatible = "ti,omap3-hsmmc";
> -                       ti,hwmods = "mmc2";
> -               };
> -
> -               mmc3: mmc at 47810000 {
> -                       compatible = "ti,omap3-hsmmc";
> -                       ti,hwmods = "mmc3";
> -               };
>         };
>  };
> --
> 
> Thanks
> AnilKumar

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2012-07-06  7:24 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22  9:40 [PATCH 0/3] Add device tree support to AM33XX SoC AnilKumar Ch
2012-06-22  9:40 ` AnilKumar Ch
2012-06-22  9:40 ` [PATCH 1/4] Revert "arm/dts: Add support for TI AM335x EVM board" AnilKumar Ch
2012-06-22  9:40   ` AnilKumar Ch
2012-07-02  8:40   ` Tony Lindgren
2012-07-02  8:40     ` Tony Lindgren
2012-07-02  8:44     ` Vaibhav Hiremath
2012-07-02  8:44       ` Vaibhav Hiremath
2012-07-03 10:29       ` AnilKumar, Chimata
2012-07-03 10:29         ` AnilKumar, Chimata
2012-07-03 11:18         ` Tony Lindgren
2012-07-03 11:18           ` Tony Lindgren
2012-06-22  9:40 ` [PATCH 2/4] arm/dts: Add initial DT support for AM33XX SoC family AnilKumar Ch
2012-06-22  9:40   ` AnilKumar Ch
2012-07-05  8:16   ` AnilKumar, Chimata
2012-07-05  8:16     ` AnilKumar, Chimata
2012-07-06  7:24     ` Tony Lindgren
2012-07-06  7:24       ` Tony Lindgren
2012-06-22  9:40 ` [PATCH 3/4] arm/dts: Add support for AM335x EVM AnilKumar Ch
2012-06-22  9:40   ` AnilKumar Ch
2012-06-22  9:40 ` [PATCH 4/4] arm/dts: Add support for AM335x BeagleBone AnilKumar Ch
2012-06-22  9:40   ` AnilKumar Ch
2012-06-28 10:01 ` [PATCH 0/3] Add device tree support to AM33XX SoC AnilKumar, Chimata
2012-06-28 10:01   ` AnilKumar, Chimata

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.