Javier Martinez Canillas | 9ad1df2 | 2012-12-19 14:33:10 +0100 | [diff] [blame] | 1 | /* |
Enric Balletbo i Serra | 9aa36df | 2013-11-26 15:03:37 -0800 | [diff] [blame] | 2 | * Device Tree Source for IGEP COM MODULE (TI OMAP AM/DM37x) |
Javier Martinez Canillas | 9ad1df2 | 2012-12-19 14:33:10 +0100 | [diff] [blame] | 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 Vaussard | 98ef7957 | 2013-05-31 14:32:55 +0200 | [diff] [blame] | 12 | #include "omap3-igep.dtsi" |
Javier Martinez Canillas | 9ad1df2 | 2012-12-19 14:33:10 +0100 | [diff] [blame] | 13 | |
| 14 | / { |
Enric Balletbo i Serra | 9aa36df | 2013-11-26 15:03:37 -0800 | [diff] [blame] | 15 | model = "IGEP COM MODULE (TI OMAP AM/DM37x)"; |
Javier Martinez Canillas | fb0cfec | 2014-02-22 10:59:36 -0300 | [diff] [blame] | 16 | compatible = "isee,omap3-igep0030", "ti,omap36xx", "ti,omap3"; |
Javier Martinez Canillas | 9ad1df2 | 2012-12-19 14:33:10 +0100 | [diff] [blame] | 17 | |
| 18 | leds { |
Javier Martinez Canillas | 7813203 | 2013-06-20 16:42:32 +0200 | [diff] [blame] | 19 | pinctrl-names = "default"; |
| 20 | pinctrl-0 = <&leds_pins>; |
Javier Martinez Canillas | 9ad1df2 | 2012-12-19 14:33:10 +0100 | [diff] [blame] | 21 | compatible = "gpio-leds"; |
Javier Martinez Canillas | 7813203 | 2013-06-20 16:42:32 +0200 | [diff] [blame] | 22 | |
Javier Martinez Canillas | 9ad1df2 | 2012-12-19 14:33:10 +0100 | [diff] [blame] | 23 | boot { |
| 24 | label = "omap3:green:boot"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 25 | gpios = <&twl_gpio 13 GPIO_ACTIVE_LOW>; |
Javier Martinez Canillas | 9ad1df2 | 2012-12-19 14:33:10 +0100 | [diff] [blame] | 26 | default-state = "on"; |
| 27 | }; |
| 28 | |
| 29 | user0 { |
| 30 | label = "omap3:red:user0"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 31 | gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */ |
Javier Martinez Canillas | 9ad1df2 | 2012-12-19 14:33:10 +0100 | [diff] [blame] | 32 | default-state = "off"; |
| 33 | }; |
| 34 | |
| 35 | user1 { |
| 36 | label = "omap3:green:user1"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 37 | gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>; /* LEDB */ |
Javier Martinez Canillas | 9ad1df2 | 2012-12-19 14:33:10 +0100 | [diff] [blame] | 38 | default-state = "off"; |
| 39 | }; |
| 40 | |
| 41 | user2 { |
| 42 | label = "omap3:red:user1"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 43 | gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; |
Javier Martinez Canillas | 9ad1df2 | 2012-12-19 14:33:10 +0100 | [diff] [blame] | 44 | default-state = "off"; |
| 45 | }; |
| 46 | }; |
| 47 | }; |
Javier Martinez Canillas | bc6b820 | 2013-05-10 21:40:59 +0200 | [diff] [blame] | 48 | |
Laurent Pinchart | 3d49538 | 2014-01-07 14:01:39 -0800 | [diff] [blame] | 49 | &omap3_pmx_core2 { |
| 50 | leds_pins: pinmux_leds_pins { |
| 51 | pinctrl-single,pins = < |
| 52 | OMAP3630_CORE2_IOPAD(0x25e0, PIN_OUTPUT | MUX_MODE4) /* etk_d2.gpio_16 */ |
| 53 | >; |
| 54 | }; |
Javier Martinez Canillas | 7813203 | 2013-06-20 16:42:32 +0200 | [diff] [blame] | 55 | }; |
| 56 | |
Javier Martinez Canillas | bc6b820 | 2013-05-10 21:40:59 +0200 | [diff] [blame] | 57 | &gpmc { |
| 58 | ranges = <0 0 0x00000000 0x20000000>; |
| 59 | |
| 60 | nand@0,0 { |
| 61 | linux,mtd-name= "micron,mt29c4g96maz"; |
| 62 | reg = <0 0 0>; |
| 63 | nand-bus-width = <16>; |
| 64 | ti,nand-ecc-opt = "bch8"; |
| 65 | |
| 66 | gpmc,sync-clk-ps = <0>; |
| 67 | gpmc,cs-on-ns = <0>; |
| 68 | gpmc,cs-rd-off-ns = <44>; |
| 69 | gpmc,cs-wr-off-ns = <44>; |
| 70 | gpmc,adv-on-ns = <6>; |
| 71 | gpmc,adv-rd-off-ns = <34>; |
| 72 | gpmc,adv-wr-off-ns = <44>; |
| 73 | gpmc,we-off-ns = <40>; |
| 74 | gpmc,oe-off-ns = <54>; |
| 75 | gpmc,access-ns = <64>; |
| 76 | gpmc,rd-cycle-ns = <82>; |
| 77 | gpmc,wr-cycle-ns = <82>; |
| 78 | gpmc,wr-access-ns = <40>; |
| 79 | gpmc,wr-data-mux-bus-ns = <0>; |
| 80 | |
| 81 | #address-cells = <1>; |
| 82 | #size-cells = <1>; |
| 83 | |
| 84 | partition@0 { |
| 85 | label = "SPL"; |
| 86 | reg = <0 0x100000>; |
| 87 | }; |
Lee Jones | fa304a8 | 2013-07-22 11:52:33 +0100 | [diff] [blame] | 88 | partition@80000 { |
Javier Martinez Canillas | bc6b820 | 2013-05-10 21:40:59 +0200 | [diff] [blame] | 89 | label = "U-Boot"; |
| 90 | reg = <0x100000 0x180000>; |
| 91 | }; |
Lee Jones | fa304a8 | 2013-07-22 11:52:33 +0100 | [diff] [blame] | 92 | partition@1c0000 { |
Javier Martinez Canillas | bc6b820 | 2013-05-10 21:40:59 +0200 | [diff] [blame] | 93 | label = "Environment"; |
| 94 | reg = <0x280000 0x100000>; |
| 95 | }; |
Lee Jones | fa304a8 | 2013-07-22 11:52:33 +0100 | [diff] [blame] | 96 | partition@280000 { |
Javier Martinez Canillas | bc6b820 | 2013-05-10 21:40:59 +0200 | [diff] [blame] | 97 | label = "Kernel"; |
| 98 | reg = <0x380000 0x300000>; |
| 99 | }; |
Lee Jones | fa304a8 | 2013-07-22 11:52:33 +0100 | [diff] [blame] | 100 | partition@780000 { |
Javier Martinez Canillas | bc6b820 | 2013-05-10 21:40:59 +0200 | [diff] [blame] | 101 | label = "Filesystem"; |
| 102 | reg = <0x680000 0x1f980000>; |
| 103 | }; |
| 104 | }; |
| 105 | }; |