xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/at91sam9g25ek.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot *  Copyright (C) 2012 Atmel,
6*f126890aSEmmanuel Vadot *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
7*f126890aSEmmanuel Vadot */
8*f126890aSEmmanuel Vadot/dts-v1/;
9*f126890aSEmmanuel Vadot#include "at91sam9g25.dtsi"
10*f126890aSEmmanuel Vadot#include "at91sam9x5ek.dtsi"
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot/ {
13*f126890aSEmmanuel Vadot	model = "Atmel AT91SAM9G25-EK";
14*f126890aSEmmanuel Vadot	compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
15*f126890aSEmmanuel Vadot};
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot&i2c0 {
18*f126890aSEmmanuel Vadot	camera@30 {
19*f126890aSEmmanuel Vadot		compatible = "ovti,ov2640";
20*f126890aSEmmanuel Vadot		reg = <0x30>;
21*f126890aSEmmanuel Vadot		pinctrl-names = "default";
22*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
23*f126890aSEmmanuel Vadot		resetb-gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
24*f126890aSEmmanuel Vadot		pwdn-gpios = <&pioA 13 GPIO_ACTIVE_HIGH>;
25*f126890aSEmmanuel Vadot		clocks = <&pmc PMC_TYPE_SYSTEM 8>;
26*f126890aSEmmanuel Vadot		clock-names = "xvclk";
27*f126890aSEmmanuel Vadot		assigned-clocks = <&pmc PMC_TYPE_SYSTEM 8>;
28*f126890aSEmmanuel Vadot		assigned-clock-rates = <25000000>;
29*f126890aSEmmanuel Vadot		status = "okay";
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot		port {
32*f126890aSEmmanuel Vadot			ov2640_0: endpoint {
33*f126890aSEmmanuel Vadot				remote-endpoint = <&isi_0>;
34*f126890aSEmmanuel Vadot				bus-width = <8>;
35*f126890aSEmmanuel Vadot			};
36*f126890aSEmmanuel Vadot		};
37*f126890aSEmmanuel Vadot	};
38*f126890aSEmmanuel Vadot};
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot&isi {
41*f126890aSEmmanuel Vadot	status = "okay";
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot	port {
44*f126890aSEmmanuel Vadot		isi_0: endpoint@0 {
45*f126890aSEmmanuel Vadot			reg = <0>;
46*f126890aSEmmanuel Vadot			remote-endpoint = <&ov2640_0>;
47*f126890aSEmmanuel Vadot			bus-width = <8>;
48*f126890aSEmmanuel Vadot			vsync-active = <1>;
49*f126890aSEmmanuel Vadot			hsync-active = <1>;
50*f126890aSEmmanuel Vadot		};
51*f126890aSEmmanuel Vadot	};
52*f126890aSEmmanuel Vadot};
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadot&macb0 {
55*f126890aSEmmanuel Vadot	phy-mode = "rmii";
56*f126890aSEmmanuel Vadot	status = "okay";
57*f126890aSEmmanuel Vadot};
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot&mmc1 {
60*f126890aSEmmanuel Vadot	status = "disabled";
61*f126890aSEmmanuel Vadot};
62*f126890aSEmmanuel Vadot
63*f126890aSEmmanuel Vadot&spi0 {
64*f126890aSEmmanuel Vadot	status = "disabled";
65*f126890aSEmmanuel Vadot};
66