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";
23 reg = <0x70000000 0x4000000>;
28 clock-frequency = <32768>;
32 clock-frequency = <12000000>;
38 dbgu: serial@ffffee00 {
42 tcb0: timer@fff7c000 {
44 compatible = "atmel,tcb-timer";
49 compatible = "atmel,tcb-timer";
54 usart1: serial@fff90000 {
62 macb0: ethernet@fffbc000 {
70 compatible = "ovti,ov2640";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_pck1_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
74 resetb-gpios = <&pioD 12 GPIO_ACTIVE_LOW>;
75 pwdn-gpios = <&pioD 13 GPIO_ACTIVE_HIGH>;
77 clock-names = "xvclk";
78 assigned-clocks = <&pck1>;
79 assigned-clock-rates = <25000000>;
83 remote-endpoint = <&isi_0>;
101 &pinctrl_mmc0_slot0_clk_cmd_dat0
102 &pinctrl_mmc0_slot0_dat1_3>;
107 cd-gpios = <&pioD 10 GPIO_ACTIVE_HIGH>;
114 &pinctrl_mmc1_slot0_clk_cmd_dat0
115 &pinctrl_mmc1_slot0_dat1_3>;
120 cd-gpios = <&pioD 11 GPIO_ACTIVE_HIGH>;
121 wp-gpios = <&pioD 29 GPIO_ACTIVE_HIGH>;
127 pinctrl_pck1_as_isi_mck: pck1_as_isi_mck-0 {
129 <AT91_PIOB 31 AT91_PERIPH_B AT91_PINCTRL_NONE>;
132 pinctrl_sensor_reset: sensor_reset-0 {
134 <AT91_PIOD 12 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
137 pinctrl_sensor_power: sensor_power-0 {
139 <AT91_PIOD 13 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
143 pinctrl_board_mmc0: mmc0-board {
145 <AT91_PIOD 10 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD10 gpio CD pin pull up and deglitch */
150 pinctrl_board_mmc1: mmc1-board {
152 <AT91_PIOD 11 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* PD11 gpio CD pin pull up and deglitch */
153 AT91_PIOD 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PD29 gpio WP pin pull up */
158 pinctrl_pwm_leds: pwm-led {
160 <AT91_PIOD 0 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PD0 periph B */
161 AT91_PIOD 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PD31 periph B */
168 cs-gpios = <&pioB 3 0>, <0>, <0>, <0>;
170 compatible = "atmel,at45", "atmel,dataflash";
171 spi-max-frequency = <13000000>;
176 usb2: gadget@fff78000 {
177 atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>;
181 ac97: sound@fffac000 {
186 pinctrl-names = "default";
196 atmel,adc-ts-wires = <4>;
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_isi_data_0_7>;
206 remote-endpoint = <&ov2640_0>;
217 pinctrl-names = "default";
218 pinctrl-0 = <&pinctrl_pwm_leds>;
222 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
226 gpbr: syscon@fffffd60 {
236 display = <&display0>;
240 bits-per-pixel = <32>;
241 atmel,lcdcon-backlight;
242 atmel,dmacon = <0x1>;
243 atmel,lcdcon2 = <0x80008002>;
244 atmel,guard-time = <9>;
245 atmel,lcd-wiring-mode = "RGB";
248 native-mode = <&timing0>;
250 clock-frequency = <9000000>;
267 nand_controller: nand-controller {
269 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
270 pinctrl-names = "default";
273 reg = <0x3 0x0 0x800000>;
274 rb-gpios = <&pioC 8 GPIO_ACTIVE_HIGH>;
275 cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
276 nand-bus-width = <8>;
277 nand-ecc-mode = "soft";
279 label = "atmel_nand";
282 compatible = "fixed-partitions";
283 #address-cells = <1>;
287 label = "bootstrap/uboot/kernel";
288 reg = <0x0 0x400000>;
293 reg = <0x400000 0x3C00000>;
298 reg = <0x4000000 0xC000000>;
308 atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
309 &pioD 3 GPIO_ACTIVE_LOW>;
318 compatible = "gpio-leds";
322 gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
323 linux,default-trigger = "heartbeat";
328 compatible = "pwm-leds";
332 pwms = <&pwm0 3 5000 PWM_POLARITY_INVERTED>;
333 max-brightness = <255>;
334 linux,default-trigger = "nand-disk";
339 pwms = <&pwm0 1 5000 PWM_POLARITY_INVERTED>;
340 max-brightness = <255>;
341 linux,default-trigger = "mmc0";
346 compatible = "gpio-keys";
349 label = "left_click";
350 gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
356 label = "right_click";
357 gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
363 label = "Joystick Left";
364 gpios = <&pioB 14 GPIO_ACTIVE_LOW>;
369 label = "Joystick Right";
370 gpios = <&pioB 15 GPIO_ACTIVE_LOW>;
375 label = "Joystick Up";
376 gpios = <&pioB 16 GPIO_ACTIVE_LOW>;
381 label = "Joystick Down";
382 gpios = <&pioB 17 GPIO_ACTIVE_LOW>;
387 label = "Joystick Press";
388 gpios = <&pioB 18 GPIO_ACTIVE_LOW>;