Javier Martinez Canillas | cb5e191 | 2012-12-19 14:33:09 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for IGEPv2 board |
| 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 | cb5e191 | 2012-12-19 14:33:09 +0100 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | model = "IGEPv2"; |
| 16 | compatible = "isee,omap3-igep0020", "ti,omap3"; |
| 17 | |
| 18 | leds { |
Javier Martinez Canillas | bd52e2d | 2013-06-20 16:42:31 +0200 | [diff] [blame] | 19 | pinctrl-names = "default"; |
| 20 | pinctrl-0 = <&leds_pins>; |
Javier Martinez Canillas | cb5e191 | 2012-12-19 14:33:09 +0100 | [diff] [blame] | 21 | compatible = "gpio-leds"; |
Javier Martinez Canillas | bd52e2d | 2013-06-20 16:42:31 +0200 | [diff] [blame] | 22 | |
Javier Martinez Canillas | cb5e191 | 2012-12-19 14:33:09 +0100 | [diff] [blame] | 23 | boot { |
| 24 | label = "omap3:green:boot"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 25 | gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; |
Javier Martinez Canillas | cb5e191 | 2012-12-19 14:33:09 +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 = <&gpio1 27 GPIO_ACTIVE_HIGH>; |
Javier Martinez Canillas | cb5e191 | 2012-12-19 14:33:09 +0100 | [diff] [blame] | 32 | default-state = "off"; |
| 33 | }; |
| 34 | |
| 35 | user1 { |
| 36 | label = "omap3:red:user1"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 37 | gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; |
Javier Martinez Canillas | cb5e191 | 2012-12-19 14:33:09 +0100 | [diff] [blame] | 38 | default-state = "off"; |
| 39 | }; |
| 40 | |
| 41 | user2 { |
| 42 | label = "omap3:green:user1"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 43 | gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>; |
Javier Martinez Canillas | cb5e191 | 2012-12-19 14:33:09 +0100 | [diff] [blame] | 44 | }; |
| 45 | }; |
Javier Martinez Canillas | d72b441 | 2013-04-17 18:32:09 +0200 | [diff] [blame] | 46 | |
| 47 | vddvario: regulator-vddvario { |
| 48 | compatible = "regulator-fixed"; |
| 49 | regulator-name = "vddvario"; |
| 50 | regulator-always-on; |
| 51 | }; |
| 52 | |
| 53 | vdd33a: regulator-vdd33a { |
| 54 | compatible = "regulator-fixed"; |
| 55 | regulator-name = "vdd33a"; |
| 56 | regulator-always-on; |
| 57 | }; |
Javier Martinez Canillas | cb5e191 | 2012-12-19 14:33:09 +0100 | [diff] [blame] | 58 | }; |
| 59 | |
Javier Martinez Canillas | bd52e2d | 2013-06-20 16:42:31 +0200 | [diff] [blame] | 60 | &leds_pins { |
| 61 | pinctrl-single,pins = < |
| 62 | 0x5c4 (PIN_OUTPUT | MUX_MODE4) /* etk_d12.gpio_26 */ |
| 63 | 0x5c6 (PIN_OUTPUT | MUX_MODE4) /* etk_d13.gpio_27 */ |
| 64 | 0x5c8 (PIN_OUTPUT | MUX_MODE4) /* etk_d14.gpio_28 */ |
| 65 | >; |
| 66 | }; |
| 67 | |
Javier Martinez Canillas | cb5e191 | 2012-12-19 14:33:09 +0100 | [diff] [blame] | 68 | &i2c3 { |
| 69 | clock-frequency = <100000>; |
| 70 | |
| 71 | /* |
| 72 | * Display monitor features are burnt in the EEPROM |
| 73 | * as EDID data. |
| 74 | */ |
| 75 | eeprom@50 { |
| 76 | compatible = "ti,eeprom"; |
| 77 | reg = <0x50>; |
| 78 | }; |
| 79 | }; |
Javier Martinez Canillas | d72b441 | 2013-04-17 18:32:09 +0200 | [diff] [blame] | 80 | |
| 81 | &gpmc { |
Javier Martinez Canillas | 7f674b3 | 2013-05-10 21:31:10 +0200 | [diff] [blame] | 82 | ranges = <0 0 0x00000000 0x20000000>, |
| 83 | <5 0 0x2c000000 0x01000000>; |
| 84 | |
| 85 | nand@0,0 { |
| 86 | linux,mtd-name= "micron,mt29c4g96maz"; |
| 87 | reg = <0 0 0>; |
| 88 | nand-bus-width = <16>; |
| 89 | ti,nand-ecc-opt = "bch8"; |
| 90 | |
| 91 | gpmc,sync-clk-ps = <0>; |
| 92 | gpmc,cs-on-ns = <0>; |
| 93 | gpmc,cs-rd-off-ns = <44>; |
| 94 | gpmc,cs-wr-off-ns = <44>; |
| 95 | gpmc,adv-on-ns = <6>; |
| 96 | gpmc,adv-rd-off-ns = <34>; |
| 97 | gpmc,adv-wr-off-ns = <44>; |
| 98 | gpmc,we-off-ns = <40>; |
| 99 | gpmc,oe-off-ns = <54>; |
| 100 | gpmc,access-ns = <64>; |
| 101 | gpmc,rd-cycle-ns = <82>; |
| 102 | gpmc,wr-cycle-ns = <82>; |
| 103 | gpmc,wr-access-ns = <40>; |
| 104 | gpmc,wr-data-mux-bus-ns = <0>; |
| 105 | |
| 106 | #address-cells = <1>; |
| 107 | #size-cells = <1>; |
| 108 | |
| 109 | partition@0 { |
| 110 | label = "SPL"; |
| 111 | reg = <0 0x100000>; |
| 112 | }; |
| 113 | partition@0x80000 { |
| 114 | label = "U-Boot"; |
| 115 | reg = <0x100000 0x180000>; |
| 116 | }; |
| 117 | partition@0x1c0000 { |
| 118 | label = "Environment"; |
| 119 | reg = <0x280000 0x100000>; |
| 120 | }; |
| 121 | partition@0x280000 { |
| 122 | label = "Kernel"; |
| 123 | reg = <0x380000 0x300000>; |
| 124 | }; |
| 125 | partition@0x780000 { |
| 126 | label = "Filesystem"; |
| 127 | reg = <0x680000 0x1f980000>; |
| 128 | }; |
| 129 | }; |
| 130 | |
Javier Martinez Canillas | d72b441 | 2013-04-17 18:32:09 +0200 | [diff] [blame] | 131 | ethernet@5,0 { |
| 132 | pinctrl-names = "default"; |
| 133 | pinctrl-0 = <&smsc911x_pins>; |
| 134 | compatible = "smsc,lan9221", "smsc,lan9115"; |
| 135 | reg = <5 0 0xff>; |
| 136 | bank-width = <2>; |
| 137 | |
| 138 | gpmc,mux-add-data; |
| 139 | gpmc,cs-on-ns = <0>; |
| 140 | gpmc,cs-rd-off-ns = <186>; |
| 141 | gpmc,cs-wr-off-ns = <186>; |
| 142 | gpmc,adv-on-ns = <12>; |
| 143 | gpmc,adv-rd-off-ns = <48>; |
| 144 | gpmc,adv-wr-off-ns = <48>; |
| 145 | gpmc,oe-on-ns = <54>; |
| 146 | gpmc,oe-off-ns = <168>; |
| 147 | gpmc,we-on-ns = <54>; |
| 148 | gpmc,we-off-ns = <168>; |
| 149 | gpmc,rd-cycle-ns = <186>; |
| 150 | gpmc,wr-cycle-ns = <186>; |
| 151 | gpmc,access-ns = <114>; |
| 152 | gpmc,page-burst-access-ns = <6>; |
| 153 | gpmc,bus-turnaround-ns = <12>; |
| 154 | gpmc,cycle2cycle-delay-ns = <18>; |
| 155 | gpmc,wr-data-mux-bus-ns = <90>; |
| 156 | gpmc,wr-access-ns = <186>; |
| 157 | gpmc,cycle2cycle-samecsen; |
| 158 | gpmc,cycle2cycle-diffcsen; |
| 159 | |
| 160 | interrupt-parent = <&gpio6>; |
| 161 | interrupts = <16 8>; |
| 162 | vmmc-supply = <&vddvario>; |
| 163 | vmmc_aux-supply = <&vdd33a>; |
| 164 | reg-io-width = <4>; |
| 165 | |
| 166 | smsc,save-mac-address; |
| 167 | }; |
| 168 | }; |