2 * at91-sama5d3_xplained.dts - Device Tree file for the SAMA5D3 Xplained board
4 * Copyright (C) 2014 Atmel,
5 * 2014 Nicolas Ferre <nicolas.ferre@atmel.com>
7 * Licensed under GPLv2 or later.
10 #include "sama5d36.dtsi"
13 model = "SAMA5D3 Xplained";
14 compatible = "atmel,sama5d3-xplained", "atmel,sama5d3", "atmel,sama5";
17 stdout-path = "serial0:115200n8";
21 reg = <0x20000000 0x10000000>;
26 clock-frequency = <32768>;
30 clock-frequency = <12000000>;
37 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7 &pinctrl_mmc0_cd>;
38 vmmc-supply = <&vcc_mmc0_reg>;
39 vqmmc-supply = <&vcc_3v3_reg>;
44 cd-gpios = <&pioE 0 GPIO_ACTIVE_LOW>;
49 vmmc-supply = <&vcc_3v3_reg>;
50 vqmmc-supply = <&vcc_3v3_reg>;
55 cd-gpios = <&pioE 1 GPIO_ACTIVE_LOW>;
60 cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
69 pinctrl-0 = <&pinctrl_i2c0_pu>;
77 compatible = "active-semi,act8865";
82 vcc_1v8_reg: DCDC_REG1 {
83 regulator-name = "VCC_1V8";
84 regulator-min-microvolt = <1800000>;
85 regulator-max-microvolt = <1800000>;
89 vcc_1v2_reg: DCDC_REG2 {
90 regulator-name = "VCC_1V2";
91 regulator-min-microvolt = <1200000>;
92 regulator-max-microvolt = <1200000>;
96 vcc_3v3_reg: DCDC_REG3 {
97 regulator-name = "VCC_3V3";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
103 vddfuse_reg: LDO_REG1 {
104 regulator-name = "FUSE_2V5";
105 regulator-min-microvolt = <2500000>;
106 regulator-max-microvolt = <2500000>;
109 vddana_reg: LDO_REG2 {
110 regulator-name = "VDDANA";
111 regulator-min-microvolt = <3300000>;
112 regulator-max-microvolt = <3300000>;
119 macb0: ethernet@f0028000 {
121 #address-cells = <1>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pinctrl_pwm0_pwmh0_0 &pinctrl_pwm0_pwmh1_0>;
136 usart0: serial@f001c000 {
140 usart1: serial@f0020000 {
141 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
145 uart0: serial@f0024000 {
150 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
155 cd-gpios = <&pioE 1 GPIO_ACTIVE_HIGH>;
160 cs-gpios = <&pioC 25 0>;
165 atmel,adc-vref = <3300>;
166 atmel,adc-channels-used = <0xfe>;
181 dmas = <0>, <0>; /* Do not use DMA for i2c2 */
182 pinctrl-0 = <&pinctrl_i2c2_pu>;
186 macb1: ethernet@f802c000 {
188 #address-cells = <1>;
197 dbgu: serial@ffffee00 {
203 pinctrl_i2c0_pu: i2c0_pu {
205 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
206 <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
209 pinctrl_i2c2_pu: i2c2_pu {
211 <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
212 <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
215 pinctrl_key_gpio: key_gpio_0 {
217 <AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
220 pinctrl_mmc0_cd: mmc0_cd {
222 <AT91_PIOE 0 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
225 pinctrl_mmc1_cd: mmc1_cd {
227 <AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
230 pinctrl_usba_vbus: usba_vbus {
232 <AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */
238 usb0: gadget@00500000 {
239 atmel,vbus-gpio = <&pioE 9 GPIO_ACTIVE_HIGH>; /* PE9, conflicts with A9 */
240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_usba_vbus>;
245 usb1: ohci@00600000 {
248 &pioE 3 GPIO_ACTIVE_LOW
249 &pioE 4 GPIO_ACTIVE_LOW
254 usb2: ehci@00700000 {
259 pinctrl-0 = <&pinctrl_ebi_nand_addr>;
260 pinctrl-names = "default";
263 nand_controller: nand-controller {
269 nand-bus-width = <8>;
270 nand-ecc-mode = "hw";
271 nand-ecc-strength = <4>;
272 nand-ecc-step-size = <512>;
274 label = "atmel_nand";
277 compatible = "fixed-partitions";
278 #address-cells = <1>;
282 label = "at91bootstrap";
287 label = "bootloader";
288 reg = <0x40000 0x80000>;
291 bootloaderenv@c0000 {
292 label = "bootloader env";
293 reg = <0xc0000 0xc0000>;
297 label = "device tree";
298 reg = <0x180000 0x80000>;
303 reg = <0x200000 0x600000>;
308 reg = <0x800000 0x0f800000>;
316 vcc_mmc0_reg: fixedregulator_mmc0 {
317 compatible = "regulator-fixed";
318 gpio = <&pioE 2 GPIO_ACTIVE_LOW>;
319 regulator-name = "mmc0-card-supply";
320 regulator-min-microvolt = <3300000>;
321 regulator-max-microvolt = <3300000>;
326 compatible = "gpio-keys";
328 pinctrl-names = "default";
329 pinctrl-0 = <&pinctrl_key_gpio>;
333 gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
334 linux,code = <0x104>;
340 compatible = "gpio-leds";
344 gpios = <&pioE 23 GPIO_ACTIVE_LOW>; /* PE23, conflicts with A23, CTS2 */
345 linux,default-trigger = "heartbeat";
350 gpios = <&pioE 24 GPIO_ACTIVE_HIGH>;