Browse Source

arm: dtsi: dra76x: Add CAL dtsi node

Add the required dtsi node to support the Camera
Adaptation Layer (CAL) for the DRA76 family of devices.

    - Added CAL entry in dra76x.dtsi.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Benoit Parrot 8 years ago
parent
commit
31d7d09282
1 changed files with 28 additions and 0 deletions
  1. 28 0
      arch/arm/boot/dts/dra76x.dtsi

+ 28 - 0
arch/arm/boot/dts/dra76x.dtsi

@@ -47,6 +47,34 @@
 				bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>;
 			};
 		};
+
+		cal: cal@489b0000 {
+			compatible = "ti,dra76-cal";
+			ti,hwmods = "cal";
+			reg = <0x489B0000 0x400>,
+			      <0x489B0800 0x40>,
+			      <0x489B0900 0x40>;
+				reg-names = "cal_top",
+					    "cal_rx_core0",
+					    "cal_rx_core1";
+			interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
+			syscon-camerrx = <&scm_conf 0x6DC>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+
+			ports {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				csi2_0: port@0 {
+					reg = <0>;
+				};
+				csi2_1: port@1 {
+					reg = <1>;
+				};
+			};
+		};
 	};
 
 };