]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/omap3-igep0030.dts
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec...
[karo-tx-linux.git] / arch / arm / boot / dts / omap3-igep0030.dts
1 /*
2  * Device Tree Source for IGEP COM Module
3  *
4  * Copyright (C) 2012 Javier Martinez Canillas <javier@collabora.co.uk>
5  * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  */
11
12 #include "omap3-igep.dtsi"
13
14 / {
15         model = "IGEP COM Module";
16         compatible = "isee,omap3-igep0030", "ti,omap3";
17
18         leds {
19                 compatible = "gpio-leds";
20                 boot {
21                          label = "omap3:green:boot";
22                          gpios = <&twl_gpio 13 GPIO_ACTIVE_LOW>;
23                          default-state = "on";
24                 };
25
26                 user0 {
27                          label = "omap3:red:user0";
28                          gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */
29                          default-state = "off";
30                 };
31
32                 user1 {
33                          label = "omap3:green:user1";
34                          gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>; /* LEDB */
35                          default-state = "off";
36                 };
37
38                 user2 {
39                          label = "omap3:red:user1";
40                          gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
41                          default-state = "off";
42                 };
43         };
44 };
45
46 &gpmc {
47         ranges = <0 0 0x00000000 0x20000000>;
48
49         nand@0,0 {
50                 linux,mtd-name= "micron,mt29c4g96maz";
51                 reg = <0 0 0>;
52                 nand-bus-width = <16>;
53                 ti,nand-ecc-opt = "bch8";
54
55                 gpmc,sync-clk-ps = <0>;
56                 gpmc,cs-on-ns = <0>;
57                 gpmc,cs-rd-off-ns = <44>;
58                 gpmc,cs-wr-off-ns = <44>;
59                 gpmc,adv-on-ns = <6>;
60                 gpmc,adv-rd-off-ns = <34>;
61                 gpmc,adv-wr-off-ns = <44>;
62                 gpmc,we-off-ns = <40>;
63                 gpmc,oe-off-ns = <54>;
64                 gpmc,access-ns = <64>;
65                 gpmc,rd-cycle-ns = <82>;
66                 gpmc,wr-cycle-ns = <82>;
67                 gpmc,wr-access-ns = <40>;
68                 gpmc,wr-data-mux-bus-ns = <0>;
69
70                 #address-cells = <1>;
71                 #size-cells = <1>;
72
73                 partition@0 {
74                         label = "SPL";
75                         reg = <0 0x100000>;
76                 };
77                 partition@0x80000 {
78                         label = "U-Boot";
79                         reg = <0x100000 0x180000>;
80                 };
81                 partition@0x1c0000 {
82                         label = "Environment";
83                         reg = <0x280000 0x100000>;
84                 };
85                 partition@0x280000 {
86                         label = "Kernel";
87                         reg = <0x380000 0x300000>;
88                 };
89                 partition@0x780000 {
90                         label = "Filesystem";
91                         reg = <0x680000 0x1f980000>;
92                 };
93         };
94 };