]> Pileus Git - ~andy/linux/blob - arch/arm/boot/dts/omap3430-sdp.dts
535a6f900146b8b53dff542733a1552fdbf32154
[~andy/linux] / arch / arm / boot / dts / omap3430-sdp.dts
1 /*
2  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 /dts-v1/;
9
10 /include/ "omap3.dtsi"
11
12 / {
13         model = "TI OMAP3430 SDP";
14         compatible = "ti,omap3430-sdp", "ti,omap3";
15
16         memory {
17                 device_type = "memory";
18                 reg = <0x80000000 0x10000000>; /* 256 MB */
19         };
20 };
21
22 &i2c1 {
23         clock-frequency = <2600000>;
24
25         twl: twl@48 {
26                 reg = <0x48>;
27                 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
28         };
29 };
30
31 /include/ "twl4030.dtsi"
32
33 &mmc1 {
34         vmmc-supply = <&vmmc1>;
35         vmmc_aux-supply = <&vsim>;
36         bus-width = <8>;
37 };
38
39 &mmc2 {
40         status = "disabled";
41 };
42
43 &mmc3 {
44         status = "disabled";
45 };
46
47 &gpmc {
48         ranges = <1 0 0x28000000 0x08000000>,
49                  <2 0 0x20000000 0x10000000>;
50
51         nand@1,0 {
52                 linux,mtd-name= "micron,mt29f1g08abb";
53                 #address-cells = <1>;
54                 #size-cells = <1>;
55                 reg = <1 0 0x08000000>;
56                 nand-bus-width = <8>;
57
58                 ti,nand-ecc-opt = "sw";
59                 gpmc,device-nand;
60                 gpmc,cs-on = <0>;
61                 gpmc,cs-rd-off = <36>;
62                 gpmc,cs-wr-off = <36>;
63                 gpmc,adv-on = <6>;
64                 gpmc,adv-rd-off = <24>;
65                 gpmc,adv-wr-off = <36>;
66                 gpmc,oe-on = <6>;
67                 gpmc,oe-off = <48>;
68                 gpmc,we-on = <6>;
69                 gpmc,we-off = <30>;
70                 gpmc,rd-cycle = <72>;
71                 gpmc,wr-cycle = <72>;
72                 gpmc,access = <54>;
73                 gpmc,wr-access = <30>;
74
75                 partition@0 {
76                         label = "xloader-nand";
77                         reg = <0 0x80000>;
78                 };
79                 partition@0x80000 {
80                         label = "bootloader-nand";
81                         reg = <0x80000 0x140000>;
82                 };
83                 partition@0x1c0000 {
84                         label = "params-nand";
85                         reg = <0x1c0000 0xc0000>;
86                 };
87                 partition@0x280000 {
88                         label = "kernel-nand";
89                         reg = <0x280000 0x500000>;
90                 };
91                 partition@0x780000 {
92                         label = "filesystem-nand";
93                         reg = <0x780000 0x7880000>;
94                 };
95         };
96
97         onenand@2,0 {
98                 linux,mtd-name= "samsung,kfm2g16q2m-deb8";
99                 #address-cells = <1>;
100                 #size-cells = <1>;
101                 reg = <2 0 0x10000000>;
102
103                 gpmc,device-width = <2>;
104                 gpmc,mux-add-data = <2>;
105                 gpmc,cs-on = <0>;
106                 gpmc,cs-rd-off = <84>;
107                 gpmc,cs-wr-off = <72>;
108                 gpmc,adv-on = <0>;
109                 gpmc,adv-rd-off = <18>;
110                 gpmc,adv-wr-off = <18>;
111                 gpmc,oe-on = <30>;
112                 gpmc,oe-off = <84>;
113                 gpmc,we-on = <0>;
114                 gpmc,we-off = <42>;
115                 gpmc,rd-cycle = <108>;
116                 gpmc,wr-cycle = <96>;
117                 gpmc,access = <78>;
118                 gpmc,wr-data-mux-bus = <30>;
119
120                 partition@0 {
121                         label = "xloader-onenand";
122                         reg = <0 0x80000>;
123                 };
124                 partition@0x80000 {
125                         label = "bootloader-onenand";
126                         reg = <0x80000 0x40000>;
127                 };
128                 partition@0xc0000 {
129                         label = "params-onenand";
130                         reg = <0xc0000 0x20000>;
131                 };
132                 partition@0xe0000 {
133                         label = "kernel-onenand";
134                         reg = <0xe0000 0x200000>;
135                 };
136                 partition@0x2e0000 {
137                         label = "filesystem-onenand";
138                         reg = <0x2e0000 0xfd20000>;
139                 };
140         };
141 };