2 * sama5d3xmb_cmp.dts - Device Tree file for SAMA5D3x CMP mother board
4 * Copyright (C) 2016 Atmel,
6 * Licensed under GPLv2 or later.
8 #include "sama5d3xcm_cmp.dtsi"
11 compatible = "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>;
27 cd-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>;
32 dmas = <0>, <0>; /* Do not use DMA for spi0 */
35 compatible = "spi-flash";
36 spi-max-frequency = <50000000>;
42 atmel,clk-from-rk-pin;
46 * i2c0 conflicts with ISI:
47 * disable it to allow the use of ISI
48 * can not enable audio when i2c0 disabled
52 compatible = "wlf,wm8904";
61 compatible = "ovti,ov2640";
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_pck1_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
65 resetb-gpios = <&pioE 24 GPIO_ACTIVE_LOW>;
66 pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>;
67 /* use pck1 for the master clock of ov2640 */
69 clock-names = "xvclk";
70 assigned-clocks = <&pck1>;
71 assigned-clock-rates = <25000000>;
75 remote-endpoint = <&isi_0>;
82 usart1: serial@f0020000 {
83 dmas = <0>, <0>; /* Do not use DMA for usart1 */
84 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
92 remote-endpoint = <&ov2640_0>;
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
107 cd-gpios = <&pioD 18 GPIO_ACTIVE_HIGH>;
112 pinctrl-names = "default";
124 macb1: ethernet@f802c000 {
127 #address-cells = <1>;
129 phy0: ethernet-phy@1 {
130 /*interrupt-parent = <&pioE>;*/
131 /*interrupts = <30 IRQ_TYPE_EDGE_FALLING>;*/
138 pinctrl_gpio_keys: gpio_keys {
140 <AT91_PIOE 27 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;
143 pinctrl_mmc0_cd: mmc0_cd {
145 <AT91_PIOD 17 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD17 GPIO with pullup deglitch */
148 pinctrl_mmc1_cd: mmc1_cd {
150 <AT91_PIOD 18 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD18 GPIO with pullup deglitch */
153 pinctrl_pck0_as_audio_mck: pck0_as_audio_mck {
155 <AT91_PIOD 30 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD30 periph B */
158 pinctrl_pck1_as_isi_mck: pck1_as_isi_mck-0 {
160 <AT91_PIOD 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PD31 periph B ISI_MCK */
163 pinctrl_sensor_reset: sensor_reset-0 {
165 <AT91_PIOE 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; /* PE24 gpio */
168 pinctrl_sensor_power: sensor_power-0 {
170 <AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; /* PE29 gpio */
173 pinctrl_usba_vbus: usba_vbus {
175 <AT91_PIOD 29 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PD29 GPIO with deglitch */
180 dbgu: serial@ffffee00 {
181 dmas = <0>, <0>; /* Do not use DMA for dbgu */
191 usb0: gadget@00500000 {
192 atmel,vbus-gpio = <&pioD 29 GPIO_ACTIVE_HIGH>;
193 pinctrl-names = "default";
194 pinctrl-0 = <&pinctrl_usba_vbus>;
200 compatible = "atmel,asoc-wm8904";
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_pck0_as_audio_mck>;
204 atmel,model = "wm8904 @ SAMA5D3EK";
205 atmel,audio-routing =
206 "Headphone Jack", "HPOUTL",
207 "Headphone Jack", "HPOUTR",
208 "IN2L", "Line In Jack",
209 "IN2R", "Line In Jack",
213 atmel,ssc-controller = <&ssc0>;
214 atmel,audio-codec = <&wm8904>;
219 /* Conflict with LCD pins */
221 compatible = "gpio-keys";
224 pinctrl-names = "default";
225 pinctrl-0 = <&pinctrl_gpio_keys>;
229 gpios = <&pioE 27 GPIO_ACTIVE_HIGH>;
230 linux,code = <0x100>;