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 */
110 pinctrl_pwm_leds: pwm-led {
112 <AT91_PIOD 0 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PD0 periph B */
113 AT91_PIOD 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PD31 periph B */
120 cs-gpios = <&pioB 3 0>, <0>, <0>, <0>;
122 compatible = "atmel,at45", "atmel,dataflash";
123 spi-max-frequency = <13000000>;
128 usb2: gadget@fff78000 {
129 atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>;
136 pinctrl-names = "default";
137 pinctrl-0 = <&pinctrl_pwm_leds>;
142 display = <&display0>;
146 bits-per-pixel = <32>;
147 atmel,lcdcon-backlight;
148 atmel,dmacon = <0x1>;
149 atmel,lcdcon2 = <0x80008002>;
150 atmel,guard-time = <9>;
151 atmel,lcd-wiring-mode = "RGB";
154 native-mode = <&timing0>;
156 clock-frequency = <9000000>;
170 nand0: nand@40000000 {
171 nand-bus-width = <8>;
172 nand-ecc-mode = "soft";
177 label = "bootstrap/uboot/kernel";
178 reg = <0x0 0x400000>;
183 reg = <0x400000 0x3C00000>;
188 reg = <0x4000000 0xC000000>;
192 usb0: ohci@00700000 {
195 atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
196 &pioD 3 GPIO_ACTIVE_LOW>;
199 usb1: ehci@00800000 {
205 compatible = "gpio-leds";
209 gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
210 linux,default-trigger = "heartbeat";
215 compatible = "pwm-leds";
219 pwms = <&pwm0 3 5000 0>;
220 max-brightness = <255>;
221 linux,default-trigger = "nand-disk";
226 pwms = <&pwm0 1 5000 0>;
227 max-brightness = <255>;
228 linux,default-trigger = "mmc0";
233 compatible = "gpio-keys";
236 label = "left_click";
237 gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
243 label = "right_click";
244 gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
250 label = "Joystick Left";
251 gpios = <&pioB 14 GPIO_ACTIVE_LOW>;
256 label = "Joystick Right";
257 gpios = <&pioB 15 GPIO_ACTIVE_LOW>;
262 label = "Joystick Up";
263 gpios = <&pioB 16 GPIO_ACTIVE_LOW>;
268 label = "Joystick Down";
269 gpios = <&pioB 17 GPIO_ACTIVE_LOW>;
274 label = "Joystick Press";
275 gpios = <&pioB 18 GPIO_ACTIVE_LOW>;