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