Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
72 lines (62 sloc) 1.41 KB
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* sama5d27_som1_ek_isc.dtso - Device Tree file for SAMA5D27 SOM1 EK board
* overlay blob for Image Sensor Controller Omnivision ov5640 sensor.
*
* Copyright (C) 2018 Microchip Technology, Inc.
* Author: Eugen Hristev <eugen.hristev@microchip.com>
*
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
#include "sama5d2-pinfunc.h"
&i2c1 {
#address-cells = <1>;
#size-cells = <0>;
ov5640: camera@3c {
compatible = "ovti,ov5640";
reg = <0x3c>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sensor_power &pinctrl_sensor_reset>;
reset-gpios = <&pioA PIN_PD6 GPIO_ACTIVE_LOW>;
powerdown-gpios = <&pioA PIN_PD7 GPIO_ACTIVE_HIGH>;
clocks = <&isc>;
clock-names = "xclk";
assigned-clocks = <&isc>;
assigned-clock-rates = <25000000>;
status = "okay";
port {
ov5640_0: endpoint {
remote-endpoint = <&isc_0>;
bus-width = <8>;
hsync-active = <1>;
vsync-active = <1>;
pclk-sample = <1>;
};
};
};
};
&isc {
pinctrl-0 = <&pinctrl_isc_base &pinctrl_isc_data_8bit>;
port {
isc_0: endpoint@0 {
remote-endpoint = <&ov5640_0>;
bus-width = <8>;
data-shift = <2>;
hsync-active = <0>;
vsync-active = <0>;
pclk-sample = <1>;
};
};
};
&pioA {
pinctrl_sensor_power: sensor_power {
pinmux = <PIN_PB12__GPIO>;
bias-disable;
};
pinctrl_sensor_reset: sensor_reset {
pinmux = <PIN_PB11__GPIO>;
bias-disable;
};
};
You can’t perform that action at this time.