ARM: at91: dt: add mmc pinctrl for Atmel reference boards
[linux-2.6.git] / arch / arm / boot / dts / at91sam9x5ek.dtsi
blob8a7cf1d9cf5db6f71ee002725151a6d968da40fa
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"
11 / {
12         model = "Atmel AT91SAM9X5-EK";
13         compatible = "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
15         chosen {
16                 bootargs = "128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
17         };
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 0>;
31                                 };
32                         };
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 0>;
44                                 };
45                         };
47                         dbgu: serial@fffff200 {
48                                 status = "okay";
49                         };
51                         usart0: serial@f801c000 {
52                                 status = "okay";
53                         };
55                         macb0: ethernet@f802c000 {
56                                 phy-mode = "rmii";
57                                 status = "okay";
58                         };
60                         i2c0: i2c@f8010000 {
61                                 status = "okay";
62                         };
64                         i2c1: i2c@f8014000 {
65                                 status = "okay";
66                         };
68                         i2c2: i2c@f8018000 {
69                                 status = "okay";
70                         };
72                         pinctrl@fffff400 {
73                                 mmc0 {
74                                         pinctrl_board_mmc0: mmc0-board {
75                                                 atmel,pins =
76                                                         <3 15 0x0 0x5>; /* PD15 gpio CD pin pull up and deglitch */
77                                         };
78                                 };
80                                 mmc1 {
81                                         pinctrl_board_mmc1: mmc1-board {
82                                                 atmel,pins =
83                                                         <3 14 0x0 0x5>; /* PD14 gpio CD pin pull up and deglitch */
84                                         };
85                                 };
86                         };
87                 };
89                 usb0: ohci@00600000 {
90                         status = "okay";
91                         num-ports = <2>;
92                         atmel,vbus-gpio = <&pioD 19 1
93                                            &pioD 20 1
94                                           >;
95                 };
97                 usb1: ehci@00700000 {
98                         status = "okay";
99                 };
100         };