2 * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board
4 * Copyright (C) 2011 Atmel,
5 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
7 * Licensed under GPLv2 or later.
10 #include "at91sam9g45.dtsi"
11 #include <dt-bindings/pwm/pwm.h>
14 model = "Atmel AT91SAM9M10G45-EK";
15 compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9";
18 bootargs = "mem=64M root=/dev/mtdblock1 rw rootfstype=jffs2";
19 stdout-path = "serial0:115200n8";
24 reg = <0x70000000 0x4000000>;
29 clock-frequency = <32768>;
33 clock-frequency = <12000000>;
39 dbgu: serial@ffffee00 {
44 usart1: serial@fff90000 {
52 macb0: ethernet@fffbc000 {
60 compatible = "ovti,ov2640";
62 pinctrl-names = "default";
63 pinctrl-0 = <&pinctrl_pck1_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
64 resetb-gpios = <&pioD 12 GPIO_ACTIVE_LOW>;
65 pwdn-gpios = <&pioD 13 GPIO_ACTIVE_HIGH>;
67 clock-names = "xvclk";
68 assigned-clocks = <&pck1>;
69 assigned-clock-rates = <25000000>;
73 remote-endpoint = <&isi_0>;
91 &pinctrl_mmc0_slot0_clk_cmd_dat0
92 &pinctrl_mmc0_slot0_dat1_3>;
97 cd-gpios = <&pioD 10 GPIO_ACTIVE_HIGH>;
104 &pinctrl_mmc1_slot0_clk_cmd_dat0
105 &pinctrl_mmc1_slot0_dat1_3>;
110 cd-gpios = <&pioD 11 GPIO_ACTIVE_HIGH>;
111 wp-gpios = <&pioD 29 GPIO_ACTIVE_HIGH>;
117 pinctrl_pck1_as_isi_mck: pck1_as_isi_mck-0 {
119 <AT91_PIOB 31 AT91_PERIPH_B AT91_PINCTRL_NONE>;
122 pinctrl_sensor_reset: sensor_reset-0 {
124 <AT91_PIOD 12 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
127 pinctrl_sensor_power: sensor_power-0 {
129 <AT91_PIOD 13 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
133 pinctrl_board_mmc0: mmc0-board {
135 <AT91_PIOD 10 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD10 gpio CD pin pull up and deglitch */
140 pinctrl_board_mmc1: mmc1-board {
142 <AT91_PIOD 11 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* PD11 gpio CD pin pull up and deglitch */
143 AT91_PIOD 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PD29 gpio WP pin pull up */
148 pinctrl_pwm_leds: pwm-led {
150 <AT91_PIOD 0 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PD0 periph B */
151 AT91_PIOD 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PD31 periph B */
158 cs-gpios = <&pioB 3 0>, <0>, <0>, <0>;
160 compatible = "atmel,at45", "atmel,dataflash";
161 spi-max-frequency = <13000000>;
166 usb2: gadget@fff78000 {
167 atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>;
172 pinctrl-names = "default";
182 atmel,adc-ts-wires = <4>;
187 pinctrl-names = "default";
188 pinctrl-0 = <&pinctrl_isi_data_0_7>;
192 remote-endpoint = <&ov2640_0>;
203 pinctrl-names = "default";
204 pinctrl-0 = <&pinctrl_pwm_leds>;
208 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
212 gpbr: syscon@fffffd60 {
222 display = <&display0>;
226 bits-per-pixel = <32>;
227 atmel,lcdcon-backlight;
228 atmel,dmacon = <0x1>;
229 atmel,lcdcon2 = <0x80008002>;
230 atmel,guard-time = <9>;
231 atmel,lcd-wiring-mode = "RGB";
234 native-mode = <&timing0>;
236 clock-frequency = <9000000>;
250 nand0: nand@40000000 {
251 nand-bus-width = <8>;
252 nand-ecc-mode = "soft";
257 label = "bootstrap/uboot/kernel";
258 reg = <0x0 0x400000>;
263 reg = <0x400000 0x3C00000>;
268 reg = <0x4000000 0xC000000>;
272 usb0: ohci@00700000 {
275 atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
276 &pioD 3 GPIO_ACTIVE_LOW>;
279 usb1: ehci@00800000 {
285 compatible = "gpio-leds";
289 gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
290 linux,default-trigger = "heartbeat";
295 compatible = "pwm-leds";
299 pwms = <&pwm0 3 5000 PWM_POLARITY_INVERTED>;
300 max-brightness = <255>;
301 linux,default-trigger = "nand-disk";
306 pwms = <&pwm0 1 5000 PWM_POLARITY_INVERTED>;
307 max-brightness = <255>;
308 linux,default-trigger = "mmc0";
313 compatible = "gpio-keys";
316 label = "left_click";
317 gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
323 label = "right_click";
324 gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
330 label = "Joystick Left";
331 gpios = <&pioB 14 GPIO_ACTIVE_LOW>;
336 label = "Joystick Right";
337 gpios = <&pioB 15 GPIO_ACTIVE_LOW>;
342 label = "Joystick Up";
343 gpios = <&pioB 16 GPIO_ACTIVE_LOW>;
348 label = "Joystick Down";
349 gpios = <&pioB 17 GPIO_ACTIVE_LOW>;
354 label = "Joystick Press";
355 gpios = <&pioB 18 GPIO_ACTIVE_LOW>;