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";
26 reg = <0x20000000 0x10000000>;
31 clock-frequency = <32768>;
35 clock-frequency = <12000000>;
40 gpios = <&pioE 23 GPIO_ACTIVE_LOW>;
41 pinctrl-names = "default";
42 pinctrl-0 = <&pinctrl_onewire_tm_default>;
45 w1_eeprom: w1_eeprom@0 {
46 compatible = "maxim,ds24b33";
55 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7 &pinctrl_mmc0_cd>;
56 vmmc-supply = <&vcc_mmc0_reg>;
57 vqmmc-supply = <&vcc_3v3_reg>;
62 cd-gpios = <&pioE 0 GPIO_ACTIVE_LOW>;
68 vmmc-supply = <&vcc_3v3_reg>;
69 vqmmc-supply = <&vcc_3v3_reg>;
74 cd-gpios = <&pioE 1 GPIO_ACTIVE_LOW>;
79 cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
88 pinctrl-0 = <&pinctrl_i2c0_pu>;
96 compatible = "active-semi,act8865";
101 vcc_1v8_reg: DCDC_REG1 {
102 regulator-name = "VCC_1V8";
103 regulator-min-microvolt = <1800000>;
104 regulator-max-microvolt = <1800000>;
108 vcc_1v2_reg: DCDC_REG2 {
109 regulator-name = "VCC_1V2";
110 regulator-min-microvolt = <1200000>;
111 regulator-max-microvolt = <1200000>;
115 vcc_3v3_reg: DCDC_REG3 {
116 regulator-name = "VCC_3V3";
117 regulator-min-microvolt = <3300000>;
118 regulator-max-microvolt = <3300000>;
122 vddfuse_reg: LDO_REG1 {
123 regulator-name = "FUSE_2V5";
124 regulator-min-microvolt = <2500000>;
125 regulator-max-microvolt = <2500000>;
128 vddana_reg: LDO_REG2 {
129 regulator-name = "VDDANA";
130 regulator-min-microvolt = <3300000>;
131 regulator-max-microvolt = <3300000>;
138 macb0: ethernet@f0028000 {
140 #address-cells = <1>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&pinctrl_pwm0_pwmh0_0 &pinctrl_pwm0_pwmh1_0>;
155 usart0: serial@f001c000 {
159 usart1: serial@f0020000 {
160 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
164 uart0: serial@f0024000 {
169 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
174 cd-gpios = <&pioE 1 GPIO_ACTIVE_HIGH>;
179 cs-gpios = <&pioC 25 0>;
201 dmas = <0>, <0>; /* Do not use DMA for i2c2 */
202 pinctrl-0 = <&pinctrl_i2c2_pu>;
206 macb1: ethernet@f802c000 {
208 #address-cells = <1>;
217 dbgu: serial@ffffee00 {
225 pinctrl_i2c0_pu: i2c0_pu {
227 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
228 <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
231 pinctrl_i2c2_pu: i2c2_pu {
233 <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
234 <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
237 pinctrl_key_gpio: key_gpio_0 {
239 <AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
242 pinctrl_mmc0_cd: mmc0_cd {
245 <AT91_PIOE 0 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
248 pinctrl_mmc1_cd: mmc1_cd {
251 <AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
254 pinctrl_usba_vbus: usba_vbus {
256 <AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */
259 pinctrl_onewire_tm_default: onewire_tm_default {
261 <AT91_PIOE 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
267 nand0: nand@60000000 {
268 nand-bus-width = <8>;
269 nand-ecc-mode = "hw";
271 atmel,pmecc-cap = <4>;
272 atmel,pmecc-sector-size = <512>;
277 label = "at91bootstrap";
282 label = "bootloader";
283 reg = <0x40000 0x80000>;
286 bootloaderenv@c0000 {
287 label = "bootloader env";
288 reg = <0xc0000 0xc0000>;
292 label = "device tree";
293 reg = <0x180000 0x80000>;
298 reg = <0x200000 0x600000>;
303 reg = <0x800000 0x0f800000>;
307 usb0: gadget@00500000 {
308 atmel,vbus-gpio = <&pioE 9 GPIO_ACTIVE_HIGH>; /* PE9, conflicts with A9 */
309 pinctrl-names = "default";
310 pinctrl-0 = <&pinctrl_usba_vbus>;
314 usb1: ohci@00600000 {
317 &pioE 3 GPIO_ACTIVE_LOW
318 &pioE 4 GPIO_ACTIVE_LOW
323 usb2: ehci@00700000 {
328 vcc_mmc0_reg: fixedregulator@0 {
329 compatible = "regulator-fixed";
330 gpio = <&pioE 2 GPIO_ACTIVE_LOW>;
331 regulator-name = "mmc0-card-supply";
332 regulator-min-microvolt = <3300000>;
333 regulator-max-microvolt = <3300000>;
338 compatible = "gpio-keys";
340 pinctrl-names = "default";
341 pinctrl-0 = <&pinctrl_key_gpio>;
345 gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
346 linux,code = <0x104>;
352 compatible = "gpio-leds";
356 gpios = <&pioE 23 GPIO_ACTIVE_LOW>; /* PE23, conflicts with A23, CTS2 */
357 linux,default-trigger = "heartbeat";
362 gpios = <&pioE 24 GPIO_ACTIVE_HIGH>;