1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-sama5d3_xplained.dts - Device Tree file for the SAMA5D3 Xplained board
5 * Copyright (C) 2014 Atmel,
6 * 2014 Nicolas Ferre <nicolas.ferre@atmel.com>
9 #include "sama5d36.dtsi"
12 model = "SAMA5D3 Xplained";
13 compatible = "atmel,sama5d3-xplained", "atmel,sama5d3", "atmel,sama5";
16 stdout-path = "serial0:115200n8";
20 reg = <0x20000000 0x10000000>;
25 clock-frequency = <32768>;
29 clock-frequency = <12000000>;
36 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7 &pinctrl_mmc0_cd>;
37 vmmc-supply = <&vcc_mmc0_reg>;
38 vqmmc-supply = <&vcc_3v3_reg>;
43 cd-gpios = <&pioE 0 GPIO_ACTIVE_LOW>;
48 vmmc-supply = <&vcc_3v3_reg>;
49 vqmmc-supply = <&vcc_3v3_reg>;
54 cd-gpios = <&pioE 1 GPIO_ACTIVE_LOW>;
59 cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
67 tcb0: timer@f0010000 {
69 compatible = "atmel,tcb-timer";
74 compatible = "atmel,tcb-timer";
80 pinctrl-0 = <&pinctrl_i2c0_pu>;
88 compatible = "active-semi,act8865";
93 vcc_1v8_reg: DCDC_REG1 {
94 regulator-name = "VCC_1V8";
95 regulator-min-microvolt = <1800000>;
96 regulator-max-microvolt = <1800000>;
100 vcc_1v2_reg: DCDC_REG2 {
101 regulator-name = "VCC_1V2";
102 regulator-min-microvolt = <1200000>;
103 regulator-max-microvolt = <1200000>;
107 vcc_3v3_reg: DCDC_REG3 {
108 regulator-name = "VCC_3V3";
109 regulator-min-microvolt = <3300000>;
110 regulator-max-microvolt = <3300000>;
114 vddfuse_reg: LDO_REG1 {
115 regulator-name = "FUSE_2V5";
116 regulator-min-microvolt = <2500000>;
117 regulator-max-microvolt = <2500000>;
120 vddana_reg: LDO_REG2 {
121 regulator-name = "VDDANA";
122 regulator-min-microvolt = <3300000>;
123 regulator-max-microvolt = <3300000>;
130 macb0: ethernet@f0028000 {
132 #address-cells = <1>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&pinctrl_pwm0_pwmh0_0 &pinctrl_pwm0_pwmh1_0>;
147 usart0: serial@f001c000 {
151 usart1: serial@f0020000 {
152 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
156 uart0: serial@f0024000 {
161 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
166 cd-gpios = <&pioE 1 GPIO_ACTIVE_HIGH>;
171 cs-gpios = <&pioC 25 0>;
176 atmel,adc-vref = <3300>;
177 atmel,adc-channels-used = <0xfe>;
192 dmas = <0>, <0>; /* Do not use DMA for i2c2 */
193 pinctrl-0 = <&pinctrl_i2c2_pu>;
197 macb1: ethernet@f802c000 {
199 #address-cells = <1>;
208 dbgu: serial@ffffee00 {
214 pinctrl_i2c0_pu: i2c0_pu {
216 <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
217 <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
220 pinctrl_i2c2_pu: i2c2_pu {
222 <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
223 <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
226 pinctrl_key_gpio: key_gpio_0 {
228 <AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
231 pinctrl_mmc0_cd: mmc0_cd {
233 <AT91_PIOE 0 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
236 pinctrl_mmc1_cd: mmc1_cd {
238 <AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
241 pinctrl_usba_vbus: usba_vbus {
243 <AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */
249 usb0: gadget@500000 {
250 atmel,vbus-gpio = <&pioE 9 GPIO_ACTIVE_HIGH>; /* PE9, conflicts with A9 */
251 pinctrl-names = "default";
252 pinctrl-0 = <&pinctrl_usba_vbus>;
259 &pioE 3 GPIO_ACTIVE_LOW
260 &pioE 4 GPIO_ACTIVE_LOW
270 pinctrl-0 = <&pinctrl_ebi_nand_addr>;
271 pinctrl-names = "default";
274 nand_controller: nand-controller {
280 nand-bus-width = <8>;
281 nand-ecc-mode = "hw";
282 nand-ecc-strength = <4>;
283 nand-ecc-step-size = <512>;
285 label = "atmel_nand";
288 compatible = "fixed-partitions";
289 #address-cells = <1>;
293 label = "at91bootstrap";
298 label = "bootloader";
299 reg = <0x40000 0xc0000>;
302 bootloaderenvred@100000 {
303 label = "bootloader env redundant";
304 reg = <0x100000 0x40000>;
307 bootloaderenv@140000 {
308 label = "bootloader env";
309 reg = <0x140000 0x40000>;
313 label = "device tree";
314 reg = <0x180000 0x80000>;
319 reg = <0x200000 0x600000>;
324 reg = <0x800000 0x0f800000>;
332 vcc_mmc0_reg: fixedregulator_mmc0 {
333 compatible = "regulator-fixed";
334 gpio = <&pioE 2 GPIO_ACTIVE_LOW>;
335 regulator-name = "mmc0-card-supply";
336 regulator-min-microvolt = <3300000>;
337 regulator-max-microvolt = <3300000>;
342 compatible = "gpio-keys";
344 pinctrl-names = "default";
345 pinctrl-0 = <&pinctrl_key_gpio>;
349 gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
350 linux,code = <0x104>;
356 compatible = "gpio-leds";
360 gpios = <&pioE 23 GPIO_ACTIVE_LOW>; /* PE23, conflicts with A23, CTS2 */
361 linux,default-trigger = "heartbeat";
366 gpios = <&pioE 24 GPIO_ACTIVE_HIGH>;