]>
Commit | Line | Data |
---|---|---|
39f31cd4 JCPV |
1 | /* |
2 | * at91sam9263ek.dts - Device Tree file for Atmel at91sam9263 reference board | |
3 | * | |
4 | * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | |
5 | * | |
6 | * Licensed under GPLv2 only | |
7 | */ | |
8 | /dts-v1/; | |
9 | /include/ "at91sam9263.dtsi" | |
10 | ||
11 | / { | |
12 | model = "Atmel at91sam9263ek"; | |
13 | compatible = "atmel,at91sam9263ek", "atmel,at91sam9263", "atmel,at91sam9"; | |
14 | ||
15 | chosen { | |
16 | bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; | |
17 | }; | |
18 | ||
19 | memory { | |
20 | reg = <0x20000000 0x4000000>; | |
21 | }; | |
22 | ||
23 | clocks { | |
24 | #address-cells = <1>; | |
25 | #size-cells = <1>; | |
26 | ranges; | |
27 | ||
28 | main_clock: clock@0 { | |
29 | compatible = "atmel,osc", "fixed-clock"; | |
30 | clock-frequency = <16367660>; | |
31 | }; | |
32 | }; | |
33 | ||
34 | ahb { | |
35 | apb { | |
36 | dbgu: serial@ffffee00 { | |
37 | status = "okay"; | |
38 | }; | |
39 | ||
40 | usart0: serial@fff8c000 { | |
9e3129e9 | 41 | pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts_cts>; |
39f31cd4 JCPV |
42 | status = "okay"; |
43 | }; | |
44 | ||
45 | macb0: ethernet@fffbc000 { | |
46 | phy-mode = "rmii"; | |
47 | status = "okay"; | |
48 | }; | |
49 | ||
50 | usb1: gadget@fff78000 { | |
51 | atmel,vbus-gpio = <&pioA 25 0>; | |
52 | status = "okay"; | |
53 | }; | |
54 | }; | |
55 | ||
56 | nand0: nand@40000000 { | |
57 | nand-bus-width = <8>; | |
58 | nand-ecc-mode = "soft"; | |
59 | nand-on-flash-bbt = <1>; | |
60 | status = "okay"; | |
61 | ||
62 | at91bootstrap@0 { | |
63 | label = "at91bootstrap"; | |
64 | reg = <0x0 0x20000>; | |
65 | }; | |
66 | ||
67 | barebox@20000 { | |
68 | label = "barebox"; | |
69 | reg = <0x20000 0x40000>; | |
70 | }; | |
71 | ||
72 | bareboxenv@60000 { | |
73 | label = "bareboxenv"; | |
74 | reg = <0x60000 0x20000>; | |
75 | }; | |
76 | ||
77 | bareboxenv2@80000 { | |
78 | label = "bareboxenv2"; | |
79 | reg = <0x80000 0x20000>; | |
80 | }; | |
81 | ||
82 | oftree@80000 { | |
83 | label = "oftree"; | |
84 | reg = <0xa0000 0x20000>; | |
85 | }; | |
86 | ||
87 | kernel@a0000 { | |
88 | label = "kernel"; | |
89 | reg = <0xc0000 0x400000>; | |
90 | }; | |
91 | ||
92 | rootfs@4a0000 { | |
93 | label = "rootfs"; | |
94 | reg = <0x4c0000 0x7800000>; | |
95 | }; | |
96 | ||
97 | data@7ca0000 { | |
98 | label = "data"; | |
99 | reg = <0x7cc0000 0x8340000>; | |
100 | }; | |
101 | }; | |
102 | ||
103 | usb0: ohci@00a00000 { | |
104 | num-ports = <2>; | |
105 | status = "okay"; | |
106 | atmel,vbus-gpio = <&pioA 24 0 | |
107 | &pioA 21 0 | |
108 | >; | |
109 | }; | |
110 | }; | |
111 | ||
112 | leds { | |
113 | compatible = "gpio-leds"; | |
114 | ||
115 | d3 { | |
116 | label = "d3"; | |
117 | gpios = <&pioB 7 0>; | |
118 | linux,default-trigger = "heartbeat"; | |
119 | }; | |
120 | ||
121 | d2 { | |
122 | label = "d2"; | |
123 | gpios = <&pioC 29 1>; | |
124 | linux,default-trigger = "nand-disk"; | |
125 | }; | |
126 | }; | |
127 | ||
128 | gpio_keys { | |
129 | compatible = "gpio-keys"; | |
130 | #address-cells = <1>; | |
131 | #size-cells = <0>; | |
132 | ||
133 | left_click { | |
134 | label = "left_click"; | |
135 | gpios = <&pioC 5 1>; | |
136 | linux,code = <272>; | |
137 | gpio-key,wakeup; | |
138 | }; | |
139 | ||
140 | right_click { | |
141 | label = "right_click"; | |
142 | gpios = <&pioC 4 1>; | |
143 | linux,code = <273>; | |
144 | gpio-key,wakeup; | |
145 | }; | |
146 | }; | |
147 | ||
148 | i2c@0 { | |
149 | status = "okay"; | |
150 | ||
151 | 24c512@50 { | |
152 | compatible = "24c512"; | |
153 | reg = <0x50>; | |
154 | pagesize = <128>; | |
155 | }; | |
156 | }; | |
157 | }; |