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";
22 reg = <0x20000000 0x4000000>;
27 clock-frequency = <32768>;
31 clock-frequency = <12000000>;
37 display = <&display0>;
41 bits-per-pixel = <16>;
42 atmel,lcdcon-backlight;
44 atmel,lcdcon2 = <0x80008002>;
45 atmel,guard-time = <1>;
46 atmel,lcd-wiring-mode = "RGB";
49 native-mode = <&timing0>;
51 clock-frequency = <4965000>;
67 nand0: nand@40000000 {
69 nand-ecc-mode = "soft";
70 nand-on-flash-bbt = <1>;
74 label = "at91bootstrap";
80 reg = <0x40000 0x80000>;
84 label = "bootloader env";
85 reg = <0xc0000 0xc0000>;
89 label = "device tree";
90 reg = <0x180000 0x80000>;
95 reg = <0x200000 0x600000>;
100 reg = <0x800000 0x0f800000>;
109 &pinctrl_mmc0_slot0_cmd_dat0
110 &pinctrl_mmc0_slot0_dat1_3>;
115 cd-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
119 usart0: serial@fffb0000 {
123 &pinctrl_usart0_cts>;
128 pinctrl-names = "default";
136 &pinctrl_adc0_adtrg>;
137 atmel,adc-ts-wires = <4>;
141 usb0: gadget@fffd4000 {
142 atmel,vbus-gpio = <&pioA 8 GPIO_ACTIVE_HIGH>;
148 cs-gpios = <&pioA 28 0>, <0>, <0>, <0>;
150 compatible = "atmel,at45", "atmel,dataflash";
151 spi-max-frequency = <15000000>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&pinctrl_pwm0_pwm1_2>,
161 <&pinctrl_pwm0_pwm2_2>;
164 dbgu: serial@fffff200 {
171 pinctrl_board_mmc0: mmc0-board {
173 <AT91_PIOA 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
189 compatible = "pwm-leds";
193 pwms = <&pwm0 1 5000 PWM_POLARITY_INVERTED>;
194 max-brightness = <255>;
199 pwms = <&pwm0 2 5000 PWM_POLARITY_INVERTED>;
200 max-brightness = <255>;
205 compatible = "gpio-leds";
209 gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
210 linux,default-trigger = "heartbeat";
215 compatible = "gpio-keys";
218 label = "right_click";
219 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
225 label = "left_click";
226 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;