1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/media/ti,j7 4 $id: http://devicetree.org/schemas/media/ti,j721e-csi2rx-shim.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: TI J721E CSI2RX Shim 7 title: TI J721E CSI2RX Shim 8 8 9 description: | 9 description: | 10 The TI J721E CSI2RX Shim is a wrapper around 10 The TI J721E CSI2RX Shim is a wrapper around Cadence CSI2RX bridge that 11 enables sending captured frames to memory ov 11 enables sending captured frames to memory over PSI-L DMA. In the J721E 12 Technical Reference Manual (SPRUIL1B) it is 12 Technical Reference Manual (SPRUIL1B) it is referred to as "SHIM" under the 13 CSI_RX_IF section. 13 CSI_RX_IF section. 14 14 15 maintainers: 15 maintainers: 16 - Jai Luthra <j-luthra@ti.com> 16 - Jai Luthra <j-luthra@ti.com> 17 17 18 properties: 18 properties: 19 compatible: 19 compatible: 20 const: ti,j721e-csi2rx-shim 20 const: ti,j721e-csi2rx-shim 21 21 22 dmas: 22 dmas: 23 maxItems: 1 23 maxItems: 1 24 24 25 dma-names: 25 dma-names: 26 items: 26 items: 27 - const: rx0 27 - const: rx0 28 28 29 reg: 29 reg: 30 maxItems: 1 30 maxItems: 1 31 31 32 power-domains: 32 power-domains: 33 maxItems: 1 33 maxItems: 1 34 34 35 ranges: true 35 ranges: true 36 36 37 "#address-cells": true 37 "#address-cells": true 38 38 39 "#size-cells": true 39 "#size-cells": true 40 40 41 patternProperties: 41 patternProperties: 42 "^csi-bridge@": 42 "^csi-bridge@": 43 type: object 43 type: object 44 description: CSI2 bridge node. 44 description: CSI2 bridge node. 45 $ref: cdns,csi2rx.yaml# 45 $ref: cdns,csi2rx.yaml# 46 46 47 required: 47 required: 48 - compatible 48 - compatible 49 - reg 49 - reg 50 - dmas 50 - dmas 51 - dma-names 51 - dma-names 52 - power-domains 52 - power-domains 53 - ranges 53 - ranges 54 - "#address-cells" 54 - "#address-cells" 55 - "#size-cells" 55 - "#size-cells" 56 56 57 additionalProperties: false 57 additionalProperties: false 58 58 59 examples: 59 examples: 60 - | 60 - | 61 #include <dt-bindings/soc/ti,sci_pm_domain 61 #include <dt-bindings/soc/ti,sci_pm_domain.h> 62 62 63 ti_csi2rx0: ticsi2rx@4500000 { 63 ti_csi2rx0: ticsi2rx@4500000 { 64 compatible = "ti,j721e-csi2rx-shim"; 64 compatible = "ti,j721e-csi2rx-shim"; 65 dmas = <&main_udmap 0x4940>; 65 dmas = <&main_udmap 0x4940>; 66 dma-names = "rx0"; 66 dma-names = "rx0"; 67 reg = <0x4500000 0x1000>; 67 reg = <0x4500000 0x1000>; 68 power-domains = <&k3_pds 26 TI_SCI_PD_ 68 power-domains = <&k3_pds 26 TI_SCI_PD_EXCLUSIVE>; 69 #address-cells = <1>; 69 #address-cells = <1>; 70 #size-cells = <1>; 70 #size-cells = <1>; 71 ranges; 71 ranges; 72 72 73 cdns_csi2rx: csi-bridge@4504000 { 73 cdns_csi2rx: csi-bridge@4504000 { 74 compatible = "ti,j721e-csi2rx", "c 74 compatible = "ti,j721e-csi2rx", "cdns,csi2rx"; 75 reg = <0x4504000 0x1000>; 75 reg = <0x4504000 0x1000>; 76 clocks = <&k3_clks 26 2>, <&k3_clk 76 clocks = <&k3_clks 26 2>, <&k3_clks 26 0>, <&k3_clks 26 2>, 77 <&k3_clks 26 2>, <&k3_clks 26 3> 77 <&k3_clks 26 2>, <&k3_clks 26 3>, <&k3_clks 26 3>; 78 clock-names = "sys_clk", "p_clk", 78 clock-names = "sys_clk", "p_clk", "pixel_if0_clk", 79 "pixel_if1_clk", "pixel_if2_clk" 79 "pixel_if1_clk", "pixel_if2_clk", "pixel_if3_clk"; 80 phys = <&dphy0>; 80 phys = <&dphy0>; 81 phy-names = "dphy"; 81 phy-names = "dphy"; 82 82 83 ports { 83 ports { 84 #address-cells = <1>; 84 #address-cells = <1>; 85 #size-cells = <0>; 85 #size-cells = <0>; 86 86 87 csi2_0: port@0 { 87 csi2_0: port@0 { 88 88 89 reg = <0>; 89 reg = <0>; 90 90 91 csi2rx0_in_sensor: endpoin 91 csi2rx0_in_sensor: endpoint { 92 remote-endpoint = <&cs 92 remote-endpoint = <&csi2_cam0>; 93 bus-type = <4>; /* CSI 93 bus-type = <4>; /* CSI2 DPHY. */ 94 clock-lanes = <0>; 94 clock-lanes = <0>; 95 data-lanes = <1 2>; 95 data-lanes = <1 2>; 96 }; 96 }; 97 }; 97 }; 98 }; 98 }; 99 }; 99 }; 100 }; 100 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.