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 | |
eb5e76ff JCPV |
15 | clocks { |
16 | #address-cells = <1>; | |
17 | #size-cells = <1>; | |
18 | ranges; | |
19 | ||
20 | main_clock: clock@0 { | |
21 | compatible = "atmel,osc", "fixed-clock"; | |
22 | clock-frequency = <12000000>; | |
23 | }; | |
24 | }; | |
25 | ||
12dde449 AB |
26 | clocks { |
27 | slow_xtal { | |
28 | clock-frequency = <32768>; | |
29 | }; | |
0d04fca9 | 30 | |
12dde449 AB |
31 | main_xtal { |
32 | clock-frequency = <12000000>; | |
33 | }; | |
0d04fca9 BB |
34 | }; |
35 | ||
86a89f4f | 36 | ahb { |
6901d947 RG |
37 | apb { |
38 | pinctrl@fffff400 { | |
39 | 1wire_cm { | |
40 | pinctrl_1wire_cm: 1wire_cm-0 { | |
c9d0f317 | 41 | atmel,pins = <AT91_PIOB 18 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB18 multidrive, conflicts with led */ |
6901d947 RG |
42 | }; |
43 | }; | |
44 | }; | |
45 | }; | |
46 | ||
86a89f4f JCPV |
47 | nand0: nand@40000000 { |
48 | nand-bus-width = <8>; | |
5314bc2d JW |
49 | nand-ecc-mode = "hw"; |
50 | atmel,has-pmecc; /* Enable PMECC */ | |
51 | atmel,pmecc-cap = <2>; | |
52 | atmel,pmecc-sector-size = <512>; | |
86a89f4f JCPV |
53 | nand-on-flash-bbt; |
54 | status = "okay"; | |
55 | ||
56 | at91bootstrap@0 { | |
57 | label = "at91bootstrap"; | |
58 | reg = <0x0 0x40000>; | |
59 | }; | |
60 | ||
61 | uboot@40000 { | |
62 | label = "u-boot"; | |
63 | reg = <0x40000 0x80000>; | |
64 | }; | |
65 | ||
66 | ubootenv@c0000 { | |
67 | label = "U-Boot Env"; | |
68 | reg = <0xc0000 0x140000>; | |
69 | }; | |
70 | ||
71 | kernel@200000 { | |
72 | label = "kernel"; | |
73 | reg = <0x200000 0x600000>; | |
74 | }; | |
75 | ||
76 | rootfs@800000 { | |
77 | label = "rootfs"; | |
78 | reg = <0x800000 0x1f800000>; | |
79 | }; | |
80 | }; | |
81 | }; | |
82 | ||
f75622f4 JCPV |
83 | leds { |
84 | compatible = "gpio-leds"; | |
85 | ||
86 | pb18 { | |
87 | label = "pb18"; | |
92f8629b | 88 | gpios = <&pioB 18 GPIO_ACTIVE_LOW>; |
f75622f4 JCPV |
89 | linux,default-trigger = "heartbeat"; |
90 | }; | |
91 | ||
92 | pd21 { | |
93 | label = "pd21"; | |
92f8629b | 94 | gpios = <&pioD 21 GPIO_ACTIVE_HIGH>; |
f75622f4 JCPV |
95 | }; |
96 | }; | |
6901d947 RG |
97 | |
98 | 1wire_cm { | |
99 | compatible = "w1-gpio"; | |
92f8629b | 100 | gpios = <&pioB 18 GPIO_ACTIVE_HIGH>; |
6901d947 RG |
101 | linux,open-drain; |
102 | pinctrl-names = "default"; | |
103 | pinctrl-0 = <&pinctrl_1wire_cm>; | |
104 | status = "okay"; | |
105 | }; | |
106 | ||
467f1cf5 | 107 | }; |