Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Device Tree overlay for the RZ/G2LC SMARC EVK with |
| 4 | * OV5645 camera connected to CSI and CRU enabled. |
| 5 | * |
| 6 | * Copyright (C) 2023 Renesas Electronics Corp. |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | /plugin/; |
| 11 | |
| 12 | #include <dt-bindings/gpio/gpio.h> |
| 13 | #include <dt-bindings/pinctrl/rzg2l-pinctrl.h> |
| 14 | |
| 15 | #define OV5645_PARENT_I2C i2c0 |
| 16 | #include "rz-smarc-cru-csi-ov5645.dtsi" |
| 17 | |
| 18 | &ov5645 { |
| 19 | enable-gpios = <&pinctrl RZG2L_GPIO(0, 1) GPIO_ACTIVE_HIGH>; |
| 20 | reset-gpios = <&pinctrl RZG2L_GPIO(5, 2) GPIO_ACTIVE_LOW>; |
| 21 | }; |