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>;
43 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7 &pinctrl_mmc0_cd>;
44 vmmc-supply = <&vcc_mmc0_reg>;
45 vqmmc-supply = <&vcc_3v3_reg>;
50 cd-gpios = <&pioE 0 GPIO_ACTIVE_LOW>;
56 vmmc-supply = <&vcc_3v3_reg>;
57 vqmmc-supply = <&vcc_3v3_reg>;
62 cd-gpios = <&pioE 1 GPIO_ACTIVE_LOW>;
67 cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
76 pinctrl-0 = <&pinctrl_i2c0_pu>;
84 compatible = "active-semi,act8865";
89 vcc_1v8_reg: DCDC_REG1 {
90 regulator-name = "VCC_1V8";
91 regulator-min-microvolt = <1800000>;
92 regulator-max-microvolt = <1800000>;
96 vcc_1v2_reg: DCDC_REG2 {
97 regulator-name = "VCC_1V2";
98 regulator-min-microvolt = <1200000>;
99 regulator-max-microvolt = <1200000>;
103 vcc_3v3_reg: DCDC_REG3 {
104 regulator-name = "VCC_3V3";
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
110 vddfuse_reg: LDO_REG1 {
111 regulator-name = "FUSE_2V5";
112 regulator-min-microvolt = <2500000>;
113 regulator-max-microvolt = <2500000>;
116 vddana_reg: LDO_REG2 {
117 regulator-name = "VDDANA";
118 regulator-min-microvolt = <3300000>;
119 regulator-max-microvolt = <3300000>;
126 macb0: ethernet@f0028000 {
128 #address-cells = <1>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pinctrl_pwm0_pwmh0_0 &pinctrl_pwm0_pwmh1_0>;
143 usart0: serial@f001c000 {
147 usart1: serial@f0020000 {
148 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
152 uart0: serial@f0024000 {
157 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
162 cd-gpios = <&pioE 1 GPIO_ACTIVE_HIGH>;
167 cs-gpios = <&pioC 25 0>;
189 dmas = <0>, <0>; /* Do not use DMA for i2c2 */
190 pinctrl-0 = <&pinctrl_i2c2_pu>;
194 macb1: ethernet@f802c000 {
196 #address-cells = <1>;
205 dbgu: serial@ffffee00 {
213 pinctrl_i2c0_pu: i2c0_pu {
215 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
216 <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
219 pinctrl_i2c2_pu: i2c2_pu {
221 <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
222 <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
225 pinctrl_key_gpio: key_gpio_0 {
227 <AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
230 pinctrl_mmc0_cd: mmc0_cd {
233 <AT91_PIOE 0 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
236 pinctrl_mmc1_cd: mmc1_cd {
239 <AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
242 pinctrl_usba_vbus: usba_vbus {
244 <AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */
250 nand0: nand@60000000 {
251 nand-bus-width = <8>;
252 nand-ecc-mode = "hw";
254 atmel,pmecc-cap = <4>;
255 atmel,pmecc-sector-size = <512>;
260 label = "at91bootstrap";
265 label = "bootloader";
266 reg = <0x40000 0x80000>;
269 bootloaderenv@c0000 {
270 label = "bootloader env";
271 reg = <0xc0000 0xc0000>;
275 label = "device tree";
276 reg = <0x180000 0x80000>;
281 reg = <0x200000 0x600000>;
286 reg = <0x800000 0x0f800000>;
290 usb0: gadget@00500000 {
291 atmel,vbus-gpio = <&pioE 9 GPIO_ACTIVE_HIGH>; /* PE9, conflicts with A9 */
292 pinctrl-names = "default";
293 pinctrl-0 = <&pinctrl_usba_vbus>;
297 usb1: ohci@00600000 {
300 &pioE 3 GPIO_ACTIVE_LOW
301 &pioE 4 GPIO_ACTIVE_LOW
306 usb2: ehci@00700000 {
311 vcc_mmc0_reg: fixedregulator@0 {
312 compatible = "regulator-fixed";
313 gpio = <&pioE 2 GPIO_ACTIVE_LOW>;
314 regulator-name = "mmc0-card-supply";
315 regulator-min-microvolt = <3300000>;
316 regulator-max-microvolt = <3300000>;
321 compatible = "gpio-keys";
323 pinctrl-names = "default";
324 pinctrl-0 = <&pinctrl_key_gpio>;
328 gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
329 linux,code = <0x104>;
335 compatible = "gpio-leds";
339 gpios = <&pioE 23 GPIO_ACTIVE_LOW>; /* PE23, conflicts with A23, CTS2 */
340 linux,default-trigger = "heartbeat";
345 gpios = <&pioE 24 GPIO_ACTIVE_HIGH>;