]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | // SPDX-License-Identifier: GPL-2.0 |
a900f516 TL |
2 | #include "omap2420.dtsi" |
3 | ||
4 | / { | |
101ace8d | 5 | memory@80000000 { |
a900f516 TL |
6 | device_type = "memory"; |
7 | reg = <0x80000000 0x8000000>; /* 128 MB */ | |
8 | }; | |
9 | ||
10 | ocp { | |
e72c378b | 11 | i2c0 { |
a900f516 | 12 | compatible = "i2c-cbus-gpio"; |
3a637e00 JMC |
13 | gpios = <&gpio3 2 GPIO_ACTIVE_HIGH /* gpio66 clk */ |
14 | &gpio3 1 GPIO_ACTIVE_HIGH /* gpio65 dat */ | |
15 | &gpio3 0 GPIO_ACTIVE_HIGH /* gpio64 sel */ | |
a900f516 TL |
16 | >; |
17 | #address-cells = <1>; | |
18 | #size-cells = <0>; | |
408bc03b | 19 | retu: retu@1 { |
c05581d8 | 20 | compatible = "nokia,retu"; |
a900f516 TL |
21 | interrupt-parent = <&gpio4>; |
22 | interrupts = <12 IRQ_TYPE_EDGE_RISING>; | |
23 | reg = <0x1>; | |
24 | }; | |
25 | }; | |
26 | }; | |
27 | }; | |
28 | ||
29 | &i2c1 { | |
30 | clock-frequency = <400000>; | |
e92ce89c FB |
31 | |
32 | pmic@72 { | |
33 | compatible = "menelaus"; | |
34 | reg = <0x72>; | |
35 | interrupts = <7 IRQ_TYPE_EDGE_RISING>; | |
36 | }; | |
a900f516 TL |
37 | }; |
38 | ||
39 | &i2c2 { | |
40 | clock-frequency = <400000>; | |
41 | }; | |
218077a3 AK |
42 | |
43 | &gpmc { | |
e2c5eb78 | 44 | ranges = <0 0 0x04000000 0x1000000>; /* CS0: 16MB for OneNAND */ |
218077a3 AK |
45 | |
46 | /* gpio-irq for dma: 26 */ | |
47 | ||
48 | onenand@0,0 { | |
49 | #address-cells = <1>; | |
50 | #size-cells = <1>; | |
e2c5eb78 | 51 | reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */ |
218077a3 AK |
52 | |
53 | gpmc,sync-read; | |
54 | gpmc,burst-length = <16>; | |
55 | gpmc,burst-read; | |
56 | gpmc,burst-wrap; | |
57 | gpmc,device-width = <2>; | |
58 | gpmc,mux-add-data = <2>; | |
59 | gpmc,cs-on-ns = <0>; | |
60 | gpmc,cs-rd-off-ns = <127>; | |
61 | gpmc,cs-wr-off-ns = <109>; | |
62 | gpmc,adv-on-ns = <0>; | |
63 | gpmc,adv-rd-off-ns = <18>; | |
64 | gpmc,adv-wr-off-ns = <18>; | |
65 | gpmc,oe-on-ns = <27>; | |
66 | gpmc,oe-off-ns = <127>; | |
67 | gpmc,we-on-ns = <27>; | |
68 | gpmc,we-off-ns = <72>; | |
69 | gpmc,rd-cycle-ns = <145>; | |
70 | gpmc,wr-cycle-ns = <136>; | |
71 | gpmc,access-ns = <118>; | |
72 | gpmc,page-burst-access-ns = <27>; | |
73 | gpmc,bus-turnaround-ns = <0>; | |
74 | gpmc,cycle2cycle-delay-ns = <0>; | |
75 | gpmc,wait-monitoring-ns = <0>; | |
76 | gpmc,clk-activation-ns = <9>; | |
77 | gpmc,sync-clk-ps = <27000>; | |
78 | ||
79 | /* MTD partition table corresponding to old board-n8x0 file. */ | |
80 | partition@0 { | |
81 | label = "bootloader"; | |
82 | reg = <0x00000000 0x00020000>; | |
83 | read-only; | |
84 | }; | |
85 | partition@1 { | |
86 | label = "config"; | |
87 | reg = <0x00020000 0x00060000>; | |
88 | }; | |
89 | partition@2 { | |
90 | label = "kernel"; | |
91 | reg = <0x00080000 0x00200000>; | |
92 | }; | |
93 | partition@3 { | |
94 | label = "initfs"; | |
95 | reg = <0x00280000 0x00400000>; | |
96 | }; | |
97 | partition@4 { | |
98 | label = "rootfs"; | |
99 | reg = <0x00680000 0x0f980000>; | |
100 | }; | |
101 | partition@5 { | |
102 | label = "omap2-onenand"; | |
103 | reg = <0x00000000 0x10000000>; | |
104 | }; | |
105 | }; | |
106 | }; |