Merge remote-tracking branches 'asoc/topic/jack', 'asoc/topic/max98357a', 'asoc/topic...
[deliverable/linux.git] / arch / arm / boot / dts / at91sam9x5ek.dtsi
1 /*
2 * at91sam9x5ek.dtsi - Device Tree file for AT91SAM9x5CM Base board
3 *
4 * Copyright (C) 2012 Atmel,
5 * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
6 *
7 * Licensed under GPLv2 or later.
8 */
9 #include "at91sam9x5cm.dtsi"
10
11 / {
12 model = "Atmel AT91SAM9X5-EK";
13 compatible = "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
14
15 chosen {
16 bootargs = "console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
17 };
18
19 ahb {
20 apb {
21 mmc0: mmc@f0008000 {
22 pinctrl-0 = <
23 &pinctrl_board_mmc0
24 &pinctrl_mmc0_slot0_clk_cmd_dat0
25 &pinctrl_mmc0_slot0_dat1_3>;
26 status = "okay";
27 slot@0 {
28 reg = <0>;
29 bus-width = <4>;
30 cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>;
31 };
32 };
33
34 mmc1: mmc@f000c000 {
35 pinctrl-0 = <
36 &pinctrl_board_mmc1
37 &pinctrl_mmc1_slot0_clk_cmd_dat0
38 &pinctrl_mmc1_slot0_dat1_3>;
39 status = "okay";
40 slot@0 {
41 reg = <0>;
42 bus-width = <4>;
43 cd-gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
44 };
45 };
46
47 dbgu: serial@fffff200 {
48 status = "okay";
49 };
50
51 usart0: serial@f801c000 {
52 status = "okay";
53 };
54
55 usb2: gadget@f803c000 {
56 pinctrl-names = "default";
57 pinctrl-0 = <&pinctrl_board_usb2>;
58 atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
59 status = "okay";
60 };
61
62 i2c0: i2c@f8010000 {
63 status = "okay";
64
65 wm8731: wm8731@1a {
66 compatible = "wm8731";
67 reg = <0x1a>;
68 };
69 };
70
71 pinctrl@fffff400 {
72 mmc0 {
73 pinctrl_board_mmc0: mmc0-board {
74 atmel,pins =
75 <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD15 gpio CD pin pull up and deglitch */
76 };
77 };
78
79 mmc1 {
80 pinctrl_board_mmc1: mmc1-board {
81 atmel,pins =
82 <AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD14 gpio CD pin pull up and deglitch */
83 };
84 };
85
86 usb2 {
87 pinctrl_board_usb2: usb2-board {
88 atmel,pins =
89 <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB16 gpio vbus sense, deglitch */
90 };
91 };
92 };
93
94 spi0: spi@f0000000 {
95 status = "okay";
96 cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
97 m25p80@0 {
98 compatible = "atmel,at25df321a";
99 spi-max-frequency = <50000000>;
100 reg = <0>;
101 };
102 };
103
104 watchdog@fffffe40 {
105 status = "okay";
106 };
107
108 ssc0: ssc@f0010000 {
109 status = "okay";
110 };
111 };
112
113 usb0: ohci@00600000 {
114 status = "okay";
115 num-ports = <3>;
116 atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW *//* Activate to have access to port A */
117 &pioD 19 GPIO_ACTIVE_LOW
118 &pioD 20 GPIO_ACTIVE_LOW
119 >;
120 };
121
122 usb1: ehci@00700000 {
123 status = "okay";
124 };
125 };
126
127 sound {
128 compatible = "atmel,sam9x5-wm8731-audio";
129
130 atmel,model = "wm8731 @ AT91SAM9X5EK";
131
132 atmel,audio-routing =
133 "Headphone Jack", "RHPOUT",
134 "Headphone Jack", "LHPOUT",
135 "LLINEIN", "Line In Jack",
136 "RLINEIN", "Line In Jack";
137
138 atmel,ssc-controller = <&ssc0>;
139 atmel,audio-codec = <&wm8731>;
140 };
141 };
This page took 0.034771 seconds and 5 git commands to generate.