Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 Pavel Machek <pavel@ucw.cz> |
Aaro Koskinen | c3580bc | 2014-02-09 14:12:36 +0200 | [diff] [blame] | 3 | * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi> |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 (or later) as |
| 7 | * published by the Free Software Foundation. |
| 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
| 11 | |
Tony Lindgren | f2e2c9d | 2013-12-06 14:20:17 -0800 | [diff] [blame] | 12 | #include "omap34xx-hs.dtsi" |
Sebastian Reichel | 3fdb771 | 2014-05-06 15:14:28 +0200 | [diff] [blame] | 13 | #include <dt-bindings/input/input.h> |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Nokia N900"; |
Aaro Koskinen | c3580bc | 2014-02-09 14:12:36 +0200 | [diff] [blame] | 17 | compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 18 | |
| 19 | cpus { |
| 20 | cpu@0 { |
| 21 | cpu0-supply = <&vcc>; |
| 22 | }; |
| 23 | }; |
| 24 | |
Tony Lindgren | c1be203 | 2014-05-05 17:27:38 -0700 | [diff] [blame] | 25 | leds { |
| 26 | compatible = "gpio-leds"; |
| 27 | heartbeat { |
| 28 | label = "debug::sleep"; |
| 29 | gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>; /* gpio162 */ |
| 30 | linux,default-trigger = "default-on"; |
| 31 | pinctrl-names = "default"; |
| 32 | pinctrl-0 = <&debug_leds>; |
| 33 | }; |
| 34 | }; |
| 35 | |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 36 | memory { |
| 37 | device_type = "memory"; |
| 38 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
| 39 | }; |
| 40 | |
Sebastian Reichel | 3931c839 | 2013-10-23 00:49:34 +0200 | [diff] [blame] | 41 | gpio_keys { |
| 42 | compatible = "gpio-keys"; |
| 43 | |
| 44 | camera_lens_cover { |
| 45 | label = "Camera Lens Cover"; |
| 46 | gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; /* 110 */ |
| 47 | linux,input-type = <5>; /* EV_SW */ |
| 48 | linux,code = <0x09>; /* SW_CAMERA_LENS_COVER */ |
| 49 | gpio-key,wakeup; |
| 50 | }; |
| 51 | |
| 52 | camera_focus { |
| 53 | label = "Camera Focus"; |
| 54 | gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; /* 68 */ |
| 55 | linux,code = <0x210>; /* KEY_CAMERA_FOCUS */ |
| 56 | gpio-key,wakeup; |
| 57 | }; |
| 58 | |
| 59 | camera_capture { |
| 60 | label = "Camera Capture"; |
| 61 | gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; /* 69 */ |
| 62 | linux,code = <0xd4>; /* KEY_CAMERA */ |
| 63 | gpio-key,wakeup; |
| 64 | }; |
| 65 | |
| 66 | lock_button { |
| 67 | label = "Lock Button"; |
| 68 | gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* 113 */ |
| 69 | linux,code = <0x98>; /* KEY_SCREENLOCK */ |
| 70 | gpio-key,wakeup; |
| 71 | }; |
| 72 | |
| 73 | keypad_slide { |
| 74 | label = "Keypad Slide"; |
| 75 | gpios = <&gpio3 7 GPIO_ACTIVE_LOW>; /* 71 */ |
| 76 | linux,input-type = <5>; /* EV_SW */ |
| 77 | linux,code = <0x0a>; /* SW_KEYPAD_SLIDE */ |
| 78 | gpio-key,wakeup; |
| 79 | }; |
| 80 | |
| 81 | proximity_sensor { |
| 82 | label = "Proximity Sensor"; |
| 83 | gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>; /* 89 */ |
| 84 | linux,input-type = <5>; /* EV_SW */ |
| 85 | linux,code = <0x0b>; /* SW_FRONT_PROXIMITY */ |
| 86 | }; |
| 87 | }; |
| 88 | |
Sebastian Reichel | e17337a | 2014-01-11 22:17:02 +0100 | [diff] [blame] | 89 | isp1704: isp1704 { |
| 90 | compatible = "nxp,isp1704"; |
| 91 | nxp,enable-gpio = <&gpio3 3 GPIO_ACTIVE_HIGH>; |
| 92 | usb-phy = <&usb2_phy>; |
| 93 | }; |
Tomi Valkeinen | 1133420 | 2013-12-17 09:33:33 +0200 | [diff] [blame] | 94 | |
| 95 | tv: connector { |
Tomi Valkeinen | 32797b3 | 2014-09-02 10:17:20 +0300 | [diff] [blame] | 96 | compatible = "composite-video-connector"; |
Tomi Valkeinen | 1133420 | 2013-12-17 09:33:33 +0200 | [diff] [blame] | 97 | label = "tv"; |
| 98 | |
| 99 | port { |
| 100 | tv_connector_in: endpoint { |
| 101 | remote-endpoint = <&venc_out>; |
| 102 | }; |
| 103 | }; |
| 104 | }; |
Sebastian Reichel | f7d0f2a | 2014-04-28 16:07:27 +0200 | [diff] [blame] | 105 | |
| 106 | sound: n900-audio { |
| 107 | compatible = "nokia,n900-audio"; |
| 108 | |
| 109 | nokia,cpu-dai = <&mcbsp2>; |
| 110 | nokia,audio-codec = <&tlv320aic3x>, <&tlv320aic3x_aux>; |
| 111 | nokia,headphone-amplifier = <&tpa6130a2>; |
| 112 | |
| 113 | tvout-selection-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; /* 40 */ |
| 114 | jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */ |
| 115 | eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */ |
| 116 | speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>; |
| 117 | }; |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 118 | }; |
| 119 | |
Sebastian Reichel | ac888a8 | 2013-10-23 00:49:30 +0200 | [diff] [blame] | 120 | &omap3_pmx_core { |
| 121 | pinctrl-names = "default"; |
| 122 | |
Sebastian Reichel | 7a89eec | 2013-10-23 00:49:32 +0200 | [diff] [blame] | 123 | uart2_pins: pinmux_uart2_pins { |
| 124 | pinctrl-single,pins = < |
| 125 | 0x14a (PIN_INPUT | MUX_MODE0) /* uart2_rx */ |
| 126 | 0x148 (PIN_OUTPUT | MUX_MODE0) /* uart2_tx */ |
| 127 | >; |
| 128 | }; |
| 129 | |
| 130 | uart3_pins: pinmux_uart3_pins { |
| 131 | pinctrl-single,pins = < |
| 132 | 0x16e (PIN_INPUT | MUX_MODE0) /* uart3_rx */ |
| 133 | 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx */ |
| 134 | >; |
| 135 | }; |
| 136 | |
Tony Lindgren | 271d4c6 | 2014-09-18 09:03:36 -0700 | [diff] [blame] | 137 | ethernet_pins: pinmux_ethernet_pins { |
| 138 | pinctrl-single,pins = < |
| 139 | OMAP3_CORE1_IOPAD(0x20b4, PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpmc_ncs3.gpio_54 */ |
| 140 | OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE4) /* dss_data16.gpio_86 */ |
| 141 | OMAP3_CORE1_IOPAD(0x219c, PIN_OUTPUT | MUX_MODE4) /* uart3_rts_sd.gpio_164 */ |
| 142 | >; |
| 143 | }; |
| 144 | |
Tony Lindgren | 9a89495 | 2014-10-29 17:16:47 -0700 | [diff] [blame] | 145 | gpmc_pins: pinmux_gpmc_pins { |
| 146 | pinctrl-single,pins = < |
| 147 | |
| 148 | /* address lines */ |
| 149 | OMAP3_CORE1_IOPAD(0x207a, PIN_OUTPUT | MUX_MODE0) /* gpmc_a1.gpmc_a1 */ |
| 150 | OMAP3_CORE1_IOPAD(0x207c, PIN_OUTPUT | MUX_MODE0) /* gpmc_a2.gpmc_a2 */ |
| 151 | OMAP3_CORE1_IOPAD(0x207e, PIN_OUTPUT | MUX_MODE0) /* gpmc_a3.gpmc_a3 */ |
| 152 | |
| 153 | /* data lines, gpmc_d0..d7 not muxable according to TRM */ |
| 154 | OMAP3_CORE1_IOPAD(0x209e, PIN_INPUT | MUX_MODE0) /* gpmc_d8.gpmc_d8 */ |
| 155 | OMAP3_CORE1_IOPAD(0x20a0, PIN_INPUT | MUX_MODE0) /* gpmc_d9.gpmc_d9 */ |
| 156 | OMAP3_CORE1_IOPAD(0x20a2, PIN_INPUT | MUX_MODE0) /* gpmc_d10.gpmc_d10 */ |
| 157 | OMAP3_CORE1_IOPAD(0x20a4, PIN_INPUT | MUX_MODE0) /* gpmc_d11.gpmc_d11 */ |
| 158 | OMAP3_CORE1_IOPAD(0x20a6, PIN_INPUT | MUX_MODE0) /* gpmc_d12.gpmc_d12 */ |
| 159 | OMAP3_CORE1_IOPAD(0x20a8, PIN_INPUT | MUX_MODE0) /* gpmc_d13.gpmc_d13 */ |
| 160 | OMAP3_CORE1_IOPAD(0x20aa, PIN_INPUT | MUX_MODE0) /* gpmc_d14.gpmc_d14 */ |
| 161 | OMAP3_CORE1_IOPAD(0x20ac, PIN_INPUT | MUX_MODE0) /* gpmc_d15.gpmc_d15 */ |
| 162 | |
| 163 | /* |
| 164 | * gpmc_ncs0, gpmc_nadv_ale, gpmc_noe, gpmc_nwe, gpmc_wait0 not muxable |
| 165 | * according to TRM. OneNAND seems to require PIN_INPUT on clock. |
| 166 | */ |
| 167 | OMAP3_CORE1_IOPAD(0x20b0, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs1.gpmc_ncs1 */ |
| 168 | OMAP3_CORE1_IOPAD(0x20be, PIN_INPUT | MUX_MODE0) /* gpmc_clk.gpmc_clk */ |
| 169 | >; |
| 170 | }; |
| 171 | |
Sebastian Reichel | ac888a8 | 2013-10-23 00:49:30 +0200 | [diff] [blame] | 172 | i2c1_pins: pinmux_i2c1_pins { |
| 173 | pinctrl-single,pins = < |
Tony Lindgren | a4ff93c | 2014-09-18 09:03:36 -0700 | [diff] [blame] | 174 | 0x18a (PIN_INPUT | MUX_MODE0) /* i2c1_scl */ |
| 175 | 0x18c (PIN_INPUT | MUX_MODE0) /* i2c1_sda */ |
Sebastian Reichel | ac888a8 | 2013-10-23 00:49:30 +0200 | [diff] [blame] | 176 | >; |
| 177 | }; |
| 178 | |
| 179 | i2c2_pins: pinmux_i2c2_pins { |
| 180 | pinctrl-single,pins = < |
Tony Lindgren | a4ff93c | 2014-09-18 09:03:36 -0700 | [diff] [blame] | 181 | 0x18e (PIN_INPUT | MUX_MODE0) /* i2c2_scl */ |
| 182 | 0x190 (PIN_INPUT | MUX_MODE0) /* i2c2_sda */ |
Sebastian Reichel | ac888a8 | 2013-10-23 00:49:30 +0200 | [diff] [blame] | 183 | >; |
| 184 | }; |
| 185 | |
| 186 | i2c3_pins: pinmux_i2c3_pins { |
| 187 | pinctrl-single,pins = < |
Tony Lindgren | a4ff93c | 2014-09-18 09:03:36 -0700 | [diff] [blame] | 188 | 0x192 (PIN_INPUT | MUX_MODE0) /* i2c3_scl */ |
| 189 | 0x194 (PIN_INPUT | MUX_MODE0) /* i2c3_sda */ |
Sebastian Reichel | ac888a8 | 2013-10-23 00:49:30 +0200 | [diff] [blame] | 190 | >; |
| 191 | }; |
Sebastian Reichel | f1751cf | 2013-10-23 00:49:33 +0200 | [diff] [blame] | 192 | |
Tony Lindgren | c1be203 | 2014-05-05 17:27:38 -0700 | [diff] [blame] | 193 | debug_leds: pinmux_debug_led_pins { |
| 194 | pinctrl-single,pins = < |
| 195 | OMAP3_CORE1_IOPAD(0x2198, PIN_OUTPUT | MUX_MODE4) /* mcbsp1_clkx.gpio_162 */ |
| 196 | >; |
| 197 | }; |
| 198 | |
Sebastian Reichel | c1ad220 | 2014-03-13 22:59:55 +0100 | [diff] [blame] | 199 | mcspi4_pins: pinmux_mcspi4_pins { |
| 200 | pinctrl-single,pins = < |
| 201 | 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_clk */ |
| 202 | 0x162 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_somi */ |
| 203 | 0x160 (PIN_OUTPUT | MUX_MODE1) /* mcspi4_simo */ |
| 204 | 0x166 (PIN_OUTPUT | MUX_MODE1) /* mcspi4_cs0 */ |
| 205 | >; |
| 206 | }; |
| 207 | |
Sebastian Reichel | f1751cf | 2013-10-23 00:49:33 +0200 | [diff] [blame] | 208 | mmc1_pins: pinmux_mmc1_pins { |
| 209 | pinctrl-single,pins = < |
| 210 | 0x114 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk */ |
| 211 | 0x116 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd */ |
| 212 | 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0 */ |
| 213 | 0x11a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1 */ |
| 214 | 0x11c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2 */ |
| 215 | 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3 */ |
| 216 | >; |
| 217 | }; |
Sebastian Reichel | d1e6f51 | 2013-10-23 00:49:40 +0200 | [diff] [blame] | 218 | |
Tony Lindgren | edd5eb4 | 2013-11-25 14:23:45 -0800 | [diff] [blame] | 219 | mmc2_pins: pinmux_mmc2_pins { |
| 220 | pinctrl-single,pins = < |
| 221 | 0x128 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk */ |
| 222 | 0x12a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd */ |
| 223 | 0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0 */ |
| 224 | 0x12e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1 */ |
| 225 | 0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2 */ |
| 226 | 0x132 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3 */ |
| 227 | 0x134 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat4 */ |
| 228 | 0x136 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat5 */ |
| 229 | 0x138 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat6 */ |
| 230 | 0x13a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat7 */ |
| 231 | >; |
| 232 | }; |
| 233 | |
Tomi Valkeinen | 1133420 | 2013-12-17 09:33:33 +0200 | [diff] [blame] | 234 | acx565akm_pins: pinmux_acx565akm_pins { |
Sebastian Reichel | d1e6f51 | 2013-10-23 00:49:40 +0200 | [diff] [blame] | 235 | pinctrl-single,pins = < |
| 236 | 0x0d4 (PIN_OUTPUT | MUX_MODE4) /* RX51_LCD_RESET_GPIO */ |
| 237 | >; |
| 238 | }; |
Tomi Valkeinen | 1133420 | 2013-12-17 09:33:33 +0200 | [diff] [blame] | 239 | |
| 240 | dss_sdi_pins: pinmux_dss_sdi_pins { |
| 241 | pinctrl-single,pins = < |
| 242 | 0x0c0 (PIN_OUTPUT | MUX_MODE1) /* dss_data10.sdi_dat1n */ |
| 243 | 0x0c2 (PIN_OUTPUT | MUX_MODE1) /* dss_data11.sdi_dat1p */ |
| 244 | 0x0c4 (PIN_OUTPUT | MUX_MODE1) /* dss_data12.sdi_dat2n */ |
| 245 | 0x0c6 (PIN_OUTPUT | MUX_MODE1) /* dss_data13.sdi_dat2p */ |
| 246 | |
| 247 | 0x0d8 (PIN_OUTPUT | MUX_MODE1) /* dss_data22.sdi_clkp */ |
| 248 | 0x0da (PIN_OUTPUT | MUX_MODE1) /* dss_data23.sdi_clkn */ |
| 249 | >; |
| 250 | }; |
Sebastian Reichel | c1ad220 | 2014-03-13 22:59:55 +0100 | [diff] [blame] | 251 | |
| 252 | wl1251_pins: pinmux_wl1251 { |
| 253 | pinctrl-single,pins = < |
| 254 | 0x0ce (PIN_OUTPUT | MUX_MODE4) /* gpio 87 => wl1251 enable */ |
| 255 | 0x05a (PIN_INPUT | MUX_MODE4) /* gpio 42 => wl1251 irq */ |
| 256 | >; |
| 257 | }; |
Sebastian Reichel | 782e25a | 2014-05-10 18:37:49 +0200 | [diff] [blame] | 258 | |
| 259 | ssi_pins: pinmux_ssi { |
| 260 | pinctrl-single,pins = < |
| 261 | 0x150 (PIN_INPUT_PULLUP | MUX_MODE1) /* ssi1_rdy_tx */ |
| 262 | 0x14e (PIN_OUTPUT | MUX_MODE1) /* ssi1_flag_tx */ |
| 263 | 0x152 (PIN_INPUT | WAKEUP_EN | MUX_MODE4) /* ssi1_wake_tx (cawake) */ |
| 264 | 0x14c (PIN_OUTPUT | MUX_MODE1) /* ssi1_dat_tx */ |
| 265 | 0x154 (PIN_INPUT | MUX_MODE1) /* ssi1_dat_rx */ |
| 266 | 0x156 (PIN_INPUT | MUX_MODE1) /* ssi1_flag_rx */ |
| 267 | 0x158 (PIN_OUTPUT | MUX_MODE1) /* ssi1_rdy_rx */ |
| 268 | 0x15a (PIN_OUTPUT | MUX_MODE1) /* ssi1_wake */ |
| 269 | >; |
| 270 | }; |
Sebastian Reichel | 76ad4ac | 2014-05-10 18:37:50 +0200 | [diff] [blame] | 271 | |
| 272 | modem_pins: pinmux_modem { |
| 273 | pinctrl-single,pins = < |
| 274 | 0x0ac (PIN_OUTPUT | MUX_MODE4) /* gpio 70 => cmt_apeslpx */ |
| 275 | 0x0b0 (PIN_INPUT | WAKEUP_EN | MUX_MODE4) /* gpio 72 => ape_rst_rq */ |
| 276 | 0x0b2 (PIN_OUTPUT | MUX_MODE4) /* gpio 73 => cmt_rst_rq */ |
| 277 | 0x0b4 (PIN_OUTPUT | MUX_MODE4) /* gpio 74 => cmt_en */ |
| 278 | 0x0b6 (PIN_OUTPUT | MUX_MODE4) /* gpio 75 => cmt_rst */ |
| 279 | 0x15e (PIN_OUTPUT | MUX_MODE4) /* gpio 157 => cmt_bsi */ |
| 280 | >; |
| 281 | }; |
Sebastian Reichel | ac888a8 | 2013-10-23 00:49:30 +0200 | [diff] [blame] | 282 | }; |
| 283 | |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 284 | &i2c1 { |
Sebastian Reichel | ac888a8 | 2013-10-23 00:49:30 +0200 | [diff] [blame] | 285 | pinctrl-names = "default"; |
| 286 | pinctrl-0 = <&i2c1_pins>; |
| 287 | |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 288 | clock-frequency = <2200000>; |
| 289 | |
| 290 | twl: twl@48 { |
| 291 | reg = <0x48>; |
| 292 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 293 | interrupt-parent = <&intc>; |
| 294 | }; |
| 295 | }; |
| 296 | |
| 297 | #include "twl4030.dtsi" |
Sebastian Reichel | ac888a8 | 2013-10-23 00:49:30 +0200 | [diff] [blame] | 298 | #include "twl4030_omap3.dtsi" |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 299 | |
Sebastian Reichel | 9cdbbad | 2013-10-23 00:49:38 +0200 | [diff] [blame] | 300 | &vaux1 { |
| 301 | regulator-name = "V28"; |
| 302 | regulator-min-microvolt = <2800000>; |
| 303 | regulator-max-microvolt = <2800000>; |
| 304 | regulator-always-on; /* due battery cover sensor */ |
| 305 | }; |
| 306 | |
| 307 | &vaux2 { |
| 308 | regulator-name = "VCSI"; |
| 309 | regulator-min-microvolt = <1800000>; |
| 310 | regulator-max-microvolt = <1800000>; |
| 311 | }; |
| 312 | |
| 313 | &vaux3 { |
| 314 | regulator-name = "VMMC2_30"; |
| 315 | regulator-min-microvolt = <2800000>; |
| 316 | regulator-max-microvolt = <3000000>; |
| 317 | }; |
| 318 | |
| 319 | &vaux4 { |
| 320 | regulator-name = "VCAM_ANA_28"; |
| 321 | regulator-min-microvolt = <2800000>; |
| 322 | regulator-max-microvolt = <2800000>; |
| 323 | }; |
| 324 | |
| 325 | &vmmc1 { |
| 326 | regulator-name = "VMMC1"; |
| 327 | regulator-min-microvolt = <1850000>; |
| 328 | regulator-max-microvolt = <3150000>; |
| 329 | }; |
| 330 | |
| 331 | &vmmc2 { |
| 332 | regulator-name = "V28_A"; |
| 333 | regulator-min-microvolt = <2800000>; |
| 334 | regulator-max-microvolt = <3000000>; |
| 335 | regulator-always-on; /* due VIO leak to AIC34 VDDs */ |
| 336 | }; |
| 337 | |
| 338 | &vpll1 { |
| 339 | regulator-name = "VPLL"; |
| 340 | regulator-min-microvolt = <1800000>; |
| 341 | regulator-max-microvolt = <1800000>; |
| 342 | regulator-always-on; |
| 343 | }; |
| 344 | |
| 345 | &vpll2 { |
| 346 | regulator-name = "VSDI_CSI"; |
| 347 | regulator-min-microvolt = <1800000>; |
| 348 | regulator-max-microvolt = <1800000>; |
| 349 | regulator-always-on; |
| 350 | }; |
| 351 | |
| 352 | &vsim { |
| 353 | regulator-name = "VMMC2_IO_18"; |
| 354 | regulator-min-microvolt = <1800000>; |
| 355 | regulator-max-microvolt = <1800000>; |
| 356 | }; |
| 357 | |
| 358 | &vio { |
| 359 | regulator-name = "VIO"; |
| 360 | regulator-min-microvolt = <1800000>; |
| 361 | regulator-max-microvolt = <1800000>; |
| 362 | |
| 363 | }; |
| 364 | |
| 365 | &vintana1 { |
| 366 | regulator-name = "VINTANA1"; |
| 367 | /* fixed to 1500000 */ |
| 368 | regulator-always-on; |
| 369 | }; |
| 370 | |
| 371 | &vintana2 { |
| 372 | regulator-name = "VINTANA2"; |
| 373 | regulator-min-microvolt = <2750000>; |
| 374 | regulator-max-microvolt = <2750000>; |
| 375 | regulator-always-on; |
| 376 | }; |
| 377 | |
| 378 | &vintdig { |
| 379 | regulator-name = "VINTDIG"; |
| 380 | /* fixed to 1500000 */ |
| 381 | regulator-always-on; |
| 382 | }; |
| 383 | |
Sebastian Reichel | 06ba7a6 | 2013-10-23 00:49:35 +0200 | [diff] [blame] | 384 | &twl { |
| 385 | twl_audio: audio { |
| 386 | compatible = "ti,twl4030-audio"; |
| 387 | ti,enable-vibra = <1>; |
| 388 | }; |
Tony Lindgren | 9188883 | 2014-06-16 01:10:22 -0700 | [diff] [blame] | 389 | |
| 390 | twl_power: power { |
Tony Lindgren | daebabd | 2014-08-19 08:24:05 -0700 | [diff] [blame] | 391 | compatible = "ti,twl4030-power-n900", "ti,twl4030-power-idle-osc-off"; |
Tony Lindgren | 9188883 | 2014-06-16 01:10:22 -0700 | [diff] [blame] | 392 | ti,use_poweroff; |
| 393 | }; |
Sebastian Reichel | 06ba7a6 | 2013-10-23 00:49:35 +0200 | [diff] [blame] | 394 | }; |
| 395 | |
Sebastian Reichel | 85c215f | 2014-01-11 22:16:59 +0100 | [diff] [blame] | 396 | &twl_keypad { |
Sebastian Reichel | 3fdb771 | 2014-05-06 15:14:28 +0200 | [diff] [blame] | 397 | linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_Q) |
| 398 | MATRIX_KEY(0x00, 0x01, KEY_O) |
| 399 | MATRIX_KEY(0x00, 0x02, KEY_P) |
| 400 | MATRIX_KEY(0x00, 0x03, KEY_COMMA) |
| 401 | MATRIX_KEY(0x00, 0x04, KEY_BACKSPACE) |
| 402 | MATRIX_KEY(0x00, 0x06, KEY_A) |
| 403 | MATRIX_KEY(0x00, 0x07, KEY_S) |
Sebastian Reichel | 85c215f | 2014-01-11 22:16:59 +0100 | [diff] [blame] | 404 | |
Sebastian Reichel | 3fdb771 | 2014-05-06 15:14:28 +0200 | [diff] [blame] | 405 | MATRIX_KEY(0x01, 0x00, KEY_W) |
| 406 | MATRIX_KEY(0x01, 0x01, KEY_D) |
| 407 | MATRIX_KEY(0x01, 0x02, KEY_F) |
| 408 | MATRIX_KEY(0x01, 0x03, KEY_G) |
| 409 | MATRIX_KEY(0x01, 0x04, KEY_H) |
| 410 | MATRIX_KEY(0x01, 0x05, KEY_J) |
| 411 | MATRIX_KEY(0x01, 0x06, KEY_K) |
| 412 | MATRIX_KEY(0x01, 0x07, KEY_L) |
Sebastian Reichel | 85c215f | 2014-01-11 22:16:59 +0100 | [diff] [blame] | 413 | |
Sebastian Reichel | 3fdb771 | 2014-05-06 15:14:28 +0200 | [diff] [blame] | 414 | MATRIX_KEY(0x02, 0x00, KEY_E) |
| 415 | MATRIX_KEY(0x02, 0x01, KEY_DOT) |
| 416 | MATRIX_KEY(0x02, 0x02, KEY_UP) |
| 417 | MATRIX_KEY(0x02, 0x03, KEY_ENTER) |
| 418 | MATRIX_KEY(0x02, 0x05, KEY_Z) |
| 419 | MATRIX_KEY(0x02, 0x06, KEY_X) |
| 420 | MATRIX_KEY(0x02, 0x07, KEY_C) |
| 421 | MATRIX_KEY(0x02, 0x08, KEY_F9) |
Sebastian Reichel | 85c215f | 2014-01-11 22:16:59 +0100 | [diff] [blame] | 422 | |
Sebastian Reichel | 3fdb771 | 2014-05-06 15:14:28 +0200 | [diff] [blame] | 423 | MATRIX_KEY(0x03, 0x00, KEY_R) |
| 424 | MATRIX_KEY(0x03, 0x01, KEY_V) |
| 425 | MATRIX_KEY(0x03, 0x02, KEY_B) |
| 426 | MATRIX_KEY(0x03, 0x03, KEY_N) |
| 427 | MATRIX_KEY(0x03, 0x04, KEY_M) |
| 428 | MATRIX_KEY(0x03, 0x05, KEY_SPACE) |
| 429 | MATRIX_KEY(0x03, 0x06, KEY_SPACE) |
| 430 | MATRIX_KEY(0x03, 0x07, KEY_LEFT) |
Sebastian Reichel | 85c215f | 2014-01-11 22:16:59 +0100 | [diff] [blame] | 431 | |
Sebastian Reichel | 3fdb771 | 2014-05-06 15:14:28 +0200 | [diff] [blame] | 432 | MATRIX_KEY(0x04, 0x00, KEY_T) |
| 433 | MATRIX_KEY(0x04, 0x01, KEY_DOWN) |
| 434 | MATRIX_KEY(0x04, 0x02, KEY_RIGHT) |
| 435 | MATRIX_KEY(0x04, 0x04, KEY_LEFTCTRL) |
| 436 | MATRIX_KEY(0x04, 0x05, KEY_RIGHTALT) |
| 437 | MATRIX_KEY(0x04, 0x06, KEY_LEFTSHIFT) |
| 438 | MATRIX_KEY(0x04, 0x08, KEY_F10) |
Sebastian Reichel | 85c215f | 2014-01-11 22:16:59 +0100 | [diff] [blame] | 439 | |
Sebastian Reichel | 3fdb771 | 2014-05-06 15:14:28 +0200 | [diff] [blame] | 440 | MATRIX_KEY(0x05, 0x00, KEY_Y) |
| 441 | MATRIX_KEY(0x05, 0x08, KEY_F11) |
Sebastian Reichel | 85c215f | 2014-01-11 22:16:59 +0100 | [diff] [blame] | 442 | |
Sebastian Reichel | 3fdb771 | 2014-05-06 15:14:28 +0200 | [diff] [blame] | 443 | MATRIX_KEY(0x06, 0x00, KEY_U) |
Sebastian Reichel | 85c215f | 2014-01-11 22:16:59 +0100 | [diff] [blame] | 444 | |
Sebastian Reichel | 3fdb771 | 2014-05-06 15:14:28 +0200 | [diff] [blame] | 445 | MATRIX_KEY(0x07, 0x00, KEY_I) |
| 446 | MATRIX_KEY(0x07, 0x01, KEY_F7) |
| 447 | MATRIX_KEY(0x07, 0x02, KEY_F8) |
Sebastian Reichel | 85c215f | 2014-01-11 22:16:59 +0100 | [diff] [blame] | 448 | >; |
| 449 | }; |
| 450 | |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 451 | &twl_gpio { |
| 452 | ti,pullups = <0x0>; |
| 453 | ti,pulldowns = <0x03ff3f>; /* BIT(0..5) | BIT(8..17) */ |
| 454 | }; |
| 455 | |
| 456 | &i2c2 { |
Sebastian Reichel | ac888a8 | 2013-10-23 00:49:30 +0200 | [diff] [blame] | 457 | pinctrl-names = "default"; |
| 458 | pinctrl-0 = <&i2c2_pins>; |
| 459 | |
Sebastian Reichel | 48fc986 | 2013-10-23 00:49:31 +0200 | [diff] [blame] | 460 | clock-frequency = <100000>; |
Sebastian Reichel | b2b9b25 | 2013-10-23 00:49:36 +0200 | [diff] [blame] | 461 | |
Sebastian Reichel | 14e3e29 | 2013-10-23 00:49:41 +0200 | [diff] [blame] | 462 | tlv320aic3x: tlv320aic3x@18 { |
| 463 | compatible = "ti,tlv320aic3x"; |
| 464 | reg = <0x18>; |
| 465 | gpio-reset = <&gpio2 28 GPIO_ACTIVE_HIGH>; /* 60 */ |
| 466 | ai3x-gpio-func = < |
| 467 | 0 /* AIC3X_GPIO1_FUNC_DISABLED */ |
| 468 | 5 /* AIC3X_GPIO2_FUNC_DIGITAL_MIC_INPUT */ |
| 469 | >; |
| 470 | |
| 471 | AVDD-supply = <&vmmc2>; |
| 472 | DRVDD-supply = <&vmmc2>; |
| 473 | IOVDD-supply = <&vio>; |
| 474 | DVDD-supply = <&vio>; |
| 475 | }; |
| 476 | |
| 477 | tlv320aic3x_aux: tlv320aic3x@19 { |
| 478 | compatible = "ti,tlv320aic3x"; |
| 479 | reg = <0x19>; |
| 480 | gpio-reset = <&gpio2 28 GPIO_ACTIVE_HIGH>; /* 60 */ |
| 481 | |
| 482 | AVDD-supply = <&vmmc2>; |
| 483 | DRVDD-supply = <&vmmc2>; |
| 484 | IOVDD-supply = <&vio>; |
| 485 | DVDD-supply = <&vio>; |
| 486 | }; |
| 487 | |
Sebastian Reichel | 12f2f87 | 2014-01-11 22:17:00 +0100 | [diff] [blame] | 488 | tsl2563: tsl2563@29 { |
| 489 | compatible = "amstaos,tsl2563"; |
| 490 | reg = <0x29>; |
| 491 | |
| 492 | amstaos,cover-comp-gain = <16>; |
| 493 | }; |
| 494 | |
Sebastian Reichel | a0bf1f3 | 2013-10-23 00:49:42 +0200 | [diff] [blame] | 495 | lp5523: lp5523@32 { |
| 496 | compatible = "national,lp5523"; |
| 497 | reg = <0x32>; |
| 498 | clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */ |
| 499 | enable-gpio = <&gpio2 9 GPIO_ACTIVE_HIGH>; /* 41 */ |
| 500 | |
| 501 | chan0 { |
| 502 | chan-name = "lp5523:kb1"; |
| 503 | led-cur = /bits/ 8 <50>; |
| 504 | max-cur = /bits/ 8 <100>; |
| 505 | }; |
| 506 | |
| 507 | chan1 { |
| 508 | chan-name = "lp5523:kb2"; |
| 509 | led-cur = /bits/ 8 <50>; |
| 510 | max-cur = /bits/ 8 <100>; |
| 511 | }; |
| 512 | |
| 513 | chan2 { |
| 514 | chan-name = "lp5523:kb3"; |
| 515 | led-cur = /bits/ 8 <50>; |
| 516 | max-cur = /bits/ 8 <100>; |
| 517 | }; |
| 518 | |
| 519 | chan3 { |
| 520 | chan-name = "lp5523:kb4"; |
| 521 | led-cur = /bits/ 8 <50>; |
| 522 | max-cur = /bits/ 8 <100>; |
| 523 | }; |
| 524 | |
| 525 | chan4 { |
| 526 | chan-name = "lp5523:b"; |
| 527 | led-cur = /bits/ 8 <50>; |
| 528 | max-cur = /bits/ 8 <100>; |
| 529 | }; |
| 530 | |
| 531 | chan5 { |
| 532 | chan-name = "lp5523:g"; |
| 533 | led-cur = /bits/ 8 <50>; |
| 534 | max-cur = /bits/ 8 <100>; |
| 535 | }; |
| 536 | |
| 537 | chan6 { |
| 538 | chan-name = "lp5523:r"; |
| 539 | led-cur = /bits/ 8 <50>; |
| 540 | max-cur = /bits/ 8 <100>; |
| 541 | }; |
| 542 | |
| 543 | chan7 { |
| 544 | chan-name = "lp5523:kb5"; |
| 545 | led-cur = /bits/ 8 <50>; |
| 546 | max-cur = /bits/ 8 <100>; |
| 547 | }; |
| 548 | |
| 549 | chan8 { |
| 550 | chan-name = "lp5523:kb6"; |
| 551 | led-cur = /bits/ 8 <50>; |
| 552 | max-cur = /bits/ 8 <100>; |
| 553 | }; |
| 554 | }; |
| 555 | |
Sebastian Reichel | b2b9b25 | 2013-10-23 00:49:36 +0200 | [diff] [blame] | 556 | bq27200: bq27200@55 { |
| 557 | compatible = "ti,bq27200"; |
| 558 | reg = <0x55>; |
| 559 | }; |
Sebastian Reichel | 9e2367c | 2014-01-11 22:17:01 +0100 | [diff] [blame] | 560 | |
| 561 | tpa6130a2: tpa6130a2@60 { |
| 562 | compatible = "ti,tpa6130a2"; |
| 563 | reg = <0x60>; |
| 564 | |
| 565 | Vdd-supply = <&vmmc2>; |
| 566 | |
| 567 | power-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>; /* 98 */ |
| 568 | }; |
Sebastian Reichel | 334a09c | 2014-01-11 22:17:03 +0100 | [diff] [blame] | 569 | |
Sebastian Reichel | 406c07e | 2014-11-15 02:47:30 +0100 | [diff] [blame^] | 570 | si4713: si4713@63 { |
| 571 | compatible = "silabs,si4713"; |
| 572 | reg = <0x63>; |
| 573 | |
| 574 | interrupts-extended = <&gpio2 21 IRQ_TYPE_EDGE_FALLING>; /* 53 */ |
| 575 | reset-gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 */ |
| 576 | vio-supply = <&vio>; |
| 577 | vdd-supply = <&vaux1>; |
| 578 | }; |
| 579 | |
Sebastian Reichel | 334a09c | 2014-01-11 22:17:03 +0100 | [diff] [blame] | 580 | bq24150a: bq24150a@6b { |
| 581 | compatible = "ti,bq24150a"; |
| 582 | reg = <0x6b>; |
| 583 | |
| 584 | ti,current-limit = <100>; |
| 585 | ti,weak-battery-voltage = <3400>; |
| 586 | ti,battery-regulation-voltage = <4200>; |
| 587 | ti,charge-current = <650>; |
| 588 | ti,termination-current = <100>; |
| 589 | ti,resistor-sense = <68>; |
| 590 | |
| 591 | ti,usb-charger-detection = <&isp1704>; |
| 592 | }; |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 593 | }; |
| 594 | |
| 595 | &i2c3 { |
Sebastian Reichel | ac888a8 | 2013-10-23 00:49:30 +0200 | [diff] [blame] | 596 | pinctrl-names = "default"; |
| 597 | pinctrl-0 = <&i2c3_pins>; |
| 598 | |
Sebastian Reichel | 48fc986 | 2013-10-23 00:49:31 +0200 | [diff] [blame] | 599 | clock-frequency = <400000>; |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 600 | }; |
| 601 | |
| 602 | &mmc1 { |
Sebastian Reichel | f1751cf | 2013-10-23 00:49:33 +0200 | [diff] [blame] | 603 | pinctrl-names = "default"; |
| 604 | pinctrl-0 = <&mmc1_pins>; |
| 605 | vmmc-supply = <&vmmc1>; |
| 606 | bus-width = <4>; |
| 607 | cd-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>; /* 160 */ |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 608 | }; |
| 609 | |
Tony Lindgren | edd5eb4 | 2013-11-25 14:23:45 -0800 | [diff] [blame] | 610 | /* most boards use vaux3, only some old versions use vmmc2 instead */ |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 611 | &mmc2 { |
Tony Lindgren | edd5eb4 | 2013-11-25 14:23:45 -0800 | [diff] [blame] | 612 | pinctrl-names = "default"; |
| 613 | pinctrl-0 = <&mmc2_pins>; |
| 614 | vmmc-supply = <&vaux3>; |
| 615 | vmmc_aux-supply = <&vsim>; |
| 616 | bus-width = <8>; |
| 617 | non-removable; |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 618 | }; |
| 619 | |
| 620 | &mmc3 { |
| 621 | status = "disabled"; |
| 622 | }; |
| 623 | |
Sebastian Reichel | 8699d2d | 2013-10-23 00:49:39 +0200 | [diff] [blame] | 624 | &gpmc { |
Tony Lindgren | 271d4c6 | 2014-09-18 09:03:36 -0700 | [diff] [blame] | 625 | ranges = <0 0 0x01000000 0x01000000>, /* 16 MB for OneNAND */ |
| 626 | <1 0 0x02000000 0x01000000>; /* 16 MB for smc91c96 */ |
Tony Lindgren | 9a89495 | 2014-10-29 17:16:47 -0700 | [diff] [blame] | 627 | pinctrl-names = "default"; |
| 628 | pinctrl-0 = <&gpmc_pins>; |
Sebastian Reichel | 8699d2d | 2013-10-23 00:49:39 +0200 | [diff] [blame] | 629 | |
Tony Lindgren | e2c5eb7 | 2014-10-29 17:16:47 -0700 | [diff] [blame] | 630 | /* sys_ndmareq1 could be used by the driver, not as gpio65 though */ |
Sebastian Reichel | 8699d2d | 2013-10-23 00:49:39 +0200 | [diff] [blame] | 631 | onenand@0,0 { |
| 632 | #address-cells = <1>; |
| 633 | #size-cells = <1>; |
Tony Lindgren | e2c5eb7 | 2014-10-29 17:16:47 -0700 | [diff] [blame] | 634 | reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */ |
Sebastian Reichel | 8699d2d | 2013-10-23 00:49:39 +0200 | [diff] [blame] | 635 | |
| 636 | gpmc,sync-read; |
| 637 | gpmc,sync-write; |
| 638 | gpmc,burst-length = <16>; |
| 639 | gpmc,burst-read; |
| 640 | gpmc,burst-wrap; |
| 641 | gpmc,burst-write; |
| 642 | gpmc,device-width = <2>; /* GPMC_DEVWIDTH_16BIT */ |
| 643 | gpmc,mux-add-data = <2>; /* GPMC_MUX_AD */ |
| 644 | gpmc,cs-on-ns = <0>; |
| 645 | gpmc,cs-rd-off-ns = <87>; |
| 646 | gpmc,cs-wr-off-ns = <87>; |
| 647 | gpmc,adv-on-ns = <0>; |
| 648 | gpmc,adv-rd-off-ns = <10>; |
| 649 | gpmc,adv-wr-off-ns = <10>; |
| 650 | gpmc,oe-on-ns = <15>; |
| 651 | gpmc,oe-off-ns = <87>; |
| 652 | gpmc,we-on-ns = <0>; |
| 653 | gpmc,we-off-ns = <87>; |
| 654 | gpmc,rd-cycle-ns = <112>; |
| 655 | gpmc,wr-cycle-ns = <112>; |
| 656 | gpmc,access-ns = <81>; |
| 657 | gpmc,page-burst-access-ns = <15>; |
| 658 | gpmc,bus-turnaround-ns = <0>; |
| 659 | gpmc,cycle2cycle-delay-ns = <0>; |
| 660 | gpmc,wait-monitoring-ns = <0>; |
| 661 | gpmc,clk-activation-ns = <5>; |
| 662 | gpmc,wr-data-mux-bus-ns = <30>; |
| 663 | gpmc,wr-access-ns = <81>; |
| 664 | gpmc,sync-clk-ps = <15000>; |
| 665 | |
| 666 | /* |
| 667 | * MTD partition table corresponding to Nokia's |
| 668 | * Maemo 5 (Fremantle) release. |
| 669 | */ |
| 670 | partition@0 { |
| 671 | label = "bootloader"; |
| 672 | reg = <0x00000000 0x00020000>; |
| 673 | read-only; |
| 674 | }; |
| 675 | partition@1 { |
| 676 | label = "config"; |
| 677 | reg = <0x00020000 0x00060000>; |
| 678 | }; |
| 679 | partition@2 { |
| 680 | label = "log"; |
| 681 | reg = <0x00080000 0x00040000>; |
| 682 | }; |
| 683 | partition@3 { |
| 684 | label = "kernel"; |
| 685 | reg = <0x000c0000 0x00200000>; |
| 686 | }; |
| 687 | partition@4 { |
| 688 | label = "initfs"; |
| 689 | reg = <0x002c0000 0x00200000>; |
| 690 | }; |
| 691 | partition@5 { |
| 692 | label = "rootfs"; |
| 693 | reg = <0x004c0000 0x0fb40000>; |
| 694 | }; |
| 695 | }; |
Tony Lindgren | 271d4c6 | 2014-09-18 09:03:36 -0700 | [diff] [blame] | 696 | |
| 697 | ethernet@gpmc { |
| 698 | compatible = "smsc,lan91c94"; |
Tony Lindgren | b16ccfe | 2014-10-09 11:28:34 -0700 | [diff] [blame] | 699 | |
| 700 | status = "disabled"; |
| 701 | |
Tony Lindgren | 271d4c6 | 2014-09-18 09:03:36 -0700 | [diff] [blame] | 702 | interrupt-parent = <&gpio2>; |
| 703 | interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; /* gpio54 */ |
| 704 | reg = <1 0x300 0xf>; /* 16 byte IO range at offset 0x300 */ |
| 705 | bank-width = <2>; |
| 706 | pinctrl-names = "default"; |
| 707 | pinctrl-0 = <ðernet_pins>; |
| 708 | gpmc,device-width = <2>; |
| 709 | gpmc,sync-clk-ps = <0>; |
| 710 | gpmc,cs-on-ns = <0>; |
| 711 | gpmc,cs-rd-off-ns = <48>; |
| 712 | gpmc,cs-wr-off-ns = <24>; |
| 713 | gpmc,adv-on-ns = <0>; |
| 714 | gpmc,adv-rd-off-ns = <0>; |
| 715 | gpmc,adv-wr-off-ns = <0>; |
| 716 | gpmc,we-on-ns = <12>; |
| 717 | gpmc,we-off-ns = <18>; |
| 718 | gpmc,oe-on-ns = <12>; |
| 719 | gpmc,oe-off-ns = <48>; |
| 720 | gpmc,page-burst-access-ns = <0>; |
| 721 | gpmc,access-ns = <42>; |
| 722 | gpmc,rd-cycle-ns = <180>; |
| 723 | gpmc,wr-cycle-ns = <180>; |
| 724 | gpmc,bus-turnaround-ns = <0>; |
| 725 | gpmc,cycle2cycle-delay-ns = <0>; |
| 726 | gpmc,wait-monitoring-ns = <0>; |
| 727 | gpmc,clk-activation-ns = <0>; |
| 728 | gpmc,wr-access-ns = <0>; |
| 729 | gpmc,wr-data-mux-bus-ns = <12>; |
| 730 | }; |
Sebastian Reichel | 8699d2d | 2013-10-23 00:49:39 +0200 | [diff] [blame] | 731 | }; |
| 732 | |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 733 | &mcspi1 { |
| 734 | /* |
| 735 | * For some reason, touchscreen is necessary for screen to work at |
| 736 | * all on real hw. It works well without it on emulator. |
| 737 | * |
| 738 | * Also... order in the device tree actually matters here. |
| 739 | */ |
| 740 | tsc2005@0 { |
Sebastian Reichel | 5052589 | 2014-05-29 00:03:59 -0700 | [diff] [blame] | 741 | compatible = "ti,tsc2005"; |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 742 | spi-max-frequency = <6000000>; |
| 743 | reg = <0>; |
Sebastian Reichel | 5052589 | 2014-05-29 00:03:59 -0700 | [diff] [blame] | 744 | |
| 745 | vio-supply = <&vio>; |
| 746 | |
| 747 | reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* 104 */ |
| 748 | interrupts-extended = <&gpio4 4 IRQ_TYPE_EDGE_RISING>; /* 100 */ |
| 749 | |
| 750 | touchscreen-fuzz-x = <4>; |
| 751 | touchscreen-fuzz-y = <7>; |
| 752 | touchscreen-fuzz-pressure = <2>; |
| 753 | touchscreen-max-x = <4096>; |
| 754 | touchscreen-max-y = <4096>; |
| 755 | touchscreen-max-pressure = <2048>; |
| 756 | |
| 757 | ti,x-plate-ohms = <280>; |
| 758 | ti,esd-recovery-timeout-ms = <8000>; |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 759 | }; |
Tomi Valkeinen | 1133420 | 2013-12-17 09:33:33 +0200 | [diff] [blame] | 760 | |
| 761 | acx565akm@2 { |
| 762 | compatible = "sony,acx565akm"; |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 763 | spi-max-frequency = <6000000>; |
| 764 | reg = <2>; |
Sebastian Reichel | d1e6f51 | 2013-10-23 00:49:40 +0200 | [diff] [blame] | 765 | |
| 766 | pinctrl-names = "default"; |
Tomi Valkeinen | 1133420 | 2013-12-17 09:33:33 +0200 | [diff] [blame] | 767 | pinctrl-0 = <&acx565akm_pins>; |
| 768 | |
| 769 | label = "lcd"; |
| 770 | reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */ |
| 771 | |
| 772 | port { |
| 773 | lcd_in: endpoint { |
| 774 | remote-endpoint = <&sdi_out>; |
| 775 | }; |
| 776 | }; |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 777 | }; |
| 778 | }; |
| 779 | |
Sebastian Reichel | c1ad220 | 2014-03-13 22:59:55 +0100 | [diff] [blame] | 780 | &mcspi4 { |
| 781 | pinctrl-names = "default"; |
| 782 | pinctrl-0 = <&mcspi4_pins>; |
| 783 | |
| 784 | wl1251@0 { |
| 785 | pinctrl-names = "default"; |
| 786 | pinctrl-0 = <&wl1251_pins>; |
| 787 | |
| 788 | vio-supply = <&vio>; |
| 789 | |
| 790 | compatible = "ti,wl1251"; |
| 791 | reg = <0>; |
| 792 | spi-max-frequency = <48000000>; |
| 793 | |
| 794 | spi-cpol; |
| 795 | spi-cpha; |
| 796 | |
| 797 | ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */ |
| 798 | |
| 799 | interrupt-parent = <&gpio2>; |
| 800 | interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */ |
| 801 | }; |
| 802 | }; |
| 803 | |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 804 | &usb_otg_hs { |
| 805 | interface-type = <0>; |
| 806 | usb-phy = <&usb2_phy>; |
Roger Quadros | d2afcf0 | 2013-10-07 16:28:13 +0300 | [diff] [blame] | 807 | phys = <&usb2_phy>; |
| 808 | phy-names = "usb2-phy"; |
Pavel Machek | a4d4b15 | 2013-08-13 15:36:36 +0200 | [diff] [blame] | 809 | mode = <2>; |
| 810 | power = <50>; |
| 811 | }; |
Sebastian Reichel | 7a89eec | 2013-10-23 00:49:32 +0200 | [diff] [blame] | 812 | |
| 813 | &uart1 { |
| 814 | status = "disabled"; |
| 815 | }; |
| 816 | |
| 817 | &uart2 { |
Tony Lindgren | 31f0820 | 2014-05-05 17:27:39 -0700 | [diff] [blame] | 818 | interrupts-extended = <&intc 73 &omap3_pmx_core OMAP3_UART2_RX>; |
Sebastian Reichel | 7a89eec | 2013-10-23 00:49:32 +0200 | [diff] [blame] | 819 | pinctrl-names = "default"; |
| 820 | pinctrl-0 = <&uart2_pins>; |
| 821 | }; |
| 822 | |
| 823 | &uart3 { |
Tony Lindgren | 31f0820 | 2014-05-05 17:27:39 -0700 | [diff] [blame] | 824 | interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>; |
Sebastian Reichel | 7a89eec | 2013-10-23 00:49:32 +0200 | [diff] [blame] | 825 | pinctrl-names = "default"; |
| 826 | pinctrl-0 = <&uart3_pins>; |
| 827 | }; |
Tomi Valkeinen | 1133420 | 2013-12-17 09:33:33 +0200 | [diff] [blame] | 828 | |
| 829 | &dss { |
| 830 | status = "ok"; |
| 831 | |
| 832 | pinctrl-names = "default"; |
| 833 | pinctrl-0 = <&dss_sdi_pins>; |
| 834 | |
| 835 | vdds_sdi-supply = <&vaux1>; |
| 836 | |
| 837 | ports { |
| 838 | #address-cells = <1>; |
| 839 | #size-cells = <0>; |
| 840 | |
| 841 | port@1 { |
| 842 | reg = <1>; |
| 843 | |
| 844 | sdi_out: endpoint { |
| 845 | remote-endpoint = <&lcd_in>; |
| 846 | datapairs = <2>; |
| 847 | }; |
| 848 | }; |
| 849 | }; |
| 850 | }; |
| 851 | |
| 852 | &venc { |
| 853 | status = "ok"; |
| 854 | |
| 855 | vdda-supply = <&vdac>; |
| 856 | |
| 857 | port { |
| 858 | venc_out: endpoint { |
| 859 | remote-endpoint = <&tv_connector_in>; |
| 860 | ti,channels = <1>; |
| 861 | }; |
| 862 | }; |
| 863 | }; |
Sebastian Reichel | f7d0f2a | 2014-04-28 16:07:27 +0200 | [diff] [blame] | 864 | |
| 865 | &mcbsp2 { |
| 866 | status = "ok"; |
| 867 | }; |
Sebastian Reichel | 782e25a | 2014-05-10 18:37:49 +0200 | [diff] [blame] | 868 | |
| 869 | &ssi_port1 { |
| 870 | pinctrl-names = "default"; |
| 871 | pinctrl-0 = <&ssi_pins>; |
| 872 | |
| 873 | ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ |
Sebastian Reichel | 76ad4ac | 2014-05-10 18:37:50 +0200 | [diff] [blame] | 874 | |
| 875 | modem: hsi-client { |
| 876 | compatible = "nokia,n900-modem"; |
| 877 | |
| 878 | pinctrl-names = "default"; |
| 879 | pinctrl-0 = <&modem_pins>; |
| 880 | |
| 881 | hsi-channel-ids = <0>, <1>, <2>, <3>; |
| 882 | hsi-channel-names = "mcsaab-control", |
| 883 | "speech-control", |
| 884 | "speech-data", |
| 885 | "mcsaab-data"; |
| 886 | hsi-speed-kbps = <55000>; |
| 887 | hsi-mode = "frame"; |
| 888 | hsi-flow = "synchronized"; |
| 889 | hsi-arb-mode = "round-robin"; |
| 890 | |
| 891 | interrupts-extended = <&gpio3 8 IRQ_TYPE_EDGE_FALLING>; /* 72 */ |
| 892 | |
| 893 | gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>, /* 70 */ |
| 894 | <&gpio3 9 GPIO_ACTIVE_HIGH>, /* 73 */ |
| 895 | <&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */ |
| 896 | <&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */ |
| 897 | <&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */ |
| 898 | gpio-names = "cmt_apeslpx", |
| 899 | "cmt_rst_rq", |
| 900 | "cmt_en", |
| 901 | "cmt_rst", |
| 902 | "cmt_bsi"; |
| 903 | }; |
Sebastian Reichel | 782e25a | 2014-05-10 18:37:49 +0200 | [diff] [blame] | 904 | }; |
| 905 | |
| 906 | &ssi_port2 { |
| 907 | status = "disabled"; |
Sebastian Reichel | 76ad4ac | 2014-05-10 18:37:50 +0200 | [diff] [blame] | 908 | }; |