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 {
69 &pinctrl_mmc0_slot0_clk_cmd_dat0
70 &pinctrl_mmc0_slot0_dat1_3>;
75 cd-gpios = <&pioD 10 GPIO_ACTIVE_HIGH>;
82 &pinctrl_mmc1_slot0_clk_cmd_dat0
83 &pinctrl_mmc1_slot0_dat1_3>;
88 cd-gpios = <&pioD 11 GPIO_ACTIVE_HIGH>;
89 wp-gpios = <&pioD 29 GPIO_ACTIVE_HIGH>;
95 pinctrl_board_mmc0: mmc0-board {
97 <AT91_PIOD 10 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD10 gpio CD pin pull up and deglitch */
102 pinctrl_board_mmc1: mmc1-board {
104 <AT91_PIOD 11 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* PD11 gpio CD pin pull up and deglitch */
105 AT91_PIOD 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PD29 gpio WP pin pull up */
112 cs-gpios = <&pioB 3 0>, <0>, <0>, <0>;
114 compatible = "atmel,at45", "atmel,dataflash";
115 spi-max-frequency = <13000000>;
120 usb2: gadget@fff78000 {
121 atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>;
126 nand0: nand@40000000 {
127 nand-bus-width = <8>;
128 nand-ecc-mode = "soft";
133 label = "bootstrap/uboot/kernel";
134 reg = <0x0 0x400000>;
139 reg = <0x400000 0x3C00000>;
144 reg = <0x4000000 0xC000000>;
148 usb0: ohci@00700000 {
151 atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
152 &pioD 3 GPIO_ACTIVE_LOW>;
155 usb1: ehci@00800000 {
161 compatible = "gpio-leds";
165 gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
166 linux,default-trigger = "heartbeat";
171 gpios = <&pioD 0 GPIO_ACTIVE_LOW>;
172 linux,default-trigger = "nand-disk";
177 gpios = <&pioD 31 GPIO_ACTIVE_LOW>;
178 linux,default-trigger = "mmc0";
183 compatible = "gpio-keys";
186 label = "left_click";
187 gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
193 label = "right_click";
194 gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
200 label = "Joystick Left";
201 gpios = <&pioB 14 GPIO_ACTIVE_LOW>;
206 label = "Joystick Right";
207 gpios = <&pioB 15 GPIO_ACTIVE_LOW>;
212 label = "Joystick Up";
213 gpios = <&pioB 16 GPIO_ACTIVE_LOW>;
218 label = "Joystick Down";
219 gpios = <&pioB 17 GPIO_ACTIVE_LOW>;
224 label = "Joystick Press";
225 gpios = <&pioB 18 GPIO_ACTIVE_LOW>;