Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board
0004  *
0005  *  Copyright (C) 2012 Atmel,
0006  *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
0007  */
0008 /dts-v1/;
0009 #include "at91sam9g25.dtsi"
0010 #include "at91sam9x5ek.dtsi"
0011 
0012 / {
0013         model = "Atmel AT91SAM9G25-EK";
0014         compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
0015 };
0016 
0017 &i2c0 {
0018         camera@30 {
0019                 compatible = "ovti,ov2640";
0020                 reg = <0x30>;
0021                 pinctrl-names = "default";
0022                 pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
0023                 resetb-gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
0024                 pwdn-gpios = <&pioA 13 GPIO_ACTIVE_HIGH>;
0025                 clocks = <&pmc PMC_TYPE_SYSTEM 8>;
0026                 clock-names = "xvclk";
0027                 assigned-clocks = <&pmc PMC_TYPE_SYSTEM 8>;
0028                 assigned-clock-rates = <25000000>;
0029                 status = "okay";
0030 
0031                 port {
0032                         ov2640_0: endpoint {
0033                                 remote-endpoint = <&isi_0>;
0034                                 bus-width = <8>;
0035                         };
0036                 };
0037         };
0038 };
0039 
0040 &isi {
0041         status = "okay";
0042 
0043         port {
0044                 isi_0: endpoint@0 {
0045                         reg = <0>;
0046                         remote-endpoint = <&ov2640_0>;
0047                         bus-width = <8>;
0048                         vsync-active = <1>;
0049                         hsync-active = <1>;
0050                 };
0051         };
0052 };
0053 
0054 &macb0 {
0055         phy-mode = "rmii";
0056         status = "okay";
0057 };
0058 
0059 &mmc1 {
0060         status = "disabled";
0061 };
0062 
0063 &spi0 {
0064         status = "disabled";
0065 };