1 // SPDX-License-Identifier: GPL-2.0-only
3 * at91sam9261ek.dts - Device Tree file for Atmel at91sam9261 reference board
5 * Copyright (C) 2013 Jean-Jacques Hiblot <jjhiblot@traphandler.com>
8 #include "at91sam9261.dtsi"
11 model = "Atmel at91sam9261ek";
12 compatible = "atmel,at91sam9261ek", "atmel,at91sam9261", "atmel,at91sam9";
15 bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs rw";
16 stdout-path = "serial0:115200n8";
28 reg = <0x20000000 0x4000000>;
33 clock-frequency = <32768>;
37 clock-frequency = <18432000>;
47 display = <&display0>;
48 atmel,power-control-gpio = <&pioA 12 GPIO_ACTIVE_LOW>;
52 bits-per-pixel = <16>;
53 atmel,lcdcon-backlight;
55 atmel,lcdcon2 = <0x80008002>;
56 atmel,guard-time = <1>;
57 atmel,lcd-wiring-mode = "BRG";
60 native-mode = <&timing0>;
62 clock-frequency = <4965000>;
81 nand_controller: nand-controller {
83 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
84 pinctrl-names = "default";
87 reg = <0x3 0x0 0x800000>;
88 rb-gpios = <&pioC 15 GPIO_ACTIVE_HIGH>;
89 cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
91 nand-ecc-mode = "soft";
96 compatible = "fixed-partitions";
101 label = "at91bootstrap";
106 label = "bootloader";
107 reg = <0x40000 0x80000>;
110 bootloaderenv@c0000 {
111 label = "bootloader env";
112 reg = <0xc0000 0xc0000>;
116 label = "device tree";
117 reg = <0x180000 0x80000>;
122 reg = <0x200000 0x600000>;
127 reg = <0x800000 0x0f800000>;
135 tcb0: timer@fffa0000 {
137 compatible = "atmel,tcb-timer";
142 compatible = "atmel,tcb-timer";
147 usb1: gadget@fffa4000 {
148 atmel,vbus-gpio = <&pioB 29 GPIO_ACTIVE_HIGH>;
153 cs-gpios = <&pioA 3 0>, <0>, <&pioA 28 0>, <0>;
157 compatible = "atmel,at45", "atmel,dataflash";
159 spi-max-frequency = <15000000>;
164 compatible = "ti,ads7843";
165 interrupts-extended = <&pioC 2 IRQ_TYPE_EDGE_BOTH>;
166 spi-max-frequency = <3000000>;
167 pendown-gpio = <&pioC 2 GPIO_ACTIVE_HIGH>;
169 ti,x-min = /bits/ 16 <150>;
170 ti,x-max = /bits/ 16 <3830>;
171 ti,y-min = /bits/ 16 <190>;
172 ti,y-max = /bits/ 16 <3830>;
173 ti,vref-delay-usecs = /bits/ 16 <450>;
174 ti,x-plate-ohms = /bits/ 16 <450>;
175 ti,y-plate-ohms = /bits/ 16 <250>;
176 ti,pressure-max = /bits/ 16 <15000>;
177 ti,debounce-rep = /bits/ 16 <0>;
178 ti,debounce-tol = /bits/ 16 <65535>;
179 ti,debounce-max = /bits/ 16 <1>;
185 dbgu: serial@fffff200 {
197 compatible = "gpio-leds";
201 gpios = <&pioA 13 GPIO_ACTIVE_LOW>;
202 linux,default-trigger = "none";
207 gpios = <&pioA 14 GPIO_ACTIVE_LOW>;
208 linux,default-trigger = "nand-disk";
213 gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
214 linux,default-trigger = "heartbeat";
219 compatible = "gpio-keys";
223 gpios = <&pioA 27 GPIO_ACTIVE_LOW>;
230 gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
237 gpios = <&pioA 25 GPIO_ACTIVE_LOW>;
244 gpios = <&pioA 24 GPIO_ACTIVE_LOW>;