2 * at91sam9rlek.dts - Device Tree file for Atmel at91sam9rl reference board
4 * Copyright (C) 2014 Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 * Licensed under GPLv2 only
9 #include "at91sam9rl.dtsi"
12 model = "Atmel at91sam9rlek";
13 compatible = "atmel,at91sam9rlek", "atmel,at91sam9rl", "atmel,at91sam9";
16 bootargs = "rootfstype=ubifs root=ubi0:rootfs ubi.mtd=5 rw";
17 stdout-path = "serial0:115200n8";
21 reg = <0x20000000 0x4000000>;
26 clock-frequency = <32768>;
30 clock-frequency = <12000000>;
36 display = <&display0>;
40 bits-per-pixel = <16>;
41 atmel,lcdcon-backlight;
43 atmel,lcdcon2 = <0x80008002>;
44 atmel,guard-time = <1>;
45 atmel,lcd-wiring-mode = "RGB";
48 native-mode = <&timing0>;
50 clock-frequency = <4965000>;
66 nand0: nand@40000000 {
68 nand-ecc-mode = "soft";
69 nand-on-flash-bbt = <1>;
73 label = "at91bootstrap";
79 reg = <0x40000 0x80000>;
83 label = "bootloader env";
84 reg = <0xc0000 0xc0000>;
88 label = "device tree";
89 reg = <0x180000 0x80000>;
94 reg = <0x200000 0x600000>;
99 reg = <0x800000 0x0f800000>;
108 &pinctrl_mmc0_slot0_cmd_dat0
109 &pinctrl_mmc0_slot0_dat1_3>;
114 cd-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
118 usart0: serial@fffb0000 {
122 &pinctrl_usart0_cts>;
127 pinctrl-names = "default";
135 &pinctrl_adc0_adtrg>;
136 atmel,adc-ts-wires = <4>;
140 usb0: gadget@fffd4000 {
141 atmel,vbus-gpio = <&pioA 8 GPIO_ACTIVE_HIGH>;
147 cs-gpios = <&pioA 28 0>, <0>, <0>, <0>;
149 compatible = "atmel,at45", "atmel,dataflash";
150 spi-max-frequency = <15000000>;
158 pinctrl-names = "default";
159 pinctrl-0 = <&pinctrl_pwm0_pwm1_2>,
160 <&pinctrl_pwm0_pwm2_2>;
163 dbgu: serial@fffff200 {
169 pinctrl_board_mmc0: mmc0-board {
171 <AT91_PIOA 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
187 compatible = "pwm-leds";
191 pwms = <&pwm0 1 5000 PWM_POLARITY_INVERTED>;
192 max-brightness = <255>;
197 pwms = <&pwm0 2 5000 PWM_POLARITY_INVERTED>;
198 max-brightness = <255>;
203 compatible = "gpio-leds";
207 gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
208 linux,default-trigger = "heartbeat";
213 compatible = "gpio-keys";
216 label = "right_click";
217 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
223 label = "left_click";
224 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;