Commit | Line | Data |
---|---|---|
9ad1df2b JMC |
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 | ||
98ef7957 | 12 | #include "omap3-igep.dtsi" |
9ad1df2b JMC |
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"; | |
6d624eab | 22 | gpios = <&twl_gpio 13 GPIO_ACTIVE_LOW>; |
9ad1df2b JMC |
23 | default-state = "on"; |
24 | }; | |
25 | ||
26 | user0 { | |
27 | label = "omap3:red:user0"; | |
6d624eab | 28 | gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */ |
9ad1df2b JMC |
29 | default-state = "off"; |
30 | }; | |
31 | ||
32 | user1 { | |
33 | label = "omap3:green:user1"; | |
6d624eab | 34 | gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>; /* LEDB */ |
9ad1df2b JMC |
35 | default-state = "off"; |
36 | }; | |
37 | ||
38 | user2 { | |
39 | label = "omap3:red:user1"; | |
6d624eab | 40 | gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; |
9ad1df2b JMC |
41 | default-state = "off"; |
42 | }; | |
43 | }; | |
44 | }; | |
bc6b820d JMC |
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 | }; |