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"
13 model = "Atmel AT91SAM9M10G45-EK";
14 compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9";
17 bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2";
21 reg = <0x70000000 0x4000000>;
30 compatible = "atmel,osc", "fixed-clock";
31 clock-frequency = <12000000>;
37 dbgu: serial@ffffee00 {
41 usart1: serial@fff90000 {
49 macb0: ethernet@fffbc000 {
65 &pinctrl_mmc0_slot0_clk_cmd_dat0
66 &pinctrl_mmc0_slot0_dat1_3>;
71 cd-gpios = <&pioD 10 GPIO_ACTIVE_HIGH>;
78 &pinctrl_mmc1_slot0_clk_cmd_dat0
79 &pinctrl_mmc1_slot0_dat1_3>;
84 cd-gpios = <&pioD 11 GPIO_ACTIVE_HIGH>;
85 wp-gpios = <&pioD 29 GPIO_ACTIVE_HIGH>;
91 pinctrl_board_mmc0: mmc0-board {
93 <AT91_PIOD 10 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD10 gpio CD pin pull up and deglitch */
98 pinctrl_board_mmc1: mmc1-board {
100 <AT91_PIOD 11 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* PD11 gpio CD pin pull up and deglitch */
101 AT91_PIOD 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PD29 gpio WP pin pull up */
108 cs-gpios = <&pioB 3 0>, <0>, <0>, <0>;
110 compatible = "atmel,at45", "atmel,dataflash";
111 spi-max-frequency = <13000000>;
117 nand0: nand@40000000 {
118 nand-bus-width = <8>;
119 nand-ecc-mode = "soft";
124 label = "bootstrap/uboot/kernel";
125 reg = <0x0 0x400000>;
130 reg = <0x400000 0x3C00000>;
135 reg = <0x4000000 0xC000000>;
139 usb0: ohci@00700000 {
142 atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
143 &pioD 3 GPIO_ACTIVE_LOW>;
146 usb1: ehci@00800000 {
152 compatible = "gpio-leds";
156 gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
157 linux,default-trigger = "heartbeat";
162 gpios = <&pioD 0 GPIO_ACTIVE_LOW>;
163 linux,default-trigger = "nand-disk";
168 gpios = <&pioD 31 GPIO_ACTIVE_LOW>;
169 linux,default-trigger = "mmc0";
174 compatible = "gpio-keys";
177 label = "left_click";
178 gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
184 label = "right_click";
185 gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
191 label = "Joystick Left";
192 gpios = <&pioB 14 GPIO_ACTIVE_LOW>;
197 label = "Joystick Right";
198 gpios = <&pioB 15 GPIO_ACTIVE_LOW>;
203 label = "Joystick Up";
204 gpios = <&pioB 16 GPIO_ACTIVE_LOW>;
209 label = "Joystick Down";
210 gpios = <&pioB 17 GPIO_ACTIVE_LOW>;
215 label = "Joystick Press";
216 gpios = <&pioB 18 GPIO_ACTIVE_LOW>;