Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | /dts-v1/; |
| 9 | |
Florian Vaussard | 98ef7957 | 2013-05-31 14:32:55 +0200 | [diff] [blame] | 10 | #include "omap34xx.dtsi" |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 11 | |
| 12 | / { |
| 13 | model = "TI OMAP3430 SDP"; |
| 14 | compatible = "ti,omap3430-sdp", "ti,omap3"; |
| 15 | |
| 16 | memory { |
| 17 | device_type = "memory"; |
| 18 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
| 19 | }; |
| 20 | }; |
| 21 | |
| 22 | &i2c1 { |
| 23 | clock-frequency = <2600000>; |
| 24 | |
| 25 | twl: twl@48 { |
| 26 | reg = <0x48>; |
| 27 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 28 | }; |
| 29 | }; |
| 30 | |
Florian Vaussard | 98ef7957 | 2013-05-31 14:32:55 +0200 | [diff] [blame] | 31 | #include "twl4030.dtsi" |
Kevin Hilman | f968845 | 2013-05-31 14:09:34 -0700 | [diff] [blame] | 32 | #include "twl4030_omap3.dtsi" |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 33 | |
| 34 | &mmc1 { |
| 35 | vmmc-supply = <&vmmc1>; |
| 36 | vmmc_aux-supply = <&vsim>; |
Nishanth Menon | 25c40a8 | 2014-01-06 16:37:33 -0600 | [diff] [blame] | 37 | /* |
| 38 | * S6-3 must be in ON position for 8 bit mode to function |
| 39 | * Else, use 4 bit mode |
| 40 | */ |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 41 | bus-width = <8>; |
| 42 | }; |
| 43 | |
| 44 | &mmc2 { |
| 45 | status = "disabled"; |
| 46 | }; |
| 47 | |
| 48 | &mmc3 { |
| 49 | status = "disabled"; |
| 50 | }; |
| 51 | |
| 52 | &gpmc { |
Jon Hunter | 1fac4ff | 2013-04-07 20:17:08 -0500 | [diff] [blame] | 53 | ranges = <0 0 0x10000000 0x08000000>, |
| 54 | <1 0 0x28000000 0x08000000>, |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 55 | <2 0 0x20000000 0x10000000>; |
| 56 | |
Jon Hunter | 1fac4ff | 2013-04-07 20:17:08 -0500 | [diff] [blame] | 57 | nor@0,0 { |
| 58 | compatible = "cfi-flash"; |
| 59 | linux,mtd-name= "intel,pf48f6000m0y1be"; |
| 60 | #address-cells = <1>; |
| 61 | #size-cells = <1>; |
| 62 | reg = <0 0 0x08000000>; |
| 63 | bank-width = <2>; |
| 64 | |
| 65 | gpmc,mux-add-data = <2>; |
| 66 | gpmc,cs-on-ns = <0>; |
| 67 | gpmc,cs-rd-off-ns = <186>; |
| 68 | gpmc,cs-wr-off-ns = <186>; |
| 69 | gpmc,adv-on-ns = <12>; |
| 70 | gpmc,adv-rd-off-ns = <48>; |
| 71 | gpmc,adv-wr-off-ns = <48>; |
| 72 | gpmc,oe-on-ns = <54>; |
| 73 | gpmc,oe-off-ns = <168>; |
| 74 | gpmc,we-on-ns = <54>; |
| 75 | gpmc,we-off-ns = <168>; |
| 76 | gpmc,rd-cycle-ns = <186>; |
| 77 | gpmc,wr-cycle-ns = <186>; |
| 78 | gpmc,access-ns = <114>; |
| 79 | gpmc,page-burst-access-ns = <6>; |
| 80 | gpmc,bus-turnaround-ns = <12>; |
| 81 | gpmc,cycle2cycle-delay-ns = <18>; |
| 82 | gpmc,wr-data-mux-bus-ns = <90>; |
| 83 | gpmc,wr-access-ns = <186>; |
| 84 | gpmc,cycle2cycle-samecsen; |
| 85 | gpmc,cycle2cycle-diffcsen; |
| 86 | |
| 87 | partition@0 { |
| 88 | label = "bootloader-nor"; |
| 89 | reg = <0 0x40000>; |
| 90 | }; |
Lee Jones | ee8530b | 2013-07-22 11:52:35 +0100 | [diff] [blame] | 91 | partition@40000 { |
Jon Hunter | 1fac4ff | 2013-04-07 20:17:08 -0500 | [diff] [blame] | 92 | label = "params-nor"; |
| 93 | reg = <0x40000 0x40000>; |
| 94 | }; |
Lee Jones | ee8530b | 2013-07-22 11:52:35 +0100 | [diff] [blame] | 95 | partition@80000 { |
Jon Hunter | 1fac4ff | 2013-04-07 20:17:08 -0500 | [diff] [blame] | 96 | label = "kernel-nor"; |
| 97 | reg = <0x80000 0x200000>; |
| 98 | }; |
Lee Jones | ee8530b | 2013-07-22 11:52:35 +0100 | [diff] [blame] | 99 | partition@280000 { |
Jon Hunter | 1fac4ff | 2013-04-07 20:17:08 -0500 | [diff] [blame] | 100 | label = "filesystem-nor"; |
| 101 | reg = <0x240000 0x7d80000>; |
| 102 | }; |
| 103 | }; |
| 104 | |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 105 | nand@1,0 { |
| 106 | linux,mtd-name= "micron,mt29f1g08abb"; |
| 107 | #address-cells = <1>; |
| 108 | #size-cells = <1>; |
| 109 | reg = <1 0 0x08000000>; |
Pekon Gupta | c06c527 | 2014-02-05 18:58:32 +0530 | [diff] [blame] | 110 | ti,nand-ecc-opt = "ham1"; |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 111 | nand-bus-width = <8>; |
Jon Hunter | a6f3e58 | 2013-04-07 20:17:06 -0500 | [diff] [blame] | 112 | gpmc,cs-on-ns = <0>; |
| 113 | gpmc,cs-rd-off-ns = <36>; |
| 114 | gpmc,cs-wr-off-ns = <36>; |
| 115 | gpmc,adv-on-ns = <6>; |
| 116 | gpmc,adv-rd-off-ns = <24>; |
| 117 | gpmc,adv-wr-off-ns = <36>; |
| 118 | gpmc,oe-on-ns = <6>; |
| 119 | gpmc,oe-off-ns = <48>; |
| 120 | gpmc,we-on-ns = <6>; |
| 121 | gpmc,we-off-ns = <30>; |
| 122 | gpmc,rd-cycle-ns = <72>; |
| 123 | gpmc,wr-cycle-ns = <72>; |
| 124 | gpmc,access-ns = <54>; |
| 125 | gpmc,wr-access-ns = <30>; |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 126 | |
| 127 | partition@0 { |
| 128 | label = "xloader-nand"; |
| 129 | reg = <0 0x80000>; |
| 130 | }; |
Lee Jones | ee8530b | 2013-07-22 11:52:35 +0100 | [diff] [blame] | 131 | partition@80000 { |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 132 | label = "bootloader-nand"; |
| 133 | reg = <0x80000 0x140000>; |
| 134 | }; |
Lee Jones | ee8530b | 2013-07-22 11:52:35 +0100 | [diff] [blame] | 135 | partition@1c0000 { |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 136 | label = "params-nand"; |
| 137 | reg = <0x1c0000 0xc0000>; |
| 138 | }; |
Lee Jones | ee8530b | 2013-07-22 11:52:35 +0100 | [diff] [blame] | 139 | partition@280000 { |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 140 | label = "kernel-nand"; |
| 141 | reg = <0x280000 0x500000>; |
| 142 | }; |
Lee Jones | ee8530b | 2013-07-22 11:52:35 +0100 | [diff] [blame] | 143 | partition@780000 { |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 144 | label = "filesystem-nand"; |
| 145 | reg = <0x780000 0x7880000>; |
| 146 | }; |
| 147 | }; |
| 148 | |
| 149 | onenand@2,0 { |
| 150 | linux,mtd-name= "samsung,kfm2g16q2m-deb8"; |
| 151 | #address-cells = <1>; |
| 152 | #size-cells = <1>; |
| 153 | reg = <2 0 0x10000000>; |
| 154 | |
| 155 | gpmc,device-width = <2>; |
| 156 | gpmc,mux-add-data = <2>; |
Jon Hunter | a6f3e58 | 2013-04-07 20:17:06 -0500 | [diff] [blame] | 157 | gpmc,cs-on-ns = <0>; |
| 158 | gpmc,cs-rd-off-ns = <84>; |
| 159 | gpmc,cs-wr-off-ns = <72>; |
| 160 | gpmc,adv-on-ns = <0>; |
| 161 | gpmc,adv-rd-off-ns = <18>; |
| 162 | gpmc,adv-wr-off-ns = <18>; |
| 163 | gpmc,oe-on-ns = <30>; |
| 164 | gpmc,oe-off-ns = <84>; |
| 165 | gpmc,we-on-ns = <0>; |
| 166 | gpmc,we-off-ns = <42>; |
| 167 | gpmc,rd-cycle-ns = <108>; |
| 168 | gpmc,wr-cycle-ns = <96>; |
| 169 | gpmc,access-ns = <78>; |
| 170 | gpmc,wr-data-mux-bus-ns = <30>; |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 171 | |
| 172 | partition@0 { |
| 173 | label = "xloader-onenand"; |
| 174 | reg = <0 0x80000>; |
| 175 | }; |
Lee Jones | ee8530b | 2013-07-22 11:52:35 +0100 | [diff] [blame] | 176 | partition@80000 { |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 177 | label = "bootloader-onenand"; |
| 178 | reg = <0x80000 0x40000>; |
| 179 | }; |
Lee Jones | ee8530b | 2013-07-22 11:52:35 +0100 | [diff] [blame] | 180 | partition@c0000 { |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 181 | label = "params-onenand"; |
| 182 | reg = <0xc0000 0x20000>; |
| 183 | }; |
Lee Jones | ee8530b | 2013-07-22 11:52:35 +0100 | [diff] [blame] | 184 | partition@e0000 { |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 185 | label = "kernel-onenand"; |
| 186 | reg = <0xe0000 0x200000>; |
| 187 | }; |
Lee Jones | ee8530b | 2013-07-22 11:52:35 +0100 | [diff] [blame] | 188 | partition@2e0000 { |
Jon Hunter | 678fac4 | 2013-01-11 16:39:22 +0000 | [diff] [blame] | 189 | label = "filesystem-onenand"; |
| 190 | reg = <0x2e0000 0xfd20000>; |
| 191 | }; |
| 192 | }; |
| 193 | }; |