Skip to contentSkip to conversation

ARM: dts: DRA7/AM4372: add l3_noc information

PATCH New Nishanth Menon 1 participant 3 messages Apr 14, 2014 Device tree bindings

lore
Share & tools
lore
#0 lore raw

cover ARM: dts: DRA7/AM4372: add l3_noc information

Patch series based on:
v3.15-rc1 tag.

Depends on series posted: http://marc.info/?l=linux-omap&m=139749383932575&w=2

DTS Patches is available here:
https://github.com/nmenon/linux-2.6-playground/commits/l3noc/dts-fixes

This just adds the dts information based on driver support provided.

Test log:
1: am43xx-epos: Boot PASS: http://slexy.org/raw/s2pjavFUYd
2: DRA7xx-EVM: Boot PASS: http://slexy.org/raw/s21pdAj0hU
3: pandaboard-es: Boot PASS: http://slexy.org/raw/s21Hsq97mt
4: sdp4430: Boot PASS: http://slexy.org/raw/s2ZQJUqjrP
5: OMAP5432uEVM: Boot PASS: http://slexy.org/raw/s2hNulLOuX

Afzal Mohammed (1):
ARM: dts: AM4372: add l3-noc information

Rajendra Nayak (1):
ARM: dts: DRA7: Use dra7-l3-noc instead of omap4-l3-noc

 arch/arm/boot/dts/am4372.dtsi |    6 +++++-
 arch/arm/boot/dts/dra7.dtsi   |    6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/2 ARM: dts: DRA7: Use dra7-l3-noc instead of omap4-l3-noc

From: Rajendra Nayak <[email protected]>

We have currently marked the DRA7 L3 as being compatible with omap4-l3-noc This is not true considering the differences in data involved.

Now that we have proper support for ti,dra7-l3-noc, add the clock modules clk1 and clk3 (clk2 submodule will be handled by the driver) and switch compatibility flag to use the proper data.

[nm at ti.com: map up full address range]
---
 arch/arm/boot/dts/dra7.dtsi |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/dra7.dtsi +3 -3
index 1c0f8e1..c7222ca 100644
@@ -99,13 +99,13 @@
 	 * hierarchy.
 	 */
 	ocp {
-		compatible = "ti,omap4-l3-noc", "simple-bus";
+		compatible = "ti,dra7-l3-noc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges;
 		ti,hwmods = "l3_main_1", "l3_main_2";
-		reg = <0x44000000 0x2000>,
-		      <0x44800000 0x3000>;
+		reg = <0x44000000 0x1000000>,
+		      <0x45000000 0x1000>;
 		interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
 
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/2 ARM: dts: AM4372: add l3-noc information

In reply to Nishanth Menon

From: Afzal Mohammed <[email protected]>

AM4372 has two clk domains 100f and 200s. Provide register mapping, interrupt information and compatibility flags associated with it.

---
 arch/arm/boot/dts/am4372.dtsi |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
arch/arm/boot/dts/am4372.dtsi +5 -1
index 36d523a..ef29037 100644
@@ -67,11 +67,15 @@
 	};
 
 	ocp {
-		compatible = "simple-bus";
+		compatible = "ti,am4372-l3-noc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges;
 		ti,hwmods = "l3_main";
+		reg = <0x44000000 0x400000
+		       0x44800000 0x400000>;
+		interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
 
 		prcm: prcm at 44df0000 {
 			compatible = "ti,am4-prcm";
Signature · 1 line
1.7.9.5