Skip to contentSkip to conversation

ARM: i.MX53: add IPU CSI port nodes

PATCH New Steffen Trumtrar 2 participants 3 messages Oct 1, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: i.MX53: add IPU CSI port nodes

From: Lucas Stach <[email protected]>

Add the IPU CSI port nodes to the dtsi.

---
 arch/arm/boot/dts/imx53.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/imx53.dtsi +8 -0
index 5a6ee68e654b..76948d79f707 100644
@@ -134,6 +134,14 @@
 			         <&clks IMX5_CLK_IPU_DI1_GATE>;
 			clock-names = "bus", "di0", "di1";
 			resets = <&src 2>;
+			
+			ipu_csi0: port at 0 {
+				reg = <0>;
+			};
+
+			ipu_csi1: port at 1 {
+				reg = <1>;
+			};
 
 			ipu_di0: port at 2 {
 				#address-cells = <1>;
Signature · 1 line
2.1.0
#1 lore raw

PATCH 2/2 ARM: i.MX53: dts: add sahara module

The i.MX53 has a SAHARA v4 core. Add it to the dtsi.

---
 arch/arm/boot/dts/imx53.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/imx53.dtsi +10 -0
index 76948d79f707..a4890c10465a 100644
@@ -765,6 +765,16 @@
 				resets = <&src 1>;
 				iram = <&ocram>;
 			};
+
+			sahara: crypto at 63ff8000 {
+				compatible = "fsl,imx53-sahara";
+				reg = <0x63ff8000 0x4000>;
+				interrupts = <19 20>;
+				clocks = <&clks IMX5_CLK_SAHARA_IPG_GATE>,
+				         <&clks IMX5_CLK_SAHARA_IPG_GATE>;
+				clock-names = "ipg", "ahb";
+				status = "disabled";
+			};
 		};
 
 		ocram: sram at f8000000 {
Signature · 1 line
2.1.0
#2 lore raw

PATCH 2/2 ARM: i.MX53: dts: add sahara module

Quoted 14 lines · Steffen Trumtrar

The i.MX53 has a SAHARA v4 core. Add it to the dtsi.

---
 arch/arm/boot/dts/imx53.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/imx53.dtsi +0 -0
index 76948d79f707..a4890c10465a 100644
@@ -765,6 +765,16 @@
 				resets = <&src 1>;
 				iram = <&ocram>;

arch/arm/boot/dts/imx53.dtsi line 776

Quoted 10 lines
arch/arm/boot/dts/imx53.dtsi +9 -0
 			};
+
+			sahara: crypto at 63ff8000 {
+				compatible = "fsl,imx53-sahara";
+				reg = <0x63ff8000 0x4000>;
+				interrupts = <19 20>;
+				clocks = <&clks IMX5_CLK_SAHARA_IPG_GATE>,
+				         <&clks IMX5_CLK_SAHARA_IPG_GATE>;
+				clock-names = "ipg", "ahb";
+				status = "disabled";

Uhm why is this node disabled? I thought the sahara block is fully self-contained and has no external dependencies. In that case it should be always enabled, right?

Quoted 4 lines
arch/arm/boot/dts/imx53.dtsi +1 -0
+			};
 		};
 
 		ocram: sram at f8000000 {
Signature · 2 lines
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |