Commit | Line | Data |
---|---|---|
cff4175e JCPV |
1 | /* |
2 | * usb_a926x.dts - Device Tree file for Caloa USB A926x board | |
3 | * | |
4 | * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | |
5 | * | |
6 | * Licensed under GPLv2 or later. | |
7 | */ | |
8 | ||
9 | / { | |
10 | clocks { | |
11 | #address-cells = <1>; | |
12 | #size-cells = <1>; | |
13 | ranges; | |
14 | ||
15 | main_clock: clock@0 { | |
16 | compatible = "atmel,osc", "fixed-clock"; | |
17 | clock-frequency = <12000000>; | |
18 | }; | |
19 | }; | |
20 | ||
21 | ahb { | |
22 | apb { | |
23 | dbgu: serial@fffff200 { | |
24 | status = "okay"; | |
25 | }; | |
26 | ||
27 | macb0: ethernet@fffc4000 { | |
28 | phy-mode = "rmii"; | |
29 | status = "okay"; | |
30 | }; | |
31 | ||
32 | usb1: gadget@fffa4000 { | |
33 | atmel,vbus-gpio = <&pioC 5 0>; | |
34 | status = "okay"; | |
35 | }; | |
36 | }; | |
37 | ||
38 | nand0: nand@40000000 { | |
39 | nand-bus-width = <8>; | |
40 | nand-ecc-mode = "soft"; | |
41 | nand-on-flash-bbt; | |
42 | status = "okay"; | |
43 | ||
44 | at91bootstrap@0 { | |
45 | label = "at91bootstrap"; | |
46 | reg = <0x0 0x20000>; | |
47 | }; | |
48 | ||
49 | barebox@20000 { | |
50 | label = "barebox"; | |
51 | reg = <0x20000 0x40000>; | |
52 | }; | |
53 | ||
54 | bareboxenv@60000 { | |
55 | label = "bareboxenv"; | |
56 | reg = <0x60000 0x20000>; | |
57 | }; | |
58 | ||
59 | bareboxenv2@80000 { | |
60 | label = "bareboxenv2"; | |
61 | reg = <0x80000 0x20000>; | |
62 | }; | |
63 | ||
64 | oftree@80000 { | |
65 | label = "oftree"; | |
66 | reg = <0xa0000 0x20000>; | |
67 | }; | |
68 | ||
69 | kernel@a0000 { | |
70 | label = "kernel"; | |
71 | reg = <0xc0000 0x400000>; | |
72 | }; | |
73 | ||
74 | rootfs@4a0000 { | |
75 | label = "rootfs"; | |
76 | reg = <0x4c0000 0x7800000>; | |
77 | }; | |
78 | ||
79 | data@7ca0000 { | |
80 | label = "data"; | |
81 | reg = <0x7cc0000 0x8340000>; | |
82 | }; | |
83 | }; | |
84 | ||
85 | usb0: ohci@00500000 { | |
86 | num-ports = <2>; | |
87 | status = "okay"; | |
88 | }; | |
89 | }; | |
90 | ||
91 | leds { | |
92 | compatible = "gpio-leds"; | |
93 | ||
94 | user_led { | |
95 | label = "user_led"; | |
96 | gpios = <&pioB 21 1>; | |
97 | linux,default-trigger = "heartbeat"; | |
98 | }; | |
99 | }; | |
100 | ||
101 | gpio_keys { | |
102 | compatible = "gpio-keys"; | |
103 | #address-cells = <1>; | |
104 | #size-cells = <0>; | |
105 | ||
106 | user_pb { | |
107 | label = "user_pb"; | |
108 | gpios = <&pioB 10 1>; | |
109 | linux,code = <28>; | |
110 | gpio-key,wakeup; | |
111 | }; | |
112 | }; | |
113 | ||
114 | i2c@0 { | |
115 | status = "okay"; | |
116 | }; | |
117 | }; |