1 // SPDX-License-Identifier: GPL-2.0-only
3 * at91sam9rlek.dts - Device Tree file for Atmel at91sam9rl reference board
5 * Copyright (C) 2014 Microchip
6 * Alexandre Belloni <alexandre.belloni@free-electrons.com>
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>;
67 pinctrl-0 = <&pinctrl_ebi_addr_nand>;
68 pinctrl-names = "default";
71 nand_controller: nand-controller {
73 pinctrl-0 = <&pinctrl_nand_oe_we
76 pinctrl-names = "default";
79 reg = <0x3 0x0 0x800000>;
80 rb-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>;
81 cs-gpios = <&pioB 6 GPIO_ACTIVE_HIGH>;
83 nand-ecc-mode = "soft";
88 compatible = "fixed-partitions";
93 label = "at91bootstrap";
99 reg = <0x40000 0x80000>;
102 bootloaderenv@c0000 {
103 label = "bootloader env";
104 reg = <0xc0000 0xc0000>;
108 label = "device tree";
109 reg = <0x180000 0x80000>;
114 reg = <0x200000 0x600000>;
119 reg = <0x800000 0x0f800000>;
127 tcb0: timer@fffa0000 {
129 compatible = "atmel,tcb-timer";
134 compatible = "atmel,tcb-timer";
143 &pinctrl_mmc0_slot0_cmd_dat0
144 &pinctrl_mmc0_slot0_dat1_3>;
149 cd-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
153 usart0: serial@fffb0000 {
157 &pinctrl_usart0_cts>;
162 pinctrl-names = "default";
170 &pinctrl_adc0_adtrg>;
171 atmel,adc-ts-wires = <4>;
175 usb0: gadget@fffd4000 {
176 atmel,vbus-gpio = <&pioA 8 GPIO_ACTIVE_HIGH>;
182 cs-gpios = <&pioA 28 0>, <0>, <0>, <0>;
184 compatible = "atmel,at45", "atmel,dataflash";
185 spi-max-frequency = <15000000>;
193 pinctrl-names = "default";
194 pinctrl-0 = <&pinctrl_pwm0_pwm1_2>,
195 <&pinctrl_pwm0_pwm2_2>;
198 dbgu: serial@fffff200 {
204 pinctrl_board_mmc0: mmc0-board {
206 <AT91_PIOA 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
222 compatible = "pwm-leds";
226 pwms = <&pwm0 1 5000 PWM_POLARITY_INVERTED>;
227 max-brightness = <255>;
232 pwms = <&pwm0 2 5000 PWM_POLARITY_INVERTED>;
233 max-brightness = <255>;
238 compatible = "gpio-leds";
242 gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
243 linux,default-trigger = "heartbeat";
248 compatible = "gpio-keys";
251 label = "right_click";
252 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
258 label = "left_click";
259 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;