2 * at91sam9rlek.dts - Device Tree file for Atmel at91sam9rl reference board
4 * Copyright (C) 2014 Microchip
5 * Alexandre Belloni <alexandre.belloni@free-electrons.com>
7 * Licensed under GPLv2 only
10 #include "at91sam9rl.dtsi"
13 model = "Atmel at91sam9rlek";
14 compatible = "atmel,at91sam9rlek", "atmel,at91sam9rl", "atmel,at91sam9";
17 bootargs = "rootfstype=ubifs root=ubi0:rootfs ubi.mtd=5 rw";
18 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>;
68 pinctrl-0 = <&pinctrl_ebi_addr_nand>;
69 pinctrl-names = "default";
72 nand_controller: nand-controller {
74 pinctrl-0 = <&pinctrl_nand_oe_we
77 pinctrl-names = "default";
80 reg = <0x3 0x0 0x800000>;
81 rb-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>;
82 cs-gpios = <&pioB 6 GPIO_ACTIVE_HIGH>;
84 nand-ecc-mode = "soft";
89 compatible = "fixed-partitions";
94 label = "at91bootstrap";
100 reg = <0x40000 0x80000>;
103 bootloaderenv@c0000 {
104 label = "bootloader env";
105 reg = <0xc0000 0xc0000>;
109 label = "device tree";
110 reg = <0x180000 0x80000>;
115 reg = <0x200000 0x600000>;
120 reg = <0x800000 0x0f800000>;
128 tcb0: timer@fffa0000 {
130 compatible = "atmel,tcb-timer";
135 compatible = "atmel,tcb-timer";
144 &pinctrl_mmc0_slot0_cmd_dat0
145 &pinctrl_mmc0_slot0_dat1_3>;
150 cd-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
154 usart0: serial@fffb0000 {
158 &pinctrl_usart0_cts>;
163 pinctrl-names = "default";
171 &pinctrl_adc0_adtrg>;
172 atmel,adc-ts-wires = <4>;
176 usb0: gadget@fffd4000 {
177 atmel,vbus-gpio = <&pioA 8 GPIO_ACTIVE_HIGH>;
183 cs-gpios = <&pioA 28 0>, <0>, <0>, <0>;
185 compatible = "atmel,at45", "atmel,dataflash";
186 spi-max-frequency = <15000000>;
194 pinctrl-names = "default";
195 pinctrl-0 = <&pinctrl_pwm0_pwm1_2>,
196 <&pinctrl_pwm0_pwm2_2>;
199 dbgu: serial@fffff200 {
205 pinctrl_board_mmc0: mmc0-board {
207 <AT91_PIOA 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
223 compatible = "pwm-leds";
227 pwms = <&pwm0 1 5000 PWM_POLARITY_INVERTED>;
228 max-brightness = <255>;
233 pwms = <&pwm0 2 5000 PWM_POLARITY_INVERTED>;
234 max-brightness = <255>;
239 compatible = "gpio-leds";
243 gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
244 linux,default-trigger = "heartbeat";
249 compatible = "gpio-keys";
252 label = "right_click";
253 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
259 label = "left_click";
260 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;