]>
Commit | Line | Data |
---|---|---|
467f1cf5 NF |
1 | /* |
2 | * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module | |
3 | * | |
4 | * Copyright (C) 2012 Atmel, | |
5 | * 2012 Nicolas Ferre <nicolas.ferre@atmel.com> | |
6 | * | |
7 | * Licensed under GPLv2 or later. | |
8 | */ | |
9 | ||
10 | / { | |
dcce6ce8 | 11 | memory { |
467f1cf5 NF |
12 | reg = <0x20000000 0x8000000>; |
13 | }; | |
f75622f4 | 14 | |
12dde449 AB |
15 | clocks { |
16 | slow_xtal { | |
17 | clock-frequency = <32768>; | |
18 | }; | |
0d04fca9 | 19 | |
12dde449 AB |
20 | main_xtal { |
21 | clock-frequency = <12000000>; | |
22 | }; | |
0d04fca9 BB |
23 | }; |
24 | ||
86a89f4f | 25 | ahb { |
6901d947 | 26 | apb { |
379f95ae AB |
27 | tcb0: timer@f8008000 { |
28 | timer@0 { | |
29 | compatible = "atmel,tcb-timer"; | |
30 | reg = <0>; | |
31 | }; | |
32 | ||
33 | timer@1 { | |
34 | compatible = "atmel,tcb-timer"; | |
35 | reg = <1>; | |
36 | }; | |
37 | }; | |
38 | ||
6901d947 RG |
39 | pinctrl@fffff400 { |
40 | 1wire_cm { | |
41 | pinctrl_1wire_cm: 1wire_cm-0 { | |
c9d0f317 | 42 | atmel,pins = <AT91_PIOB 18 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB18 multidrive, conflicts with led */ |
6901d947 RG |
43 | }; |
44 | }; | |
45 | }; | |
5934973d NF |
46 | |
47 | rtc@fffffeb0 { | |
48 | status = "okay"; | |
49 | }; | |
6901d947 RG |
50 | }; |
51 | ||
1004a297 BB |
52 | ebi: ebi@10000000 { |
53 | pinctrl-0 = <&pinctrl_ebi_addr_nand | |
54 | &pinctrl_ebi_data_0_7>; | |
55 | pinctrl-names = "default"; | |
86a89f4f JCPV |
56 | status = "okay"; |
57 | ||
1004a297 BB |
58 | nand_controller: nand-controller { |
59 | status = "okay"; | |
60 | pinctrl-0 = <&pinctrl_nand_oe_we | |
61 | &pinctrl_nand_cs | |
62 | &pinctrl_nand_rb>; | |
63 | pinctrl-names = "default"; | |
64 | ||
65 | nand@3 { | |
66 | reg = <0x3 0x0 0x800000>; | |
67 | rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>; | |
68 | cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>; | |
69 | nand-bus-width = <8>; | |
70 | nand-ecc-mode = "hw"; | |
71 | nand-ecc-strength = <2>; | |
72 | nand-ecc-step-size = <512>; | |
73 | nand-on-flash-bbt; | |
74 | label = "atmel_nand"; | |
75 | ||
76 | partitions { | |
77 | compatible = "fixed-partitions"; | |
78 | #address-cells = <1>; | |
79 | #size-cells = <1>; | |
80 | ||
81 | at91bootstrap@0 { | |
82 | label = "at91bootstrap"; | |
83 | reg = <0x0 0x40000>; | |
84 | }; | |
85 | ||
86 | uboot@40000 { | |
87 | label = "u-boot"; | |
88 | reg = <0x40000 0x80000>; | |
89 | }; | |
90 | ||
91 | ubootenv@c0000 { | |
92 | label = "U-Boot Env"; | |
93 | reg = <0xc0000 0x140000>; | |
94 | }; | |
95 | ||
96 | kernel@200000 { | |
97 | label = "kernel"; | |
98 | reg = <0x200000 0x600000>; | |
99 | }; | |
100 | ||
101 | rootfs@800000 { | |
102 | label = "rootfs"; | |
103 | reg = <0x800000 0x1f800000>; | |
104 | }; | |
105 | }; | |
106 | }; | |
86a89f4f JCPV |
107 | }; |
108 | }; | |
109 | }; | |
110 | ||
f75622f4 JCPV |
111 | leds { |
112 | compatible = "gpio-leds"; | |
113 | ||
114 | pb18 { | |
115 | label = "pb18"; | |
92f8629b | 116 | gpios = <&pioB 18 GPIO_ACTIVE_LOW>; |
f75622f4 JCPV |
117 | linux,default-trigger = "heartbeat"; |
118 | }; | |
119 | ||
120 | pd21 { | |
121 | label = "pd21"; | |
92f8629b | 122 | gpios = <&pioD 21 GPIO_ACTIVE_HIGH>; |
f75622f4 JCPV |
123 | }; |
124 | }; | |
6901d947 RG |
125 | |
126 | 1wire_cm { | |
127 | compatible = "w1-gpio"; | |
92f8629b | 128 | gpios = <&pioB 18 GPIO_ACTIVE_HIGH>; |
6901d947 RG |
129 | linux,open-drain; |
130 | pinctrl-names = "default"; | |
131 | pinctrl-0 = <&pinctrl_1wire_cm>; | |
132 | status = "okay"; | |
133 | }; | |
134 | ||
467f1cf5 | 135 | }; |