blob: 525e6d9b09784c721b4660554a17abdda14273e9 [file] [log] [blame]
Javier Martinez Canillas9ad1df22012-12-19 14:33:10 +01001/*
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
Florian Vaussard98ef79572013-05-31 14:32:55 +020012#include "omap3-igep.dtsi"
Javier Martinez Canillas9ad1df22012-12-19 14:33:10 +010013
14/ {
15 model = "IGEP COM Module";
16 compatible = "isee,omap3-igep0030", "ti,omap3";
17
18 leds {
Javier Martinez Canillas78132032013-06-20 16:42:32 +020019 pinctrl-names = "default";
20 pinctrl-0 = <&leds_pins>;
Javier Martinez Canillas9ad1df22012-12-19 14:33:10 +010021 compatible = "gpio-leds";
Javier Martinez Canillas78132032013-06-20 16:42:32 +020022
Javier Martinez Canillas9ad1df22012-12-19 14:33:10 +010023 boot {
24 label = "omap3:green:boot";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020025 gpios = <&twl_gpio 13 GPIO_ACTIVE_LOW>;
Javier Martinez Canillas9ad1df22012-12-19 14:33:10 +010026 default-state = "on";
27 };
28
29 user0 {
30 label = "omap3:red:user0";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020031 gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */
Javier Martinez Canillas9ad1df22012-12-19 14:33:10 +010032 default-state = "off";
33 };
34
35 user1 {
36 label = "omap3:green:user1";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020037 gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>; /* LEDB */
Javier Martinez Canillas9ad1df22012-12-19 14:33:10 +010038 default-state = "off";
39 };
40
41 user2 {
42 label = "omap3:red:user1";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020043 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
Javier Martinez Canillas9ad1df22012-12-19 14:33:10 +010044 default-state = "off";
45 };
46 };
47};
Javier Martinez Canillasbc6b8202013-05-10 21:40:59 +020048
Javier Martinez Canillas78132032013-06-20 16:42:32 +020049&leds_pins {
50 pinctrl-single,pins = <
51 0x5b0 (PIN_OUTPUT | MUX_MODE4) /* etk_d2.gpio_16 */
52 >;
53};
54
Javier Martinez Canillasbc6b8202013-05-10 21:40:59 +020055&gpmc {
56 ranges = <0 0 0x00000000 0x20000000>;
57
58 nand@0,0 {
59 linux,mtd-name= "micron,mt29c4g96maz";
60 reg = <0 0 0>;
61 nand-bus-width = <16>;
62 ti,nand-ecc-opt = "bch8";
63
64 gpmc,sync-clk-ps = <0>;
65 gpmc,cs-on-ns = <0>;
66 gpmc,cs-rd-off-ns = <44>;
67 gpmc,cs-wr-off-ns = <44>;
68 gpmc,adv-on-ns = <6>;
69 gpmc,adv-rd-off-ns = <34>;
70 gpmc,adv-wr-off-ns = <44>;
71 gpmc,we-off-ns = <40>;
72 gpmc,oe-off-ns = <54>;
73 gpmc,access-ns = <64>;
74 gpmc,rd-cycle-ns = <82>;
75 gpmc,wr-cycle-ns = <82>;
76 gpmc,wr-access-ns = <40>;
77 gpmc,wr-data-mux-bus-ns = <0>;
78
79 #address-cells = <1>;
80 #size-cells = <1>;
81
82 partition@0 {
83 label = "SPL";
84 reg = <0 0x100000>;
85 };
Lee Jonesfa304a82013-07-22 11:52:33 +010086 partition@80000 {
Javier Martinez Canillasbc6b8202013-05-10 21:40:59 +020087 label = "U-Boot";
88 reg = <0x100000 0x180000>;
89 };
Lee Jonesfa304a82013-07-22 11:52:33 +010090 partition@1c0000 {
Javier Martinez Canillasbc6b8202013-05-10 21:40:59 +020091 label = "Environment";
92 reg = <0x280000 0x100000>;
93 };
Lee Jonesfa304a82013-07-22 11:52:33 +010094 partition@280000 {
Javier Martinez Canillasbc6b8202013-05-10 21:40:59 +020095 label = "Kernel";
96 reg = <0x380000 0x300000>;
97 };
Lee Jonesfa304a82013-07-22 11:52:33 +010098 partition@780000 {
Javier Martinez Canillasbc6b8202013-05-10 21:40:59 +020099 label = "Filesystem";
100 reg = <0x680000 0x1f980000>;
101 };
102 };
103};