xref: /linux/arch/arm64/boot/dts/renesas/r9a07g044c2-smarc-cru-csi-ov5645.dtso (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*0c63a519SLad Prabhakar// SPDX-License-Identifier: GPL-2.0
2*0c63a519SLad Prabhakar/*
3*0c63a519SLad Prabhakar * Device Tree overlay for the RZ/G2LC SMARC EVK with
4*0c63a519SLad Prabhakar * OV5645 camera connected to CSI and CRU enabled.
5*0c63a519SLad Prabhakar *
6*0c63a519SLad Prabhakar * Copyright (C) 2023 Renesas Electronics Corp.
7*0c63a519SLad Prabhakar */
8*0c63a519SLad Prabhakar
9*0c63a519SLad Prabhakar/dts-v1/;
10*0c63a519SLad Prabhakar/plugin/;
11*0c63a519SLad Prabhakar
12*0c63a519SLad Prabhakar#include <dt-bindings/gpio/gpio.h>
13*0c63a519SLad Prabhakar#include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
14*0c63a519SLad Prabhakar
15*0c63a519SLad Prabhakar#define OV5645_PARENT_I2C i2c0
16*0c63a519SLad Prabhakar#include "rz-smarc-cru-csi-ov5645.dtsi"
17*0c63a519SLad Prabhakar
18*0c63a519SLad Prabhakar&ov5645 {
19*0c63a519SLad Prabhakar	enable-gpios = <&pinctrl RZG2L_GPIO(0, 1) GPIO_ACTIVE_HIGH>;
20*0c63a519SLad Prabhakar	reset-gpios = <&pinctrl RZG2L_GPIO(5, 2) GPIO_ACTIVE_LOW>;
21*0c63a519SLad Prabhakar};
22