Thomas Gleixner | a636cd6 | 2019-05-19 15:51:34 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 2 | /* |
| 3 | * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board |
| 4 | * |
| 5 | * Copyright (C) 2012 Atmel, |
| 6 | * 2012 Nicolas Ferre <nicolas.ferre@atmel.com> |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 7 | */ |
| 8 | /dts-v1/; |
Jean-Christophe PLAGNIOL-VILLARD | 6db64d2 | 2013-05-15 01:21:50 +0800 | [diff] [blame] | 9 | #include "at91sam9g25.dtsi" |
| 10 | #include "at91sam9x5ek.dtsi" |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 11 | |
| 12 | / { |
| 13 | model = "Atmel AT91SAM9G25-EK"; |
| 14 | compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; |
Uwe Kleine-König | b222de0 | 2019-08-12 23:27:55 +0200 | [diff] [blame] | 15 | }; |
Nicolas Ferre | 509ea1b | 2013-03-22 14:47:54 +0100 | [diff] [blame] | 16 | |
Uwe Kleine-König | b222de0 | 2019-08-12 23:27:55 +0200 | [diff] [blame] | 17 | &i2c0 { |
| 18 | camera@30 { |
| 19 | compatible = "ovti,ov2640"; |
| 20 | reg = <0x30>; |
| 21 | pinctrl-names = "default"; |
| 22 | pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>; |
| 23 | resetb-gpios = <&pioA 7 GPIO_ACTIVE_LOW>; |
| 24 | pwdn-gpios = <&pioA 13 GPIO_ACTIVE_HIGH>; |
| 25 | clocks = <&pmc PMC_TYPE_SYSTEM 8>; |
| 26 | clock-names = "xvclk"; |
| 27 | assigned-clocks = <&pmc PMC_TYPE_SYSTEM 8>; |
| 28 | assigned-clock-rates = <25000000>; |
| 29 | status = "okay"; |
Josh Wu | 3978d6b | 2015-02-12 16:06:25 +0800 | [diff] [blame] | 30 | |
Uwe Kleine-König | b222de0 | 2019-08-12 23:27:55 +0200 | [diff] [blame] | 31 | port { |
| 32 | ov2640_0: endpoint { |
| 33 | remote-endpoint = <&isi_0>; |
| 34 | bus-width = <8>; |
Josh Wu | 3978d6b | 2015-02-12 16:06:25 +0800 | [diff] [blame] | 35 | }; |
Nicolas Ferre | 509ea1b | 2013-03-22 14:47:54 +0100 | [diff] [blame] | 36 | }; |
| 37 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 38 | }; |
Uwe Kleine-König | b222de0 | 2019-08-12 23:27:55 +0200 | [diff] [blame] | 39 | |
| 40 | &isi { |
| 41 | status = "okay"; |
| 42 | |
| 43 | port { |
| 44 | isi_0: endpoint@0 { |
| 45 | reg = <0>; |
| 46 | remote-endpoint = <&ov2640_0>; |
| 47 | bus-width = <8>; |
| 48 | vsync-active = <1>; |
| 49 | hsync-active = <1>; |
| 50 | }; |
| 51 | }; |
| 52 | }; |
| 53 | |
| 54 | &macb0 { |
| 55 | phy-mode = "rmii"; |
| 56 | status = "okay"; |
| 57 | }; |
| 58 | |
| 59 | &mmc1 { |
| 60 | status = "disabled"; |
| 61 | }; |
| 62 | |
| 63 | &spi0 { |
| 64 | status = "disabled"; |
| 65 | }; |