Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 Marek Belisko <marek@goldelico.com> |
| 3 | * |
| 4 | * Based on omap3-beagle-xm.dts |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | /dts-v1/; |
| 11 | |
| 12 | #include "omap36xx.dtsi" |
| 13 | |
| 14 | / { |
| 15 | model = "OMAP3 GTA04"; |
Marek Belisko | ae41a30 | 2014-03-01 14:58:48 +0100 | [diff] [blame] | 16 | compatible = "ti,omap3-gta04", "ti,omap36xx", "ti,omap3"; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 17 | |
| 18 | cpus { |
| 19 | cpu@0 { |
| 20 | cpu0-supply = <&vcc>; |
| 21 | }; |
| 22 | }; |
| 23 | |
| 24 | memory { |
| 25 | device_type = "memory"; |
| 26 | reg = <0x80000000 0x20000000>; /* 512 MB */ |
| 27 | }; |
| 28 | |
Marek Belisko | 91b8457 | 2014-07-22 21:30:19 +0200 | [diff] [blame] | 29 | aliases { |
| 30 | display0 = &lcd; |
| 31 | }; |
| 32 | |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 33 | gpio-keys { |
| 34 | compatible = "gpio-keys"; |
| 35 | |
| 36 | aux-button { |
| 37 | label = "aux"; |
| 38 | linux,code = <169>; |
NeilBrown | d8bd673 | 2014-01-25 22:28:55 +0100 | [diff] [blame] | 39 | gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 40 | gpio-key,wakeup; |
| 41 | }; |
| 42 | }; |
NeilBrown | 6764f64 | 2014-03-01 14:58:52 +0100 | [diff] [blame] | 43 | |
| 44 | sound { |
| 45 | compatible = "ti,omap-twl4030"; |
| 46 | ti,model = "gta04"; |
| 47 | |
| 48 | ti,mcbsp = <&mcbsp2>; |
| 49 | ti,codec = <&twl_audio>; |
| 50 | }; |
Marek Belisko | c2e138b | 2014-05-08 22:16:51 +0200 | [diff] [blame] | 51 | |
| 52 | spi_lcd { |
| 53 | compatible = "spi-gpio"; |
| 54 | #address-cells = <0x1>; |
| 55 | #size-cells = <0x0>; |
| 56 | pinctrl-names = "default"; |
| 57 | pinctrl-0 = <&spi_gpio_pins>; |
| 58 | |
| 59 | gpio-sck = <&gpio1 12 0>; |
| 60 | gpio-miso = <&gpio1 18 0>; |
| 61 | gpio-mosi = <&gpio1 20 0>; |
| 62 | cs-gpios = <&gpio1 19 0>; |
| 63 | num-chipselects = <1>; |
| 64 | |
| 65 | /* lcd panel */ |
| 66 | lcd: td028ttec1@0 { |
| 67 | compatible = "toppoly,td028ttec1"; |
| 68 | reg = <0>; |
| 69 | spi-max-frequency = <100000>; |
| 70 | spi-cpol; |
| 71 | spi-cpha; |
| 72 | |
| 73 | label = "lcd"; |
| 74 | port { |
| 75 | lcd_in: endpoint { |
| 76 | remote-endpoint = <&dpi_out>; |
| 77 | }; |
| 78 | }; |
| 79 | }; |
| 80 | }; |
Marek Belisko | 1520a13 | 2014-07-22 21:30:18 +0200 | [diff] [blame] | 81 | |
| 82 | hsusb2_phy: hsusb2_phy { |
| 83 | compatible = "usb-nop-xceiv"; |
| 84 | reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; |
| 85 | }; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 86 | }; |
| 87 | |
| 88 | &omap3_pmx_core { |
Marek Belisko | 1520a13 | 2014-07-22 21:30:18 +0200 | [diff] [blame] | 89 | pinctrl-names = "default"; |
| 90 | pinctrl-0 = < |
| 91 | &hsusb2_pins |
| 92 | >; |
| 93 | |
| 94 | hsusb2_pins: pinmux_hsusb2_pins { |
| 95 | pinctrl-single,pins = < |
| 96 | OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi1_cs3.hsusb2_data2 */ |
| 97 | OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_clk.hsusb2_data7 */ |
| 98 | OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_simo.hsusb2_data4 */ |
| 99 | OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_somi.hsusb2_data5 */ |
| 100 | OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs0.hsusb2_data6 */ |
| 101 | OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */ |
| 102 | >; |
| 103 | }; |
| 104 | |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 105 | uart1_pins: pinmux_uart1_pins { |
| 106 | pinctrl-single,pins = < |
| 107 | 0x152 (PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */ |
| 108 | 0x14c (PIN_OUTPUT |MUX_MODE0) /* uart1_tx.uart1_tx */ |
| 109 | >; |
| 110 | }; |
| 111 | |
| 112 | uart2_pins: pinmux_uart2_pins { |
| 113 | pinctrl-single,pins = < |
| 114 | 0x14a (PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */ |
| 115 | 0x148 (PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */ |
| 116 | >; |
| 117 | }; |
| 118 | |
| 119 | uart3_pins: pinmux_uart3_pins { |
| 120 | pinctrl-single,pins = < |
| 121 | 0x16e (PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */ |
| 122 | 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */ |
| 123 | >; |
| 124 | }; |
| 125 | |
| 126 | mmc1_pins: pinmux_mmc1_pins { |
| 127 | pinctrl-single,pins = < |
| 128 | 0x114 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */ |
| 129 | 0x116 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */ |
| 130 | 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */ |
| 131 | 0x11a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */ |
| 132 | 0x11c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */ |
| 133 | 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ |
| 134 | >; |
| 135 | }; |
Marek Belisko | c2e138b | 2014-05-08 22:16:51 +0200 | [diff] [blame] | 136 | |
| 137 | dss_dpi_pins: pinmux_dss_dpi_pins { |
| 138 | pinctrl-single,pins = < |
| 139 | 0x0a4 (PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ |
| 140 | 0x0a6 (PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ |
| 141 | 0x0a8 (PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ |
| 142 | 0x0aa (PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ |
| 143 | 0x0ac (PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */ |
| 144 | 0x0ae (PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */ |
| 145 | 0x0b0 (PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */ |
| 146 | 0x0b2 (PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */ |
| 147 | 0x0b4 (PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */ |
| 148 | 0x0b6 (PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */ |
| 149 | 0x0b8 (PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ |
| 150 | 0x0ba (PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ |
| 151 | 0x0bc (PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ |
| 152 | 0x0be (PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ |
| 153 | 0x0c0 (PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ |
| 154 | 0x0c2 (PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ |
| 155 | 0x0c4 (PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ |
| 156 | 0x0c6 (PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ |
| 157 | 0x0c8 (PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ |
| 158 | 0x0ca (PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ |
| 159 | 0x0cc (PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ |
| 160 | 0x0ce (PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ |
| 161 | 0x0d0 (PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */ |
| 162 | 0x0d2 (PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */ |
| 163 | 0x0d4 (PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */ |
| 164 | 0x0d6 (PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */ |
| 165 | 0x0d8 (PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */ |
| 166 | 0x0da (PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */ |
| 167 | >; |
| 168 | }; |
Marek Belisko | 6c402f8 | 2014-07-22 21:30:17 +0200 | [diff] [blame] | 169 | }; |
Marek Belisko | c2e138b | 2014-05-08 22:16:51 +0200 | [diff] [blame] | 170 | |
Marek Belisko | 6c402f8 | 2014-07-22 21:30:17 +0200 | [diff] [blame] | 171 | &omap3_pmx_core2 { |
Marek Belisko | 1520a13 | 2014-07-22 21:30:18 +0200 | [diff] [blame] | 172 | pinctrl-names = "default"; |
| 173 | pinctrl-0 = < |
| 174 | &hsusb2_2_pins |
| 175 | >; |
| 176 | |
| 177 | hsusb2_2_pins: pinmux_hsusb2_2_pins { |
| 178 | pinctrl-single,pins = < |
| 179 | OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3) /* etk_d10.hsusb2_clk */ |
| 180 | OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3) /* etk_d11.hsusb2_stp */ |
| 181 | OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d12.hsusb2_dir */ |
| 182 | OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d13.hsusb2_nxt */ |
| 183 | OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d14.hsusb2_data0 */ |
| 184 | OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d15.hsusb2_data1 */ |
| 185 | >; |
| 186 | }; |
| 187 | |
Marek Belisko | c2e138b | 2014-05-08 22:16:51 +0200 | [diff] [blame] | 188 | spi_gpio_pins: spi_gpio_pinmux { |
Marek Belisko | 6c402f8 | 2014-07-22 21:30:17 +0200 | [diff] [blame] | 189 | pinctrl-single,pins = < |
| 190 | OMAP3630_CORE2_IOPAD(0x25d8, PIN_OUTPUT | MUX_MODE4) /* clk */ |
| 191 | OMAP3630_CORE2_IOPAD(0x25e6, PIN_OUTPUT | MUX_MODE4) /* cs */ |
| 192 | OMAP3630_CORE2_IOPAD(0x25e8, PIN_OUTPUT | MUX_MODE4) /* tx */ |
| 193 | OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT | MUX_MODE4) /* rx */ |
Marek Belisko | c2e138b | 2014-05-08 22:16:51 +0200 | [diff] [blame] | 194 | >; |
| 195 | }; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 196 | }; |
| 197 | |
| 198 | &i2c1 { |
| 199 | clock-frequency = <2600000>; |
| 200 | |
| 201 | twl: twl@48 { |
| 202 | reg = <0x48>; |
| 203 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 204 | interrupt-parent = <&intc>; |
| 205 | }; |
NeilBrown | 6764f64 | 2014-03-01 14:58:52 +0100 | [diff] [blame] | 206 | |
| 207 | twl_audio: audio { |
| 208 | compatible = "ti,twl4030-audio"; |
| 209 | codec { |
| 210 | }; |
| 211 | }; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 212 | }; |
| 213 | |
| 214 | #include "twl4030.dtsi" |
| 215 | #include "twl4030_omap3.dtsi" |
| 216 | |
| 217 | &i2c2 { |
| 218 | clock-frequency = <400000>; |
| 219 | |
| 220 | /* pressure sensor */ |
| 221 | bmp085@77 { |
| 222 | compatible = "bosch,bmp085"; |
| 223 | reg = <0x77>; |
Marek Belisko | d26794c | 2013-12-21 16:12:23 +0100 | [diff] [blame] | 224 | interrupt-parent = <&gpio4>; |
| 225 | interrupts = <17 IRQ_TYPE_EDGE_RISING>; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 226 | }; |
| 227 | |
NeilBrown | 24d0bb8 | 2014-03-01 14:58:54 +0100 | [diff] [blame] | 228 | /* accelerometer */ |
| 229 | bma180@41 { |
| 230 | compatible = "bosch,bma180"; |
| 231 | reg = <0x41>; |
| 232 | interrupt-parent = <&gpio3>; |
| 233 | interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; |
| 234 | }; |
| 235 | |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 236 | /* leds */ |
| 237 | tca6507@45 { |
| 238 | compatible = "ti,tca6507"; |
| 239 | #address-cells = <1>; |
| 240 | #size-cells = <0>; |
| 241 | reg = <0x45>; |
| 242 | |
Marek Belisko | e51c6be | 2014-07-22 21:30:16 +0200 | [diff] [blame] | 243 | gpio-controller; |
| 244 | #gpio-cells = <2>; |
| 245 | |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 246 | gta04_led0: red_aux@0 { |
| 247 | label = "gta04:red:aux"; |
| 248 | reg = <0x0>; |
| 249 | }; |
| 250 | |
| 251 | gta04_led1: green_aux@1 { |
| 252 | label = "gta04:green:aux"; |
| 253 | reg = <0x1>; |
| 254 | }; |
| 255 | |
| 256 | gta04_led3: red_power@3 { |
| 257 | label = "gta04:red:power"; |
| 258 | reg = <0x3>; |
| 259 | linux,default-trigger = "default-on"; |
| 260 | }; |
| 261 | |
| 262 | gta04_led4: green_power@4 { |
| 263 | label = "gta04:green:power"; |
| 264 | reg = <0x4>; |
| 265 | }; |
Marek Belisko | e51c6be | 2014-07-22 21:30:16 +0200 | [diff] [blame] | 266 | |
| 267 | wifi_reset: wifi_reset@6 { |
| 268 | reg = <0x6>; |
| 269 | compatible = "gpio"; |
| 270 | }; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 271 | }; |
NeilBrown | 32f2c39 | 2014-03-01 14:58:49 +0100 | [diff] [blame] | 272 | |
| 273 | /* compass aka magnetometer */ |
| 274 | hmc5843@1e { |
Marek Belisko | 9edc57a | 2014-07-22 21:59:08 +0200 | [diff] [blame] | 275 | compatible = "honeywell,hmc5883l"; |
NeilBrown | 32f2c39 | 2014-03-01 14:58:49 +0100 | [diff] [blame] | 276 | reg = <0x1e>; |
| 277 | }; |
Marek Belisko | 9cbc03b | 2014-03-01 14:58:50 +0100 | [diff] [blame] | 278 | |
| 279 | /* touchscreen */ |
| 280 | tsc2007@48 { |
| 281 | compatible = "ti,tsc2007"; |
| 282 | reg = <0x48>; |
| 283 | interrupt-parent = <&gpio6>; |
| 284 | interrupts = <0 IRQ_TYPE_EDGE_FALLING>; |
| 285 | gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; |
| 286 | ti,x-plate-ohms = <600>; |
| 287 | }; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 288 | }; |
| 289 | |
| 290 | &i2c3 { |
| 291 | clock-frequency = <100000>; |
| 292 | }; |
| 293 | |
| 294 | &usb_otg_hs { |
| 295 | interface-type = <0>; |
| 296 | usb-phy = <&usb2_phy>; |
Roger Quadros | d2afcf0 | 2013-10-07 16:28:13 +0300 | [diff] [blame] | 297 | phys = <&usb2_phy>; |
| 298 | phy-names = "usb2-phy"; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 299 | mode = <3>; |
| 300 | power = <50>; |
| 301 | }; |
| 302 | |
Marek Belisko | 1520a13 | 2014-07-22 21:30:18 +0200 | [diff] [blame] | 303 | &usbhshost { |
| 304 | port2-mode = "ehci-phy"; |
| 305 | }; |
| 306 | |
| 307 | &usbhsehci { |
| 308 | phys = <0 &hsusb2_phy>; |
| 309 | }; |
| 310 | |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 311 | &mmc1 { |
| 312 | pinctrl-names = "default"; |
| 313 | pinctrl-0 = <&mmc1_pins>; |
| 314 | vmmc-supply = <&vmmc1>; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 315 | bus-width = <4>; |
Marek Belisko | 2d6ac29 | 2014-01-25 22:28:57 +0100 | [diff] [blame] | 316 | ti,non-removable; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 317 | }; |
| 318 | |
| 319 | &mmc2 { |
NeilBrown | 5a13ba6 | 2014-03-01 14:58:53 +0100 | [diff] [blame] | 320 | vmmc-supply = <&vaux4>; |
| 321 | bus-width = <4>; |
| 322 | ti,non-removable; |
Marek Belisko | adfe147 | 2013-08-15 22:43:05 +0200 | [diff] [blame] | 323 | }; |
| 324 | |
| 325 | &mmc3 { |
| 326 | status = "disabled"; |
| 327 | }; |
| 328 | |
| 329 | &uart1 { |
| 330 | pinctrl-names = "default"; |
| 331 | pinctrl-0 = <&uart1_pins>; |
| 332 | }; |
| 333 | |
| 334 | &uart2 { |
| 335 | pinctrl-names = "default"; |
| 336 | pinctrl-0 = <&uart2_pins>; |
| 337 | }; |
| 338 | |
| 339 | &uart3 { |
| 340 | pinctrl-names = "default"; |
| 341 | pinctrl-0 = <&uart3_pins>; |
| 342 | }; |
| 343 | |
NeilBrown | 8bdc9e9 | 2014-03-01 14:58:51 +0100 | [diff] [blame] | 344 | &charger { |
| 345 | bb_uvolt = <3200000>; |
| 346 | bb_uamp = <150>; |
| 347 | }; |
NeilBrown | 5a13ba6 | 2014-03-01 14:58:53 +0100 | [diff] [blame] | 348 | |
Marek Belisko | 4318bad | 2014-07-22 21:30:20 +0200 | [diff] [blame] | 349 | /* spare */ |
| 350 | &vaux1 { |
| 351 | regulator-min-microvolt = <2500000>; |
| 352 | regulator-max-microvolt = <3000000>; |
| 353 | }; |
| 354 | |
| 355 | /* sensors */ |
| 356 | &vaux2 { |
| 357 | regulator-min-microvolt = <2800000>; |
| 358 | regulator-max-microvolt = <2800000>; |
| 359 | regulator-always-on; |
| 360 | }; |
| 361 | |
| 362 | /* camera */ |
| 363 | &vaux3 { |
| 364 | regulator-min-microvolt = <2500000>; |
| 365 | regulator-max-microvolt = <2500000>; |
| 366 | }; |
| 367 | |
| 368 | /* WLAN/BT */ |
NeilBrown | 5a13ba6 | 2014-03-01 14:58:53 +0100 | [diff] [blame] | 369 | &vaux4 { |
| 370 | regulator-min-microvolt = <2800000>; |
| 371 | regulator-max-microvolt = <3150000>; |
| 372 | }; |
Marek Belisko | c2e138b | 2014-05-08 22:16:51 +0200 | [diff] [blame] | 373 | |
Marek Belisko | 4318bad | 2014-07-22 21:30:20 +0200 | [diff] [blame] | 374 | /* GPS LNA */ |
| 375 | &vsim { |
| 376 | regulator-min-microvolt = <2800000>; |
| 377 | regulator-max-microvolt = <3150000>; |
| 378 | }; |
| 379 | |
Marek Belisko | c2e138b | 2014-05-08 22:16:51 +0200 | [diff] [blame] | 380 | /* Needed to power the DPI pins */ |
| 381 | &vpll2 { |
| 382 | regulator-always-on; |
| 383 | }; |
| 384 | |
| 385 | &dss { |
| 386 | pinctrl-names = "default"; |
| 387 | pinctrl-0 = < &dss_dpi_pins >; |
| 388 | |
| 389 | status = "okay"; |
| 390 | |
| 391 | port { |
| 392 | dpi_out: endpoint { |
| 393 | remote-endpoint = <&lcd_in>; |
| 394 | data-lines = <24>; |
| 395 | }; |
| 396 | }; |
| 397 | }; |
Marek Belisko | 2618a18 | 2014-07-22 21:30:14 +0200 | [diff] [blame] | 398 | |
| 399 | &gpmc { |
| 400 | ranges = <0 0 0x30000000 0x04>; /* CS0: NAND */ |
| 401 | |
| 402 | nand@0,0 { |
| 403 | reg = <0 0 0>; /* CS0, offset 0 */ |
| 404 | nand-bus-width = <16>; |
| 405 | ti,nand-ecc-opt = "bch8"; |
| 406 | |
| 407 | gpmc,sync-clk-ps = <0>; |
| 408 | gpmc,cs-on-ns = <0>; |
| 409 | gpmc,cs-rd-off-ns = <44>; |
| 410 | gpmc,cs-wr-off-ns = <44>; |
| 411 | gpmc,adv-on-ns = <6>; |
| 412 | gpmc,adv-rd-off-ns = <34>; |
| 413 | gpmc,adv-wr-off-ns = <44>; |
| 414 | gpmc,we-off-ns = <40>; |
| 415 | gpmc,oe-off-ns = <54>; |
| 416 | gpmc,access-ns = <64>; |
| 417 | gpmc,rd-cycle-ns = <82>; |
| 418 | gpmc,wr-cycle-ns = <82>; |
| 419 | gpmc,wr-access-ns = <40>; |
| 420 | gpmc,wr-data-mux-bus-ns = <0>; |
| 421 | gpmc,device-width = <2>; |
| 422 | |
| 423 | #address-cells = <1>; |
| 424 | #size-cells = <1>; |
| 425 | |
| 426 | x-loader@0 { |
| 427 | label = "X-Loader"; |
| 428 | reg = <0 0x80000>; |
| 429 | }; |
| 430 | |
| 431 | bootloaders@80000 { |
| 432 | label = "U-Boot"; |
| 433 | reg = <0x80000 0x1e0000>; |
| 434 | }; |
| 435 | |
| 436 | bootloaders_env@260000 { |
| 437 | label = "U-Boot Env"; |
| 438 | reg = <0x260000 0x20000>; |
| 439 | }; |
| 440 | |
| 441 | kernel@280000 { |
| 442 | label = "Kernel"; |
| 443 | reg = <0x280000 0x400000>; |
| 444 | }; |
| 445 | |
| 446 | filesystem@680000 { |
| 447 | label = "File System"; |
| 448 | reg = <0x680000 0xf980000>; |
| 449 | }; |
| 450 | }; |
| 451 | }; |