Commit d37590f1 authored by Khanh Nguyen's avatar Khanh Nguyen Committed by Henrik Brix Andersen
Browse files

boards: shields: Support OV7670 DVP 20-pin shield on EK-RA8D1 board



Support OV7670 DVP 20-pin shield on the EK-RA8D1 board

Signed-off-by: default avatarKhanh Nguyen <khanh.nguyen.wz@bp.renesas.com>
parent 9d830894
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2025 Renesas Electronics Corporation
 *
 * SPDX-License-Identifier: Apache-2.0
 */

&pwm3 {
	status = "okay";
};

&cam_clock {
	status = "okay";
};

&dvp_20pin_i2c {
	clock-frequency = <DT_FREQ_K(400)>;
};

&dvp_20pin_interface {
	swap-8bits;
	swap-16bits;
	swap-32bits;

	port {
		dvp_20pin_ep_in: endpoint {
			hsync-sample = <1>;
			vsync-sample = <1>;
		};
	};
};
+7 −0
Original line number Diff line number Diff line
@@ -12,11 +12,14 @@
};

&dvp_20pin_i2c {
	status = "okay";

	ov7670: ov7670@21 {
		compatible = "ovti,ov7670";
		reg = <0x21>;
		reset-gpios = <&dvp_20pin_connector DVP_20PIN_PEN GPIO_ACTIVE_HIGH>;
		pwdn-gpios = <&dvp_20pin_connector DVP_20PIN_PDN GPIO_ACTIVE_HIGH>;
		status = "okay";

		port {
			ov7670_ep_out: endpoint {
@@ -32,6 +35,10 @@
	port {
		dvp_20pin_ep_in: endpoint {
			remote-endpoint-label = "ov7670_ep_out";
			bus-width = <8>;
			hsync-active = <1>;
			vsync-active = <1>;
			pclk-sample = <1>;
		};
	};
};