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 = "console=ttyS0,115200 rootfstype=ubifs root=ubi0:rootfs ubi.mtd=5 rw";
20 reg = <0x20000000 0x4000000>;
29 compatible = "atmel,osc", "fixed-clock";
30 clock-frequency = <12000000>;
34 clock-frequency = <32768>;
38 clock-frequency = <12000000>;
44 display = <&display0>;
48 bits-per-pixel = <16>;
49 atmel,lcdcon-backlight;
51 atmel,lcdcon2 = <0x80008002>;
52 atmel,guard-time = <1>;
53 atmel,lcd-wiring-mode = "RGB";
56 native-mode = <&timing0>;
58 clock-frequency = <4965000>;
74 nand0: nand@40000000 {
76 nand-ecc-mode = "soft";
77 nand-on-flash-bbt = <1>;
81 label = "at91bootstrap";
87 reg = <0x40000 0x80000>;
91 label = "bootloader env";
92 reg = <0xc0000 0xc0000>;
96 label = "device tree";
97 reg = <0x180000 0x80000>;
102 reg = <0x200000 0x600000>;
107 reg = <0x800000 0x0f800000>;
116 &pinctrl_mmc0_slot0_cmd_dat0
117 &pinctrl_mmc0_slot0_dat1_3>;
122 cd-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
126 usart0: serial@fffb0000 {
130 &pinctrl_usart0_cts>;
135 pinctrl-names = "default";
143 &pinctrl_adc0_adtrg>;
144 atmel,adc-ts-wires = <4>;
148 usb0: gadget@fffd4000 {
149 atmel,vbus-gpio = <&pioA 8 GPIO_ACTIVE_HIGH>;
155 cs-gpios = <&pioA 28 0>, <0>, <0>, <0>;
157 compatible = "atmel,at45", "atmel,dataflash";
158 spi-max-frequency = <15000000>;
166 pinctrl-names = "default";
167 pinctrl-0 = <&pinctrl_pwm0_pwm1_2>,
168 <&pinctrl_pwm0_pwm2_2>;
171 dbgu: serial@fffff200 {
177 pinctrl_board_mmc0: mmc0-board {
179 <AT91_PIOA 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
186 clock-frequency = <12000000>;
197 compatible = "pwm-leds";
201 pwms = <&pwm0 1 5000 PWM_POLARITY_INVERTED>;
202 max-brightness = <255>;
207 pwms = <&pwm0 2 5000 PWM_POLARITY_INVERTED>;
208 max-brightness = <255>;
213 compatible = "gpio-leds";
217 gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
218 linux,default-trigger = "heartbeat";
223 compatible = "gpio-keys";
226 label = "right_click";
227 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
233 label = "left_click";
234 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;