diff options
author | Hong Xu <hong.xu@atmel.com> | 2012-04-17 02:26:29 -0400 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-27 13:40:27 -0400 |
commit | cce783c608fee0716cff65926d1835a5fd097b69 (patch) | |
tree | 14842d65a25839c31cf4e99ded0410d569f1a4aa /arch/arm/boot/dts/at91sam9n12ek.dts | |
parent | 74db4fb93e4ed4d6241bf0f28e4b5d68a7a05577 (diff) |
ARM: at91: Add DT description files for AT91SAM9N12-EK
Added AT91SAM9N12 SoC DT file, as well as the board definition
.dts file for AT91SAM9N12-EK.
Signed-off-by: Hong Xu <hong.xu@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9n12ek.dts')
-rw-r--r-- | arch/arm/boot/dts/at91sam9n12ek.dts | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts new file mode 100644 index 000000000000..f4e43e38f3a1 --- /dev/null +++ b/arch/arm/boot/dts/at91sam9n12ek.dts | |||
@@ -0,0 +1,84 @@ | |||
1 | /* | ||
2 | * at91sam9n12ek.dts - Device Tree file for AT91SAM9N12-EK board | ||
3 | * | ||
4 | * Copyright (C) 2012 Atmel, | ||
5 | * 2012 Hong Xu <hong.xu@atmel.com> | ||
6 | * | ||
7 | * Licensed under GPLv2 or later. | ||
8 | */ | ||
9 | /dts-v1/; | ||
10 | /include/ "at91sam9n12.dtsi" | ||
11 | |||
12 | / { | ||
13 | model = "Atmel AT91SAM9N12-EK"; | ||
14 | compatible = "atmel,at91sam9n12ek", "atmel,at91sam9n12", "atmel,at91sam9"; | ||
15 | |||
16 | chosen { | ||
17 | bootargs = "mem=128M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2"; | ||
18 | }; | ||
19 | |||
20 | memory { | ||
21 | reg = <0x20000000 0x10000000>; | ||
22 | }; | ||
23 | |||
24 | clocks { | ||
25 | #address-cells = <1>; | ||
26 | #size-cells = <1>; | ||
27 | ranges; | ||
28 | |||
29 | main_clock: clock@0 { | ||
30 | compatible = "atmel,osc", "fixed-clock"; | ||
31 | clock-frequency = <16000000>; | ||
32 | }; | ||
33 | }; | ||
34 | |||
35 | ahb { | ||
36 | apb { | ||
37 | dbgu: serial@fffff200 { | ||
38 | status = "okay"; | ||
39 | }; | ||
40 | }; | ||
41 | |||
42 | nand0: nand@40000000 { | ||
43 | nand-bus-width = <8>; | ||
44 | nand-ecc-mode = "soft"; | ||
45 | nand-on-flash-bbt; | ||
46 | status = "okay"; | ||
47 | }; | ||
48 | }; | ||
49 | |||
50 | leds { | ||
51 | compatible = "gpio-leds"; | ||
52 | |||
53 | d8 { | ||
54 | label = "d8"; | ||
55 | gpios = <&pioB 4 1>; | ||
56 | linux,default-trigger = "mmc0"; | ||
57 | }; | ||
58 | |||
59 | d9 { | ||
60 | label = "d6"; | ||
61 | gpios = <&pioB 5 1>; | ||
62 | linux,default-trigger = "nand-disk"; | ||
63 | }; | ||
64 | |||
65 | d10 { | ||
66 | label = "d7"; | ||
67 | gpios = <&pioB 6 0>; | ||
68 | linux,default-trigger = "heartbeat"; | ||
69 | }; | ||
70 | }; | ||
71 | |||
72 | gpio_keys { | ||
73 | compatible = "gpio-keys"; | ||
74 | #address-cells = <1>; | ||
75 | #size-cells = <0>; | ||
76 | |||
77 | enter { | ||
78 | label = "Enter"; | ||
79 | gpios = <&pioB 4 1>; | ||
80 | linux,code = <28>; | ||
81 | gpio-key,wakeup; | ||
82 | }; | ||
83 | }; | ||
84 | }; | ||