blob: 66467b1131264bd409da608f58d70f5f3703f79e [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARD5cb4e732012-02-13 00:54:47 +08001/*
2 * at91sam9g20ek_2mmc.dts - Device Tree file for Atmel at91sam9g20ek 2 MMC board
3 *
4 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5 *
6 * Licensed under GPLv2.
7 */
8/dts-v1/;
9/include/ "at91sam9g20ek_common.dtsi"
10
11/ {
12 model = "Atmel at91sam9g20ek 2 mmc";
13 compatible = "atmel,at91sam9g20ek_2mmc", "atmel,at91sam9g20", "atmel,at91sam9";
14
Ludovic Desroches4134a452012-11-19 12:24:02 +010015 ahb {
16 apb{
17 mmc0: mmc@fffa8000 {
Jean-Christophe PLAGNIOL-VILLARD199e2ed2012-11-20 00:38:18 +080018 /* clk already mux wuth slot0 */
19 pinctrl-0 = <
20 &pinctrl_board_mmc0_slot0
21 &pinctrl_mmc0_slot0_cmd_dat0
22 &pinctrl_mmc0_slot0_dat1_3>;
Ludovic Desroches4134a452012-11-19 12:24:02 +010023 slot@0 {
24 reg = <0>;
25 bus-width = <4>;
26 cd-gpios = <&pioC 2 0>;
27 };
28 };
Jean-Christophe PLAGNIOL-VILLARD199e2ed2012-11-20 00:38:18 +080029
30 pinctrl@fffff400 {
31 mmc0_slot0 {
32 pinctrl_board_mmc0_slot0: mmc0_slot0-board {
33 atmel,pins =
34 <2 2 0x0 0x5>; /* PC2 gpio CD pin pull up and deglitch */
35 };
36 };
37 };
Ludovic Desroches4134a452012-11-19 12:24:02 +010038 };
39 };
40
Jean-Christophe PLAGNIOL-VILLARD5cb4e732012-02-13 00:54:47 +080041 leds {
42 compatible = "gpio-leds";
43
44 ds1 {
45 label = "ds1";
46 gpios = <&pioB 9 0>;
47 linux,default-trigger = "heartbeat";
48 };
49
50 ds5 {
51 label = "ds5";
52 gpios = <&pioB 8 1>;
53 };
54 };
55};