From: Hans Verkuil <hans.verkuil@xxxxxxxxx> This patch replaces the ov7670 with the ov2640. This patch is not meant to be merged but is for demonstration purposes only. Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx> --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts index b10f8b9e6375..65ccb35213a9 100644 --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts @@ -71,7 +71,7 @@ #address-cells = <1>; #size-cells = <0>; isi_0: endpoint { - remote-endpoint = <&ov7670_0>; + remote-endpoint = <&ov2640_0>; bus-width = <8>; vsync-active = <1>; hsync-active = <1>; @@ -87,20 +87,20 @@ i2c1: i2c@f0018000 { status = "okay"; - ov7670: camera@21 { - compatible = "ovti,ov7670"; - reg = <0x21>; + ov2640: camera@30 { + compatible = "ovti,ov2640"; + reg = <0x30>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>; - reset-gpios = <&pioE 11 GPIO_ACTIVE_LOW>; - powerdown-gpios = <&pioE 13 GPIO_ACTIVE_HIGH>; + resetb-gpios = <&pioE 11 GPIO_ACTIVE_LOW>; + pwdn-gpios = <&pioE 13 GPIO_ACTIVE_HIGH>; clocks = <&pck0>; - clock-names = "xclk"; + clock-names = "xvclk"; assigned-clocks = <&pck0>; assigned-clock-rates = <25000000>; port { - ov7670_0: endpoint { + ov2640_0: endpoint { remote-endpoint = <&isi_0>; bus-width = <8>; }; -- 2.11.0