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>;
30 compatible = "atmel,osc", "fixed-clock";
31 clock-frequency = <12000000>;
35 clock-frequency = <32768>;
39 clock-frequency = <12000000>;
45 display = <&display0>;
49 bits-per-pixel = <16>;
50 atmel,lcdcon-backlight;
52 atmel,lcdcon2 = <0x80008002>;
53 atmel,guard-time = <1>;
54 atmel,lcd-wiring-mode = "RGB";
57 native-mode = <&timing0>;
59 clock-frequency = <4965000>;
75 nand0: nand@40000000 {
77 nand-ecc-mode = "soft";
78 nand-on-flash-bbt = <1>;
82 label = "at91bootstrap";
88 reg = <0x40000 0x80000>;
92 label = "bootloader env";
93 reg = <0xc0000 0xc0000>;
97 label = "device tree";
98 reg = <0x180000 0x80000>;
103 reg = <0x200000 0x600000>;
108 reg = <0x800000 0x0f800000>;
117 &pinctrl_mmc0_slot0_cmd_dat0
118 &pinctrl_mmc0_slot0_dat1_3>;
123 cd-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
127 usart0: serial@fffb0000 {
131 &pinctrl_usart0_cts>;
136 pinctrl-names = "default";
144 &pinctrl_adc0_adtrg>;
145 atmel,adc-ts-wires = <4>;
149 usb0: gadget@fffd4000 {
150 atmel,vbus-gpio = <&pioA 8 GPIO_ACTIVE_HIGH>;
156 cs-gpios = <&pioA 28 0>, <0>, <0>, <0>;
158 compatible = "atmel,at45", "atmel,dataflash";
159 spi-max-frequency = <15000000>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&pinctrl_pwm0_pwm1_2>,
169 <&pinctrl_pwm0_pwm2_2>;
172 dbgu: serial@fffff200 {
178 pinctrl_board_mmc0: mmc0-board {
180 <AT91_PIOA 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
196 compatible = "pwm-leds";
200 pwms = <&pwm0 1 5000 PWM_POLARITY_INVERTED>;
201 max-brightness = <255>;
206 pwms = <&pwm0 2 5000 PWM_POLARITY_INVERTED>;
207 max-brightness = <255>;
212 compatible = "gpio-leds";
216 gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
217 linux,default-trigger = "heartbeat";
222 compatible = "gpio-keys";
225 label = "right_click";
226 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
232 label = "left_click";
233 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;