2 * sama5d3xmb.dts - Device Tree file for SAMA5D3x mother board
4 * Copyright (C) 2013 Atmel,
5 * 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
7 * Licensed under GPLv2 or later.
9 #include "sama5d3xcm.dtsi"
12 compatible = "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5";
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>;
23 cd-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>;
29 compatible = "atmel,at25df321a";
30 spi-max-frequency = <50000000>;
36 atmel,clk-from-rk-pin;
40 * i2c0 conflicts with ISI:
41 * disable it to allow the use of ISI
42 * can not enable audio when i2c0 disabled
46 compatible = "wm8904";
51 usart1: serial@f0020000 {
52 pinctrl-names = "default";
53 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
58 pinctrl-names = "default";
59 pinctrl-0 = <&pinctrl_isi &pinctrl_isi_pck_as_mck &pinctrl_isi_power &pinctrl_isi_reset>;
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
69 cd-gpios = <&pioD 18 GPIO_ACTIVE_HIGH>;
74 pinctrl-names = "default";
86 macb1: ethernet@f802c000 {
91 phy0: ethernet-phy@1 {
92 interrupt-parent = <&pioE>;
93 interrupts = <30 IRQ_TYPE_EDGE_FALLING>;
100 pinctrl_mmc0_cd: mmc0_cd {
102 <AT91_PIOD 17 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD17 GPIO with pullup deglitch */
105 pinctrl_mmc1_cd: mmc1_cd {
107 <AT91_PIOD 18 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD18 GPIO with pullup deglitch */
110 pinctrl_pck0_as_audio_mck: pck0_as_audio_mck {
112 <AT91_PIOD 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD30 periph B */
115 pinctrl_isi_reset: isi_reset-0 {
117 <AT91_PIOE 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; /* PE24 gpio */
120 pinctrl_isi_power: isi_power-0 {
122 <AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; /* PE29 gpio */
125 pinctrl_usba_vbus: usba_vbus {
127 <AT91_PIOD 29 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PD29 GPIO with deglitch */
132 dbgu: serial@ffffee00 {
141 usb0: gadget@00500000 {
142 atmel,vbus-gpio = <&pioD 29 GPIO_ACTIVE_HIGH>;
143 pinctrl-names = "default";
144 pinctrl-0 = <&pinctrl_usba_vbus>;
148 usb1: ohci@00600000 {
150 atmel,vbus-gpio = <&pioD 25 GPIO_ACTIVE_HIGH
151 &pioD 26 GPIO_ACTIVE_LOW
152 &pioD 27 GPIO_ACTIVE_LOW
157 usb2: ehci@00700000 {
163 compatible = "atmel,asoc-wm8904";
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_pck0_as_audio_mck>;
167 atmel,model = "wm8904 @ SAMA5D3EK";
168 atmel,audio-routing =
169 "Headphone Jack", "HPOUTL",
170 "Headphone Jack", "HPOUTR",
171 "IN2L", "Line In Jack",
172 "IN2R", "Line In Jack",
176 atmel,ssc-controller = <&ssc0>;
177 atmel,audio-codec = <&wm8904>;