@@ -40,14 +40,30 @@ of the following host1x client modules:
40
40
41
41
Required properties:
42
42
- compatible: "nvidia,tegra<chip>-vi"
43
- - reg: Physical base address and length of the controller's registers.
43
+ - reg: Physical base address and length of the controller registers.
44
44
- interrupts: The interrupt outputs from the controller.
45
- - clocks: Must contain one entry, for the module clock.
45
+ - clocks: clocks: Must contain one entry, for the module clock.
46
46
See ../clocks/clock-bindings.txt for details.
47
- - resets: Must contain an entry for each entry in reset-names.
48
- See ../reset/reset.txt for details.
49
- - reset-names: Must include the following entries:
50
- - vi
47
+ - Tegra20/Tegra30/Tegra114/Tegra124:
48
+ - resets: Must contain an entry for each entry in reset-names.
49
+ See ../reset/reset.txt for details.
50
+ - reset-names: Must include the following entries:
51
+ - vi
52
+ - Tegra210:
53
+ - power-domains: Must include venc powergate node as vi is in VE partition.
54
+ - Tegra210 has CSI part of VI sharing same host interface and register space.
55
+ So, VI device node should have CSI child node.
56
+
57
+ - csi: mipi csi interface to vi
58
+
59
+ Required properties:
60
+ - compatible: "nvidia,tegra210-csi"
61
+ - reg: Physical base address offset to parent and length of the controller
62
+ registers.
63
+ - clocks: Must contain entries csi, cilab, cilcd, cile, csi_tpg clocks.
64
+ See ../clocks/clock-bindings.txt for details.
65
+ - power-domains: Must include sor powergate node as csicil is in
66
+ SOR partition.
51
67
52
68
- epp: encoder pre-processor
53
69
@@ -309,13 +325,44 @@ Example:
309
325
reset-names = "mpe";
310
326
};
311
327
312
- vi {
313
- compatible = "nvidia,tegra20-vi";
314
- reg = <0x54080000 0x00040000>;
315
- interrupts = <0 69 0x04>;
316
- clocks = <&tegra_car TEGRA20_CLK_VI>;
317
- resets = <&tegra_car 100>;
318
- reset-names = "vi";
328
+ vi@54080000 {
329
+ compatible = "nvidia,tegra210-vi";
330
+ reg = <0x0 0x54080000 0x0 0x700>;
331
+ interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
332
+ assigned-clocks = <&tegra_car TEGRA210_CLK_VI>;
333
+ assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_C4_OUT0>;
334
+
335
+ clocks = <&tegra_car TEGRA210_CLK_VI>;
336
+ power-domains = <&pd_venc>;
337
+
338
+ #address-cells = <1>;
339
+ #size-cells = <1>;
340
+
341
+ ranges = <0x0 0x0 0x54080000 0x2000>;
342
+
343
+ csi@838 {
344
+ compatible = "nvidia,tegra210-csi";
345
+ reg = <0x838 0x1300>;
346
+ assigned-clocks = <&tegra_car TEGRA210_CLK_CILAB>,
347
+ <&tegra_car TEGRA210_CLK_CILCD>,
348
+ <&tegra_car TEGRA210_CLK_CILE>,
349
+ <&tegra_car TEGRA210_CLK_CSI_TPG>;
350
+ assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_P>,
351
+ <&tegra_car TEGRA210_CLK_PLL_P>,
352
+ <&tegra_car TEGRA210_CLK_PLL_P>;
353
+ assigned-clock-rates = <102000000>,
354
+ <102000000>,
355
+ <102000000>,
356
+ <972000000>;
357
+
358
+ clocks = <&tegra_car TEGRA210_CLK_CSI>,
359
+ <&tegra_car TEGRA210_CLK_CILAB>,
360
+ <&tegra_car TEGRA210_CLK_CILCD>,
361
+ <&tegra_car TEGRA210_CLK_CILE>,
362
+ <&tegra_car TEGRA210_CLK_CSI_TPG>;
363
+ clock-names = "csi", "cilab", "cilcd", "cile", "csi_tpg";
364
+ power-domains = <&pd_sor>;
365
+ };
319
366
};
320
367
321
368
epp {
0 commit comments