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 console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2";
22 reg = <0x70000000 0x4000000>;
31 compatible = "atmel,osc", "fixed-clock";
32 clock-frequency = <12000000>;
38 dbgu: serial@ffffee00 {
42 usart1: serial@fff90000 {
50 macb0: ethernet@fffbc000 {
70 &pinctrl_mmc0_slot0_clk_cmd_dat0
71 &pinctrl_mmc0_slot0_dat1_3>;
76 cd-gpios = <&pioD 10 GPIO_ACTIVE_HIGH>;
83 &pinctrl_mmc1_slot0_clk_cmd_dat0
84 &pinctrl_mmc1_slot0_dat1_3>;
89 cd-gpios = <&pioD 11 GPIO_ACTIVE_HIGH>;
90 wp-gpios = <&pioD 29 GPIO_ACTIVE_HIGH>;
96 pinctrl_board_mmc0: mmc0-board {
98 <AT91_PIOD 10 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD10 gpio CD pin pull up and deglitch */
103 pinctrl_board_mmc1: mmc1-board {
105 <AT91_PIOD 11 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* PD11 gpio CD pin pull up and deglitch */
106 AT91_PIOD 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PD29 gpio WP pin pull up */
111 pinctrl_pwm_leds: pwm-led {
113 <AT91_PIOD 0 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PD0 periph B */
114 AT91_PIOD 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PD31 periph B */
121 cs-gpios = <&pioB 3 0>, <0>, <0>, <0>;
123 compatible = "atmel,at45", "atmel,dataflash";
124 spi-max-frequency = <13000000>;
129 usb2: gadget@fff78000 {
130 atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>;
135 pinctrl-names = "default";
145 atmel,adc-ts-wires = <4>;
152 pinctrl-names = "default";
153 pinctrl-0 = <&pinctrl_pwm_leds>;
158 display = <&display0>;
162 bits-per-pixel = <32>;
163 atmel,lcdcon-backlight;
164 atmel,dmacon = <0x1>;
165 atmel,lcdcon2 = <0x80008002>;
166 atmel,guard-time = <9>;
167 atmel,lcd-wiring-mode = "RGB";
170 native-mode = <&timing0>;
172 clock-frequency = <9000000>;
186 nand0: nand@40000000 {
187 nand-bus-width = <8>;
188 nand-ecc-mode = "soft";
193 label = "bootstrap/uboot/kernel";
194 reg = <0x0 0x400000>;
199 reg = <0x400000 0x3C00000>;
204 reg = <0x4000000 0xC000000>;
208 usb0: ohci@00700000 {
211 atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
212 &pioD 3 GPIO_ACTIVE_LOW>;
215 usb1: ehci@00800000 {
221 compatible = "gpio-leds";
225 gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
226 linux,default-trigger = "heartbeat";
231 compatible = "pwm-leds";
235 pwms = <&pwm0 3 5000 PWM_POLARITY_INVERTED>;
236 max-brightness = <255>;
237 linux,default-trigger = "nand-disk";
242 pwms = <&pwm0 1 5000 PWM_POLARITY_INVERTED>;
243 max-brightness = <255>;
244 linux,default-trigger = "mmc0";
249 compatible = "gpio-keys";
252 label = "left_click";
253 gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
259 label = "right_click";
260 gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
266 label = "Joystick Left";
267 gpios = <&pioB 14 GPIO_ACTIVE_LOW>;
272 label = "Joystick Right";
273 gpios = <&pioB 15 GPIO_ACTIVE_LOW>;
278 label = "Joystick Up";
279 gpios = <&pioB 16 GPIO_ACTIVE_LOW>;
284 label = "Joystick Down";
285 gpios = <&pioB 17 GPIO_ACTIVE_LOW>;
290 label = "Joystick Press";
291 gpios = <&pioB 18 GPIO_ACTIVE_LOW>;