Jean-Christophe PLAGNIOL-VILLARD | 5cb4e73 | 2012-02-13 00:54:47 +0800 | [diff] [blame] | 1 | /* |
| 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 Desroches | 4134a45 | 2012-11-19 12:24:02 +0100 | [diff] [blame^] | 15 | ahb { |
| 16 | apb{ |
| 17 | mmc0: mmc@fffa8000 { |
| 18 | slot@0 { |
| 19 | reg = <0>; |
| 20 | bus-width = <4>; |
| 21 | cd-gpios = <&pioC 2 0>; |
| 22 | }; |
| 23 | }; |
| 24 | }; |
| 25 | }; |
| 26 | |
Jean-Christophe PLAGNIOL-VILLARD | 5cb4e73 | 2012-02-13 00:54:47 +0800 | [diff] [blame] | 27 | leds { |
| 28 | compatible = "gpio-leds"; |
| 29 | |
| 30 | ds1 { |
| 31 | label = "ds1"; |
| 32 | gpios = <&pioB 9 0>; |
| 33 | linux,default-trigger = "heartbeat"; |
| 34 | }; |
| 35 | |
| 36 | ds5 { |
| 37 | label = "ds5"; |
| 38 | gpios = <&pioB 8 1>; |
| 39 | }; |
| 40 | }; |
| 41 | }; |