2019-05-19 20:51:34 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2012-01-26 17:59:20 +07:00
|
|
|
/*
|
|
|
|
* at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Atmel,
|
|
|
|
* 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
2013-05-15 00:21:50 +07:00
|
|
|
#include "at91sam9g25.dtsi"
|
|
|
|
#include "at91sam9x5ek.dtsi"
|
2012-01-26 17:59:20 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Atmel AT91SAM9G25-EK";
|
|
|
|
compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
|
2019-08-13 04:27:55 +07:00
|
|
|
};
|
2013-03-22 20:47:54 +07:00
|
|
|
|
2019-08-13 04:27:55 +07:00
|
|
|
&i2c0 {
|
|
|
|
camera@30 {
|
|
|
|
compatible = "ovti,ov2640";
|
|
|
|
reg = <0x30>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
|
|
|
|
resetb-gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
|
|
|
|
pwdn-gpios = <&pioA 13 GPIO_ACTIVE_HIGH>;
|
|
|
|
clocks = <&pmc PMC_TYPE_SYSTEM 8>;
|
|
|
|
clock-names = "xvclk";
|
|
|
|
assigned-clocks = <&pmc PMC_TYPE_SYSTEM 8>;
|
|
|
|
assigned-clock-rates = <25000000>;
|
|
|
|
status = "okay";
|
2016-07-14 21:50:17 +07:00
|
|
|
|
2019-08-13 04:27:55 +07:00
|
|
|
port {
|
|
|
|
ov2640_0: endpoint {
|
|
|
|
remote-endpoint = <&isi_0>;
|
|
|
|
bus-width = <8>;
|
2015-02-12 15:06:25 +07:00
|
|
|
};
|
2019-08-13 04:27:55 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-02-12 15:06:25 +07:00
|
|
|
|
2019-08-13 04:27:55 +07:00
|
|
|
&isi {
|
|
|
|
status = "okay";
|
2015-02-12 15:06:25 +07:00
|
|
|
|
2019-08-13 04:27:55 +07:00
|
|
|
port {
|
|
|
|
isi_0: endpoint@0 {
|
|
|
|
reg = <0>;
|
|
|
|
remote-endpoint = <&ov2640_0>;
|
|
|
|
bus-width = <8>;
|
|
|
|
vsync-active = <1>;
|
|
|
|
hsync-active = <1>;
|
2013-03-22 20:47:54 +07:00
|
|
|
};
|
|
|
|
};
|
2012-01-26 17:59:20 +07:00
|
|
|
};
|
2019-08-13 04:27:55 +07:00
|
|
|
|
|
|
|
&macb0 {
|
|
|
|
phy-mode = "rmii";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mmc1 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi0 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|