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 0>;
29 compatible = "atmel,at25df321a";
30 spi-max-frequency = <50000000>;
36 * i2c0 conflicts with ISI:
37 * disable it to allow the use of ISI
38 * can not enable audio when i2c0 disabled
42 compatible = "wm8904";
47 usart1: serial@f0020000 {
48 pinctrl-names = "default";
49 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_isi &pinctrl_isi_pck_as_mck &pinctrl_isi_power &pinctrl_isi_reset>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
65 cd-gpios = <&pioD 18 0>;
70 pinctrl-names = "default";
82 macb1: ethernet@f802c000 {
88 pinctrl_mmc0_cd: mmc0_cd {
90 <3 17 0x0 0x5>; /* PD17 GPIO with pullup deglitch */
93 pinctrl_mmc1_cd: mmc1_cd {
95 <3 18 0x0 0x5>; /* PD18 GPIO with pullup deglitch */
98 pinctrl_pck0_as_audio_mck: pck0_as_audio_mck {
100 <3 30 0x2 0x0>; /* PD30 periph B */
103 pinctrl_isi_reset: isi_reset-0 {
105 <4 24 0x0 0x0>; /* PE24 gpio */
108 pinctrl_isi_power: isi_power-0 {
110 <4 29 0x0 0x0>; /* PE29 gpio */
113 pinctrl_usba_vbus: usba_vbus {
115 <3 29 0x0 0x4>; /* PD29 GPIO with deglitch */
120 dbgu: serial@ffffee00 {
129 usb0: gadget@00500000 {
130 atmel,vbus-gpio = <&pioD 29 0>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pinctrl_usba_vbus>;
136 usb1: ohci@00600000 {
138 atmel,vbus-gpio = <&pioD 25 0
145 usb2: ehci@00700000 {
151 compatible = "atmel,sama5d3ek-wm8904";
152 pinctrl-names = "default";
153 pinctrl-0 = <&pinctrl_pck0_as_audio_mck>;
155 atmel,model = "wm8904 @ SAMA5D3EK";
156 atmel,audio-routing =
157 "Headphone Jack", "HPOUTL",
158 "Headphone Jack", "HPOUTR",
159 "IN2L", "Line In Jack",
160 "IN2R", "Line In Jack",
163 atmel,ssc-controller = <&ssc0>;
164 atmel,audio-codec = <&wm8904>;