1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91sam9x5ek.dtsi - Device Tree file for AT91SAM9x5CM Base board
5 * Copyright (C) 2012 Atmel,
6 * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
8 #include "at91sam9x5cm.dtsi"
11 model = "Atmel AT91SAM9X5-EK";
12 compatible = "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
15 bootargs = "root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
16 stdout-path = "serial0:115200n8";
20 compatible = "atmel,sam9x5-wm8731-audio";
22 atmel,model = "wm8731 @ AT91SAM9X5EK";
25 "Headphone Jack", "RHPOUT",
26 "Headphone Jack", "LHPOUT",
27 "LLINEIN", "Line In Jack",
28 "RLINEIN", "Line In Jack";
30 atmel,ssc-controller = <&ssc0>;
31 atmel,audio-codec = <&wm8731>;
36 atmel,adc-ts-wires = <4>;
37 atmel,adc-ts-pressure-threshold = <10000>;
51 compatible = "wm8731";
59 &pinctrl_mmc0_slot0_clk_cmd_dat0
60 &pinctrl_mmc0_slot0_dat1_3>;
61 pinctrl-names = "default";
67 cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>;
74 &pinctrl_mmc1_slot0_clk_cmd_dat0
75 &pinctrl_mmc1_slot0_dat1_3>;
76 pinctrl-names = "default";
82 cd-gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
88 pinctrl_pck0_as_isi_mck: pck0_as_isi_mck-0 {
90 <AT91_PIOC 15 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* ISI_MCK */
93 pinctrl_sensor_power: sensor_power-0 {
95 <AT91_PIOA 13 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
98 pinctrl_sensor_reset: sensor_reset-0 {
100 <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
105 pinctrl_board_mmc0: mmc0-board {
107 <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD15 gpio CD pin pull up and deglitch */
112 pinctrl_board_mmc1: mmc1-board {
114 <AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD14 gpio CD pin pull up and deglitch */
119 pinctrl_board_usb2: usb2-board {
121 <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB16 gpio vbus sense, deglitch */
127 cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
128 status = "disabled"; /* conflicts with mmc1 */
131 compatible = "atmel,at25df321a";
132 spi-max-frequency = <50000000>;
149 atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW *//* Activate to have access to port A */
150 &pioD 19 GPIO_ACTIVE_LOW
151 &pioD 20 GPIO_ACTIVE_LOW
161 pinctrl-names = "default";
162 pinctrl-0 = <&pinctrl_board_usb2>;
163 atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;