ARM: at91: fix usart/uart namimg in pinctrl
[deliverable/linux.git] / arch / arm / boot / dts / at91sam9m10g45ek.dts
CommitLineData
49fe2ba3
NF
1/*
2 * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board
3 *
4 * Copyright (C) 2011 Atmel,
5 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
6 *
7 * Licensed under GPLv2 or later.
8 */
9/dts-v1/;
10/include/ "at91sam9g45.dtsi"
11
12/ {
13 model = "Atmel AT91SAM9M10G45-EK";
14 compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9";
15
16 chosen {
d6a01661 17 bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2";
49fe2ba3
NF
18 };
19
dcce6ce8 20 memory {
49fe2ba3
NF
21 reg = <0x70000000 0x4000000>;
22 };
23
eb5e76ff
JCPV
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 = <12000000>;
32 };
33 };
34
49fe2ba3
NF
35 ahb {
36 apb {
37 dbgu: serial@ffffee00 {
38 status = "okay";
39 };
40
41 usart1: serial@fff90000 {
9e3129e9 42 pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
49fe2ba3
NF
43 status = "okay";
44 };
0d4f99d8
NF
45
46 macb0: ethernet@fffbc000 {
47 phy-mode = "rmii";
48 status = "okay";
49 };
fbc18715
LD
50
51 i2c0: i2c@fff84000 {
52 status = "okay";
53 };
54
55 i2c1: i2c@fff88000 {
56 status = "okay";
57 };
49fe2ba3 58 };
d6a01661
JCPV
59
60 nand0: nand@40000000 {
61 nand-bus-width = <8>;
62 nand-ecc-mode = "soft";
63 nand-on-flash-bbt;
64 status = "okay";
65
66 boot@0 {
67 label = "bootstrap/uboot/kernel";
68 reg = <0x0 0x400000>;
69 };
70
71 rootfs@400000 {
72 label = "rootfs";
73 reg = <0x400000 0x3C00000>;
74 };
75
76 data@4000000 {
77 label = "data";
78 reg = <0x4000000 0xC000000>;
79 };
6a062459 80 };
d6a01661 81
6a062459
JCPV
82 usb0: ohci@00700000 {
83 status = "okay";
84 num-ports = <2>;
74adcb21
NF
85 atmel,vbus-gpio = <&pioD 1 1
86 &pioD 3 1>;
d6a01661 87 };
62c5553a
JCPV
88
89 usb1: ehci@00800000 {
90 status = "okay";
91 };
49fe2ba3 92 };
f2ee7acd
JCPV
93
94 leds {
95 compatible = "gpio-leds";
96
97 d8 {
98 label = "d8";
99 gpios = <&pioD 30 0>;
100 linux,default-trigger = "heartbeat";
101 };
102
103 d6 {
104 label = "d6";
105 gpios = <&pioD 0 1>;
106 linux,default-trigger = "nand-disk";
107 };
108
109 d7 {
110 label = "d7";
111 gpios = <&pioD 31 1>;
112 linux,default-trigger = "mmc0";
113 };
114 };
8a087b0c
JCPV
115
116 gpio_keys {
117 compatible = "gpio-keys";
118 #address-cells = <1>;
119 #size-cells = <0>;
120
121 left_click {
122 label = "left_click";
123 gpios = <&pioB 6 1>;
124 linux,code = <272>;
125 gpio-key,wakeup;
126 };
127
128 right_click {
129 label = "right_click";
130 gpios = <&pioB 7 1>;
131 linux,code = <273>;
132 gpio-key,wakeup;
133 };
134
135 left {
136 label = "Joystick Left";
137 gpios = <&pioB 14 1>;
138 linux,code = <105>;
139 };
140
141 right {
142 label = "Joystick Right";
143 gpios = <&pioB 15 1>;
144 linux,code = <106>;
145 };
146
147 up {
148 label = "Joystick Up";
149 gpios = <&pioB 16 1>;
150 linux,code = <103>;
151 };
152
153 down {
154 label = "Joystick Down";
155 gpios = <&pioB 17 1>;
156 linux,code = <108>;
157 };
158
159 enter {
160 label = "Joystick Press";
161 gpios = <&pioB 18 1>;
162 linux,code = <28>;
163 };
164 };
49fe2ba3 165};
This page took 0.121993 seconds and 5 git commands to generate.