1Renesas Capture Engine Unit (CEU) 2---------------------------------------------- 3 4The Capture Engine Unit is the image capture interface found in the Renesas 5SH Mobile, R-Mobile and RZ SoCs. 6 7The interface supports a single parallel input with data bus width of 8 or 16 8bits. 9 10Required properties: 11- compatible: Shall be one of the following values: 12 "renesas,r7s72100-ceu" for CEU units found in RZ/A1H and RZ/A1M SoCs 13 "renesas,r8a7740-ceu" for CEU units found in R-Mobile A1 R8A7740 SoCs 14- reg: Registers address base and size. 15- interrupts: The interrupt specifier. 16 17The CEU supports a single parallel input and should contain a single 'port' 18subnode with a single 'endpoint'. Connection to input devices are modeled 19according to the video interfaces OF bindings specified in: 20Documentation/devicetree/bindings/media/video-interfaces.txt 21 22Optional endpoint properties applicable to parallel input bus described in 23the above mentioned "video-interfaces.txt" file are supported. 24 25- hsync-active: Active state of the HSYNC signal, 0/1 for LOW/HIGH respectively. 26 If property is not present, default is active high. 27- vsync-active: Active state of the VSYNC signal, 0/1 for LOW/HIGH respectively. 28 If property is not present, default is active high. 29 30Example: 31 32The example describes the connection between the Capture Engine Unit and an 33OV7670 image sensor connected to i2c1 interface. 34 35ceu: ceu@e8210000 { 36 reg = <0xe8210000 0x209c>; 37 compatible = "renesas,r7s72100-ceu"; 38 interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>; 39 40 pinctrl-names = "default"; 41 pinctrl-0 = <&vio_pins>; 42 43 status = "okay"; 44 45 port { 46 ceu_in: endpoint { 47 remote-endpoint = <&ov7670_out>; 48 49 hsync-active = <1>; 50 vsync-active = <0>; 51 }; 52 }; 53}; 54 55i2c1: i2c@fcfee400 { 56 pinctrl-names = "default"; 57 pinctrl-0 = <&i2c1_pins>; 58 59 status = "okay"; 60 61 clock-frequency = <100000>; 62 63 ov7670: camera@21 { 64 compatible = "ovti,ov7670"; 65 reg = <0x21>; 66 67 pinctrl-names = "default"; 68 pinctrl-0 = <&vio_pins>; 69 70 reset-gpios = <&port3 11 GPIO_ACTIVE_LOW>; 71 powerdown-gpios = <&port3 12 GPIO_ACTIVE_HIGH>; 72 73 port { 74 ov7670_out: endpoint { 75 remote-endpoint = <&ceu_in>; 76 77 hsync-active = <1>; 78 vsync-active = <0>; 79 }; 80 }; 81 }; 82}; 83