Lokesh Vutla | 11e2191 | 2013-12-19 18:03:38 +0530 | [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 | |
| 9 | /* AM437x GP EVM */ |
| 10 | |
| 11 | /dts-v1/; |
| 12 | |
| 13 | #include "am4372.dtsi" |
| 14 | #include <dt-bindings/pinctrl/am43xx.h> |
Sourav Poddar | c540b47 | 2013-12-19 18:03:39 +0530 | [diff] [blame] | 15 | #include <dt-bindings/pwm/pwm.h> |
Sourav Poddar | 51724db | 2013-12-19 18:03:41 +0530 | [diff] [blame] | 16 | #include <dt-bindings/gpio/gpio.h> |
Lokesh Vutla | 11e2191 | 2013-12-19 18:03:38 +0530 | [diff] [blame] | 17 | |
| 18 | / { |
| 19 | model = "TI AM437x GP EVM"; |
| 20 | compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43"; |
Sourav Poddar | c540b47 | 2013-12-19 18:03:39 +0530 | [diff] [blame] | 21 | |
Sathya Prakash M R | 0bacb52 | 2014-03-24 16:31:56 +0530 | [diff] [blame] | 22 | aliases { |
| 23 | display0 = &lcd0; |
| 24 | }; |
| 25 | |
Peter Ujfalusi | 390810a | 2015-07-02 17:06:25 +0300 | [diff] [blame] | 26 | evm_v3_3d: fixedregulator-v3_3d { |
Balaji T K | 506be3f | 2014-03-03 20:20:18 +0530 | [diff] [blame] | 27 | compatible = "regulator-fixed"; |
Peter Ujfalusi | 390810a | 2015-07-02 17:06:25 +0300 | [diff] [blame] | 28 | regulator-name = "evm_v3_3d"; |
Balaji T K | 506be3f | 2014-03-03 20:20:18 +0530 | [diff] [blame] | 29 | regulator-min-microvolt = <3300000>; |
| 30 | regulator-max-microvolt = <3300000>; |
| 31 | enable-active-high; |
| 32 | }; |
| 33 | |
Dave Gerlach | b2873bf | 2014-05-05 14:58:28 -0500 | [diff] [blame] | 34 | vtt_fixed: fixedregulator-vtt { |
| 35 | compatible = "regulator-fixed"; |
| 36 | regulator-name = "vtt_fixed"; |
| 37 | regulator-min-microvolt = <1500000>; |
| 38 | regulator-max-microvolt = <1500000>; |
| 39 | regulator-always-on; |
| 40 | regulator-boot-on; |
| 41 | enable-active-high; |
| 42 | gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>; |
| 43 | }; |
| 44 | |
Eyal Reizer | b6bbf59 | 2015-05-04 15:24:24 +0300 | [diff] [blame] | 45 | vmmcwl_fixed: fixedregulator-mmcwl { |
| 46 | compatible = "regulator-fixed"; |
| 47 | regulator-name = "vmmcwl_fixed"; |
| 48 | regulator-min-microvolt = <1800000>; |
| 49 | regulator-max-microvolt = <1800000>; |
| 50 | gpio = <&gpio1 20 GPIO_ACTIVE_HIGH>; |
| 51 | enable-active-high; |
| 52 | }; |
| 53 | |
Sourav Poddar | c540b47 | 2013-12-19 18:03:39 +0530 | [diff] [blame] | 54 | backlight { |
| 55 | compatible = "pwm-backlight"; |
| 56 | pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>; |
| 57 | brightness-levels = <0 51 53 56 62 75 101 152 255>; |
| 58 | default-brightness-level = <8>; |
| 59 | }; |
Sourav Poddar | 51724db | 2013-12-19 18:03:41 +0530 | [diff] [blame] | 60 | |
| 61 | matrix_keypad: matrix_keypad@0 { |
| 62 | compatible = "gpio-matrix-keypad"; |
| 63 | debounce-delay-ms = <5>; |
| 64 | col-scan-delay-us = <2>; |
| 65 | |
| 66 | row-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH /* Bank3, pin21 */ |
| 67 | &gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */ |
| 68 | &gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */ |
| 69 | |
| 70 | col-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */ |
| 71 | &gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */ |
| 72 | |
| 73 | linux,keymap = <0x00000201 /* P1 */ |
| 74 | 0x00010202 /* P2 */ |
| 75 | 0x01000067 /* UP */ |
| 76 | 0x0101006a /* RIGHT */ |
| 77 | 0x02000069 /* LEFT */ |
| 78 | 0x0201006c>; /* DOWN */ |
| 79 | }; |
Sathya Prakash M R | 0bacb52 | 2014-03-24 16:31:56 +0530 | [diff] [blame] | 80 | |
| 81 | lcd0: display { |
| 82 | compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; |
| 83 | label = "lcd"; |
| 84 | |
Sathya Prakash M R | 0bacb52 | 2014-03-24 16:31:56 +0530 | [diff] [blame] | 85 | panel-timing { |
| 86 | clock-frequency = <33000000>; |
| 87 | hactive = <800>; |
| 88 | vactive = <480>; |
| 89 | hfront-porch = <210>; |
| 90 | hback-porch = <16>; |
| 91 | hsync-len = <30>; |
| 92 | vback-porch = <10>; |
| 93 | vfront-porch = <22>; |
| 94 | vsync-len = <13>; |
| 95 | hsync-active = <0>; |
| 96 | vsync-active = <0>; |
| 97 | de-active = <1>; |
| 98 | pixelclk-active = <1>; |
| 99 | }; |
| 100 | |
| 101 | port { |
| 102 | lcd_in: endpoint { |
| 103 | remote-endpoint = <&dpi_out>; |
| 104 | }; |
| 105 | }; |
| 106 | }; |
Lad, Prabhakar | 3aa5920 | 2015-03-12 23:38:21 +0000 | [diff] [blame] | 107 | |
| 108 | /* fixed 12MHz oscillator */ |
| 109 | refclk: oscillator { |
| 110 | #clock-cells = <0>; |
| 111 | compatible = "fixed-clock"; |
| 112 | clock-frequency = <12000000>; |
| 113 | }; |
| 114 | |
Keerthy | fff51e7 | 2015-08-18 15:11:14 +0530 | [diff] [blame] | 115 | /* fixed 32k external oscillator clock */ |
| 116 | clk_32k_rtc: clk_32k_rtc { |
| 117 | #clock-cells = <0>; |
| 118 | compatible = "fixed-clock"; |
| 119 | clock-frequency = <32768>; |
| 120 | }; |
| 121 | |
Peter Ujfalusi | cf9a485 | 2015-07-02 17:06:28 +0300 | [diff] [blame] | 122 | sound0: sound@0 { |
| 123 | compatible = "simple-audio-card"; |
| 124 | simple-audio-card,name = "AM437x-GP-EVM"; |
| 125 | simple-audio-card,widgets = |
| 126 | "Headphone", "Headphone Jack", |
| 127 | "Line", "Line In"; |
| 128 | simple-audio-card,routing = |
| 129 | "Headphone Jack", "HPLOUT", |
| 130 | "Headphone Jack", "HPROUT", |
| 131 | "LINE1L", "Line In", |
| 132 | "LINE1R", "Line In"; |
| 133 | simple-audio-card,format = "dsp_b"; |
| 134 | simple-audio-card,bitclock-master = <&sound0_master>; |
| 135 | simple-audio-card,frame-master = <&sound0_master>; |
| 136 | simple-audio-card,bitclock-inversion; |
| 137 | |
| 138 | simple-audio-card,cpu { |
| 139 | sound-dai = <&mcasp1>; |
| 140 | system-clock-frequency = <12000000>; |
| 141 | }; |
| 142 | |
| 143 | sound0_master: simple-audio-card,codec { |
| 144 | sound-dai = <&tlv320aic3106>; |
| 145 | system-clock-frequency = <12000000>; |
| 146 | }; |
| 147 | }; |
Lokesh Vutla | 11e2191 | 2013-12-19 18:03:38 +0530 | [diff] [blame] | 148 | }; |
| 149 | |
| 150 | &am43xx_pinmux { |
Eyal Reizer | b6bbf59 | 2015-05-04 15:24:24 +0300 | [diff] [blame] | 151 | pinctrl-names = "default", "sleep"; |
| 152 | pinctrl-0 = <&wlan_pins_default>; |
| 153 | pinctrl-1 = <&wlan_pins_sleep>; |
| 154 | |
Lokesh Vutla | 11e2191 | 2013-12-19 18:03:38 +0530 | [diff] [blame] | 155 | i2c0_pins: i2c0_pins { |
| 156 | pinctrl-single,pins = < |
| 157 | 0x188 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */ |
| 158 | 0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */ |
| 159 | >; |
| 160 | }; |
| 161 | |
| 162 | i2c1_pins: i2c1_pins { |
| 163 | pinctrl-single,pins = < |
| 164 | 0x15c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_cs0.i2c1_scl */ |
| 165 | 0x158 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* spi0_d1.i2c1_sda */ |
| 166 | >; |
| 167 | }; |
Sourav Poddar | c540b47 | 2013-12-19 18:03:39 +0530 | [diff] [blame] | 168 | |
Balaji T K | 506be3f | 2014-03-03 20:20:18 +0530 | [diff] [blame] | 169 | mmc1_pins: pinmux_mmc1_pins { |
| 170 | pinctrl-single,pins = < |
| 171 | 0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */ |
| 172 | >; |
| 173 | }; |
| 174 | |
Sourav Poddar | c540b47 | 2013-12-19 18:03:39 +0530 | [diff] [blame] | 175 | ecap0_pins: backlight_pins { |
| 176 | pinctrl-single,pins = < |
| 177 | 0x164 MUX_MODE0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */ |
| 178 | >; |
| 179 | }; |
Sekhar Nori | 0ebc1e2 | 2014-04-30 15:43:25 +0300 | [diff] [blame] | 180 | |
| 181 | pixcir_ts_pins: pixcir_ts_pins { |
| 182 | pinctrl-single,pins = < |
| 183 | 0x264 (PIN_INPUT_PULLUP | MUX_MODE7) /* spi2_d0.gpio3_22 */ |
| 184 | >; |
| 185 | }; |
Mugunthan V N | 7b25bab | 2014-05-13 14:14:31 +0530 | [diff] [blame] | 186 | |
| 187 | cpsw_default: cpsw_default { |
| 188 | pinctrl-single,pins = < |
| 189 | /* Slave 1 */ |
| 190 | 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_txen */ |
| 191 | 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rxctl */ |
| 192 | 0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_txd3 */ |
| 193 | 0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_txd2 */ |
| 194 | 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_txd1 */ |
| 195 | 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_txd0 */ |
| 196 | 0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rmii1_tclk */ |
| 197 | 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rmii1_rclk */ |
| 198 | 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rxd3 */ |
| 199 | 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rxd2 */ |
| 200 | 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rxd1 */ |
| 201 | 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rxd0 */ |
| 202 | >; |
| 203 | }; |
| 204 | |
| 205 | cpsw_sleep: cpsw_sleep { |
| 206 | pinctrl-single,pins = < |
| 207 | /* Slave 1 reset value */ |
| 208 | 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 209 | 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 210 | 0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 211 | 0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 212 | 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 213 | 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 214 | 0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 215 | 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 216 | 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 217 | 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 218 | 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 219 | 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 220 | >; |
| 221 | }; |
| 222 | |
| 223 | davinci_mdio_default: davinci_mdio_default { |
| 224 | pinctrl-single,pins = < |
| 225 | /* MDIO */ |
| 226 | 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */ |
| 227 | 0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */ |
| 228 | >; |
| 229 | }; |
| 230 | |
| 231 | davinci_mdio_sleep: davinci_mdio_sleep { |
| 232 | pinctrl-single,pins = < |
| 233 | /* MDIO reset value */ |
| 234 | 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 235 | 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 236 | >; |
| 237 | }; |
Pekon Gupta | 99ffa64 | 2014-05-19 14:45:46 +0530 | [diff] [blame] | 238 | |
| 239 | nand_flash_x8: nand_flash_x8 { |
| 240 | pinctrl-single,pins = < |
Pekon Gupta | 99ffa64 | 2014-05-19 14:45:46 +0530 | [diff] [blame] | 241 | 0x0 (PIN_INPUT | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */ |
| 242 | 0x4 (PIN_INPUT | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */ |
| 243 | 0x8 (PIN_INPUT | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */ |
| 244 | 0xc (PIN_INPUT | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */ |
| 245 | 0x10 (PIN_INPUT | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */ |
| 246 | 0x14 (PIN_INPUT | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */ |
| 247 | 0x18 (PIN_INPUT | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */ |
| 248 | 0x1c (PIN_INPUT | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */ |
| 249 | 0x70 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */ |
| 250 | 0x74 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpmc_wpn */ |
| 251 | 0x7c (PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */ |
| 252 | 0x90 (PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */ |
| 253 | 0x94 (PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */ |
| 254 | 0x98 (PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */ |
| 255 | 0x9c (PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */ |
| 256 | >; |
| 257 | }; |
Sathya Prakash M R | 0bacb52 | 2014-03-24 16:31:56 +0530 | [diff] [blame] | 258 | |
| 259 | dss_pins: dss_pins { |
| 260 | pinctrl-single,pins = < |
| 261 | 0x020 (PIN_OUTPUT_PULLUP | MUX_MODE1) /*gpmc ad 8 -> DSS DATA 23 */ |
| 262 | 0x024 (PIN_OUTPUT_PULLUP | MUX_MODE1) |
| 263 | 0x028 (PIN_OUTPUT_PULLUP | MUX_MODE1) |
| 264 | 0x02c (PIN_OUTPUT_PULLUP | MUX_MODE1) |
| 265 | 0x030 (PIN_OUTPUT_PULLUP | MUX_MODE1) |
| 266 | 0x034 (PIN_OUTPUT_PULLUP | MUX_MODE1) |
| 267 | 0x038 (PIN_OUTPUT_PULLUP | MUX_MODE1) |
| 268 | 0x03c (PIN_OUTPUT_PULLUP | MUX_MODE1) /*gpmc ad 15 -> DSS DATA 16 */ |
| 269 | 0x0a0 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 0 */ |
| 270 | 0x0a4 (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 271 | 0x0a8 (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 272 | 0x0ac (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 273 | 0x0b0 (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 274 | 0x0b4 (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 275 | 0x0b8 (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 276 | 0x0bc (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 277 | 0x0c0 (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 278 | 0x0c4 (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 279 | 0x0c8 (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 280 | 0x0cc (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 281 | 0x0d0 (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 282 | 0x0d4 (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 283 | 0x0d8 (PIN_OUTPUT_PULLUP | MUX_MODE0) |
| 284 | 0x0dc (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 15 */ |
| 285 | 0x0e0 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS VSYNC */ |
| 286 | 0x0e4 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS HSYNC */ |
| 287 | 0x0e8 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS PCLK */ |
| 288 | 0x0ec (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS AC BIAS EN */ |
| 289 | |
| 290 | >; |
| 291 | }; |
| 292 | |
Peter Ujfalusi | 593113e | 2015-07-02 17:06:24 +0300 | [diff] [blame] | 293 | display_mux_pins: display_mux_pins { |
Sathya Prakash M R | 0bacb52 | 2014-03-24 16:31:56 +0530 | [diff] [blame] | 294 | pinctrl-single,pins = < |
| 295 | /* GPIO 5_8 to select LCD / HDMI */ |
| 296 | 0x238 (PIN_OUTPUT_PULLUP | MUX_MODE7) |
| 297 | >; |
| 298 | }; |
Mugunthan V N | 4b1ce23 | 2014-07-18 11:29:11 +0530 | [diff] [blame] | 299 | |
| 300 | dcan0_default: dcan0_default_pins { |
| 301 | pinctrl-single,pins = < |
| 302 | 0x178 (PIN_OUTPUT | MUX_MODE2) /* uart1_ctsn.d_can0_tx */ |
| 303 | 0x17c (PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_rtsn.d_can0_rx */ |
| 304 | >; |
| 305 | }; |
| 306 | |
Roger Quadros | f95b106 | 2015-08-18 17:01:57 +0300 | [diff] [blame^] | 307 | dcan0_sleep: dcan0_sleep_pins { |
| 308 | pinctrl-single,pins = < |
| 309 | 0x178 (PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_ctsn.gpio0_12 */ |
| 310 | 0x17c (PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_rtsn.gpio0_13 */ |
| 311 | >; |
| 312 | }; |
| 313 | |
Mugunthan V N | 4b1ce23 | 2014-07-18 11:29:11 +0530 | [diff] [blame] | 314 | dcan1_default: dcan1_default_pins { |
| 315 | pinctrl-single,pins = < |
| 316 | 0x180 (PIN_OUTPUT | MUX_MODE2) /* uart1_rxd.d_can1_tx */ |
| 317 | 0x184 (PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_txd.d_can1_rx */ |
| 318 | >; |
| 319 | }; |
Benoit Parrot | c788a7f | 2014-12-18 21:54:14 +0530 | [diff] [blame] | 320 | |
Roger Quadros | f95b106 | 2015-08-18 17:01:57 +0300 | [diff] [blame^] | 321 | dcan1_sleep: dcan1_sleep_pins { |
| 322 | pinctrl-single,pins = < |
| 323 | 0x180 (PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_rxd.gpio0_14 */ |
| 324 | 0x184 (PIN_INPUT_PULLUP | MUX_MODE7) /* uart1_txd.gpio0_15 */ |
| 325 | >; |
| 326 | }; |
| 327 | |
Benoit Parrot | c788a7f | 2014-12-18 21:54:14 +0530 | [diff] [blame] | 328 | vpfe0_pins_default: vpfe0_pins_default { |
| 329 | pinctrl-single,pins = < |
| 330 | 0x1B0 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_hd mode 0*/ |
| 331 | 0x1B4 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_vd mode 0*/ |
| 332 | 0x1C0 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_pclk mode 0*/ |
| 333 | 0x1C4 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data8 mode 0*/ |
| 334 | 0x1C8 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data9 mode 0*/ |
| 335 | 0x208 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data0 mode 0*/ |
| 336 | 0x20C (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data1 mode 0*/ |
| 337 | 0x210 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data2 mode 0*/ |
| 338 | 0x214 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data3 mode 0*/ |
| 339 | 0x218 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data4 mode 0*/ |
| 340 | 0x21C (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data5 mode 0*/ |
| 341 | 0x220 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data6 mode 0*/ |
| 342 | 0x224 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam0_data7 mode 0*/ |
| 343 | >; |
| 344 | }; |
| 345 | |
| 346 | vpfe0_pins_sleep: vpfe0_pins_sleep { |
| 347 | pinctrl-single,pins = < |
| 348 | 0x1B0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_hd mode 0*/ |
| 349 | 0x1B4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_vd mode 0*/ |
| 350 | 0x1C0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_pclk mode 0*/ |
| 351 | 0x1C4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data8 mode 0*/ |
| 352 | 0x1C8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data9 mode 0*/ |
| 353 | 0x208 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data0 mode 0*/ |
| 354 | 0x20C (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data1 mode 0*/ |
| 355 | 0x210 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data2 mode 0*/ |
| 356 | 0x214 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data3 mode 0*/ |
| 357 | 0x218 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data4 mode 0*/ |
| 358 | 0x21C (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data5 mode 0*/ |
| 359 | 0x220 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data6 mode 0*/ |
| 360 | 0x224 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam0_data7 mode 0*/ |
| 361 | >; |
| 362 | }; |
| 363 | |
| 364 | vpfe1_pins_default: vpfe1_pins_default { |
| 365 | pinctrl-single,pins = < |
| 366 | 0x1CC (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data9 mode 0*/ |
| 367 | 0x1D0 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data8 mode 0*/ |
| 368 | 0x1D4 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_hd mode 0*/ |
| 369 | 0x1D8 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_vd mode 0*/ |
| 370 | 0x1DC (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_pclk mode 0*/ |
| 371 | 0x1E8 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data0 mode 0*/ |
| 372 | 0x1EC (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data1 mode 0*/ |
| 373 | 0x1F0 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data2 mode 0*/ |
| 374 | 0x1F4 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data3 mode 0*/ |
| 375 | 0x1F8 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data4 mode 0*/ |
| 376 | 0x1FC (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data5 mode 0*/ |
| 377 | 0x200 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data6 mode 0*/ |
| 378 | 0x204 (PIN_INPUT_PULLUP | MUX_MODE0) /* cam1_data7 mode 0*/ |
| 379 | >; |
| 380 | }; |
| 381 | |
| 382 | vpfe1_pins_sleep: vpfe1_pins_sleep { |
| 383 | pinctrl-single,pins = < |
| 384 | 0x1CC (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data9 mode 0*/ |
| 385 | 0x1D0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data8 mode 0*/ |
| 386 | 0x1D4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_hd mode 0*/ |
| 387 | 0x1D8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_vd mode 0*/ |
| 388 | 0x1DC (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_pclk mode 0*/ |
| 389 | 0x1E8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data0 mode 0*/ |
| 390 | 0x1EC (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data1 mode 0*/ |
| 391 | 0x1F0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data2 mode 0*/ |
| 392 | 0x1F4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data3 mode 0*/ |
| 393 | 0x1F8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data4 mode 0*/ |
| 394 | 0x1FC (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data5 mode 0*/ |
| 395 | 0x200 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data6 mode 0*/ |
| 396 | 0x204 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) /* cam1_data7 mode 0*/ |
| 397 | >; |
| 398 | }; |
Eyal Reizer | b6bbf59 | 2015-05-04 15:24:24 +0300 | [diff] [blame] | 399 | |
| 400 | mmc3_pins_default: pinmux_mmc3_pins_default { |
| 401 | pinctrl-single,pins = < |
| 402 | 0x8c (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_clk.mmc2_clk */ |
| 403 | 0x88 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_csn3.mmc2_cmd */ |
| 404 | 0x44 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a1.mmc2_dat0 */ |
| 405 | 0x48 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a2.mmc2_dat1 */ |
| 406 | 0x4c (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a3.mmc2_dat2 */ |
| 407 | 0x78 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_be1n.mmc2_dat3 */ |
| 408 | >; |
| 409 | }; |
| 410 | |
| 411 | mmc3_pins_sleep: pinmux_mmc3_pins_sleep { |
| 412 | pinctrl-single,pins = < |
| 413 | 0x8c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_clk.mmc2_clk */ |
| 414 | 0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn3.mmc2_cmd */ |
| 415 | 0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a1.mmc2_dat0 */ |
| 416 | 0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a2.mmc2_dat1 */ |
| 417 | 0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a3.mmc2_dat2 */ |
| 418 | 0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_be1n.mmc2_dat3 */ |
| 419 | >; |
| 420 | }; |
| 421 | |
| 422 | wlan_pins_default: pinmux_wlan_pins_default { |
| 423 | pinctrl-single,pins = < |
| 424 | 0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a4.gpio1_20 WL_EN */ |
| 425 | 0x5c (PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7) /* gpmc_a7.gpio1_23 WL_IRQ*/ |
| 426 | 0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a0.gpio1_16 BT_EN*/ |
| 427 | >; |
| 428 | }; |
| 429 | |
| 430 | wlan_pins_sleep: pinmux_wlan_pins_sleep { |
| 431 | pinctrl-single,pins = < |
| 432 | 0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a4.gpio1_20 WL_EN */ |
| 433 | 0x5c (PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7) /* gpmc_a7.gpio1_23 WL_IRQ*/ |
| 434 | 0x40 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_a0.gpio1_16 BT_EN*/ |
| 435 | >; |
| 436 | }; |
| 437 | |
| 438 | uart3_pins: uart3_pins { |
| 439 | pinctrl-single,pins = < |
| 440 | 0x228 (PIN_INPUT | MUX_MODE0) /* uart3_rxd.uart3_rxd */ |
| 441 | 0x22c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart3_txd.uart3_txd */ |
| 442 | 0x230 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart3_ctsn.uart3_ctsn */ |
| 443 | 0x234 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart3_rtsn.uart3_rtsn */ |
| 444 | >; |
| 445 | }; |
Peter Ujfalusi | d3d92af | 2015-07-02 17:06:27 +0300 | [diff] [blame] | 446 | |
| 447 | mcasp1_pins: mcasp1_pins { |
| 448 | pinctrl-single,pins = < |
| 449 | 0x108 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */ |
| 450 | 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */ |
| 451 | 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */ |
| 452 | 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */ |
| 453 | >; |
| 454 | }; |
| 455 | |
| 456 | mcasp1_sleep_pins: mcasp1_sleep_pins { |
| 457 | pinctrl-single,pins = < |
| 458 | 0x108 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 459 | 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 460 | 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 461 | 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7) |
| 462 | >; |
| 463 | }; |
Roger Quadros | 50336f5 | 2015-08-04 18:34:59 +0300 | [diff] [blame] | 464 | |
| 465 | gpio0_pins: gpio0_pins { |
| 466 | pinctrl-single,pins = < |
| 467 | 0x26c (PIN_OUTPUT | MUX_MODE9) /* spi2_cs0.gpio0_23 SEL_eMMCorNANDn */ |
| 468 | >; |
| 469 | }; |
Roger Quadros | eb157c8 | 2015-08-04 18:35:00 +0300 | [diff] [blame] | 470 | |
| 471 | emmc_pins_default: emmc_pins_default { |
| 472 | pinctrl-single,pins = < |
| 473 | 0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */ |
| 474 | 0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */ |
| 475 | 0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */ |
| 476 | 0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */ |
| 477 | 0x10 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */ |
| 478 | 0x14 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */ |
| 479 | 0x18 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */ |
| 480 | 0x1c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */ |
| 481 | 0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */ |
| 482 | 0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */ |
| 483 | >; |
| 484 | }; |
| 485 | |
| 486 | emmc_pins_sleep: emmc_pins_sleep { |
| 487 | pinctrl-single,pins = < |
| 488 | 0x00 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad0.gpio1_0 */ |
| 489 | 0x04 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad1.gpio1_1 */ |
| 490 | 0x08 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad2.gpio1_2 */ |
| 491 | 0x0c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad3.gpio1_3 */ |
| 492 | 0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpio1_4 */ |
| 493 | 0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpio1_5 */ |
| 494 | 0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpio1_6 */ |
| 495 | 0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpio1_7 */ |
| 496 | 0x80 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn1.gpio1_30 */ |
| 497 | 0x84 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn2.gpio1_31 */ |
| 498 | >; |
| 499 | }; |
Lokesh Vutla | 11e2191 | 2013-12-19 18:03:38 +0530 | [diff] [blame] | 500 | }; |
| 501 | |
| 502 | &i2c0 { |
Keerthy | 1fc9814 | 2014-07-09 11:06:31 +0530 | [diff] [blame] | 503 | status = "okay"; |
| 504 | pinctrl-names = "default"; |
| 505 | pinctrl-0 = <&i2c0_pins>; |
Nishanth Menon | 9316641 | 2014-09-03 13:46:21 -0500 | [diff] [blame] | 506 | clock-frequency = <100000>; |
Keerthy | 0e2da5e | 2014-07-09 11:06:32 +0530 | [diff] [blame] | 507 | |
| 508 | tps65218: tps65218@24 { |
| 509 | reg = <0x24>; |
| 510 | compatible = "ti,tps65218"; |
| 511 | interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* NMIn */ |
Keerthy | 0e2da5e | 2014-07-09 11:06:32 +0530 | [diff] [blame] | 512 | interrupt-controller; |
| 513 | #interrupt-cells = <2>; |
| 514 | |
| 515 | dcdc1: regulator-dcdc1 { |
| 516 | compatible = "ti,tps65218-dcdc1"; |
| 517 | regulator-name = "vdd_core"; |
| 518 | regulator-min-microvolt = <912000>; |
| 519 | regulator-max-microvolt = <1144000>; |
| 520 | regulator-boot-on; |
| 521 | regulator-always-on; |
| 522 | }; |
| 523 | |
| 524 | dcdc2: regulator-dcdc2 { |
| 525 | compatible = "ti,tps65218-dcdc2"; |
| 526 | regulator-name = "vdd_mpu"; |
| 527 | regulator-min-microvolt = <912000>; |
| 528 | regulator-max-microvolt = <1378000>; |
| 529 | regulator-boot-on; |
| 530 | regulator-always-on; |
| 531 | }; |
| 532 | |
| 533 | dcdc3: regulator-dcdc3 { |
| 534 | compatible = "ti,tps65218-dcdc3"; |
| 535 | regulator-name = "vdcdc3"; |
Keerthy | 3015ddb | 2014-11-06 16:20:03 +0530 | [diff] [blame] | 536 | regulator-min-microvolt = <1500000>; |
| 537 | regulator-max-microvolt = <1500000>; |
Keerthy | 0e2da5e | 2014-07-09 11:06:32 +0530 | [diff] [blame] | 538 | regulator-boot-on; |
| 539 | regulator-always-on; |
| 540 | }; |
| 541 | dcdc5: regulator-dcdc5 { |
| 542 | compatible = "ti,tps65218-dcdc5"; |
| 543 | regulator-name = "v1_0bat"; |
| 544 | regulator-min-microvolt = <1000000>; |
| 545 | regulator-max-microvolt = <1000000>; |
Dave Gerlach | 1e9f747 | 2015-08-05 16:19:46 +0530 | [diff] [blame] | 546 | regulator-boot-on; |
| 547 | regulator-always-on; |
Keerthy | 0e2da5e | 2014-07-09 11:06:32 +0530 | [diff] [blame] | 548 | }; |
| 549 | |
| 550 | dcdc6: regulator-dcdc6 { |
| 551 | compatible = "ti,tps65218-dcdc6"; |
| 552 | regulator-name = "v1_8bat"; |
| 553 | regulator-min-microvolt = <1800000>; |
| 554 | regulator-max-microvolt = <1800000>; |
Dave Gerlach | 1e9f747 | 2015-08-05 16:19:46 +0530 | [diff] [blame] | 555 | regulator-boot-on; |
| 556 | regulator-always-on; |
Keerthy | 0e2da5e | 2014-07-09 11:06:32 +0530 | [diff] [blame] | 557 | }; |
| 558 | |
| 559 | ldo1: regulator-ldo1 { |
| 560 | compatible = "ti,tps65218-ldo1"; |
| 561 | regulator-min-microvolt = <1800000>; |
| 562 | regulator-max-microvolt = <1800000>; |
| 563 | regulator-boot-on; |
| 564 | regulator-always-on; |
| 565 | }; |
| 566 | }; |
Lad, Prabhakar | 3aa5920 | 2015-03-12 23:38:21 +0000 | [diff] [blame] | 567 | |
| 568 | ov2659@30 { |
| 569 | compatible = "ovti,ov2659"; |
| 570 | reg = <0x30>; |
| 571 | |
| 572 | clocks = <&refclk 0>; |
| 573 | clock-names = "xvclk"; |
| 574 | |
| 575 | port { |
| 576 | ov2659_0: endpoint { |
| 577 | remote-endpoint = <&vpfe1_ep>; |
| 578 | link-frequencies = /bits/ 64 <70000000>; |
| 579 | }; |
| 580 | }; |
| 581 | }; |
Lokesh Vutla | 11e2191 | 2013-12-19 18:03:38 +0530 | [diff] [blame] | 582 | }; |
| 583 | |
| 584 | &i2c1 { |
Keerthy | 1fc9814 | 2014-07-09 11:06:31 +0530 | [diff] [blame] | 585 | status = "okay"; |
| 586 | pinctrl-names = "default"; |
| 587 | pinctrl-0 = <&i2c1_pins>; |
Sekhar Nori | 0ebc1e2 | 2014-04-30 15:43:25 +0300 | [diff] [blame] | 588 | pixcir_ts@5c { |
| 589 | compatible = "pixcir,pixcir_tangoc"; |
| 590 | pinctrl-names = "default"; |
| 591 | pinctrl-0 = <&pixcir_ts_pins>; |
| 592 | reg = <0x5c>; |
| 593 | interrupt-parent = <&gpio3>; |
| 594 | interrupts = <22 0>; |
| 595 | |
| 596 | attb-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; |
| 597 | |
Roger Quadros | f048615 | 2014-07-28 10:11:37 -0700 | [diff] [blame] | 598 | touchscreen-size-x = <1024>; |
| 599 | touchscreen-size-y = <600>; |
Sekhar Nori | 0ebc1e2 | 2014-04-30 15:43:25 +0300 | [diff] [blame] | 600 | }; |
Lad, Prabhakar | 3aa5920 | 2015-03-12 23:38:21 +0000 | [diff] [blame] | 601 | |
| 602 | ov2659@30 { |
| 603 | compatible = "ovti,ov2659"; |
| 604 | reg = <0x30>; |
| 605 | |
| 606 | clocks = <&refclk 0>; |
| 607 | clock-names = "xvclk"; |
| 608 | |
| 609 | port { |
| 610 | ov2659_1: endpoint { |
| 611 | remote-endpoint = <&vpfe0_ep>; |
| 612 | link-frequencies = /bits/ 64 <70000000>; |
| 613 | }; |
| 614 | }; |
| 615 | }; |
Peter Ujfalusi | 6076b15 | 2015-07-02 17:06:26 +0300 | [diff] [blame] | 616 | |
| 617 | tlv320aic3106: tlv320aic3106@1b { |
Peter Ujfalusi | cf9a485 | 2015-07-02 17:06:28 +0300 | [diff] [blame] | 618 | #sound-dai-cells = <0>; |
Peter Ujfalusi | 6076b15 | 2015-07-02 17:06:26 +0300 | [diff] [blame] | 619 | compatible = "ti,tlv320aic3106"; |
| 620 | reg = <0x1b>; |
| 621 | status = "okay"; |
| 622 | |
| 623 | /* Regulators */ |
| 624 | IOVDD-supply = <&evm_v3_3d>; /* V3_3D -> <tps63031> EN: V1_8D -> VBAT */ |
| 625 | AVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */ |
| 626 | DRVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */ |
| 627 | DVDD-supply = <&ldo1>; /* V1_8D -> LDO1 */ |
| 628 | }; |
Lokesh Vutla | 11e2191 | 2013-12-19 18:03:38 +0530 | [diff] [blame] | 629 | }; |
Sourav Poddar | c540b47 | 2013-12-19 18:03:39 +0530 | [diff] [blame] | 630 | |
| 631 | &epwmss0 { |
| 632 | status = "okay"; |
| 633 | }; |
| 634 | |
Vignesh R | 0f39f7b | 2014-11-21 15:44:22 +0530 | [diff] [blame] | 635 | &tscadc { |
| 636 | status = "okay"; |
| 637 | |
| 638 | adc { |
| 639 | ti,adc-channels = <0 1 2 3 4 5 6 7>; |
| 640 | }; |
| 641 | }; |
| 642 | |
Sourav Poddar | c540b47 | 2013-12-19 18:03:39 +0530 | [diff] [blame] | 643 | &ecap0 { |
| 644 | status = "okay"; |
| 645 | pinctrl-names = "default"; |
| 646 | pinctrl-0 = <&ecap0_pins>; |
| 647 | }; |
Sourav Poddar | d3d46cc | 2013-12-19 18:03:40 +0530 | [diff] [blame] | 648 | |
Balaji T K | 506be3f | 2014-03-03 20:20:18 +0530 | [diff] [blame] | 649 | &gpio0 { |
Roger Quadros | 50336f5 | 2015-08-04 18:34:59 +0300 | [diff] [blame] | 650 | pinctrl-names = "default"; |
| 651 | pinctrl-0 = <&gpio0_pins>; |
Balaji T K | 506be3f | 2014-03-03 20:20:18 +0530 | [diff] [blame] | 652 | status = "okay"; |
Roger Quadros | 50336f5 | 2015-08-04 18:34:59 +0300 | [diff] [blame] | 653 | |
| 654 | p23 { |
| 655 | gpio-hog; |
| 656 | gpios = <23 GPIO_ACTIVE_HIGH>; |
| 657 | /* SelEMMCorNAND selects between eMMC and NAND: |
| 658 | * Low: NAND |
| 659 | * High: eMMC |
| 660 | * When changing this line make sure the newly |
| 661 | * selected device node is enabled and the previously |
| 662 | * selected device node is disabled. |
| 663 | */ |
| 664 | output-low; |
| 665 | line-name = "SelEMMCorNAND"; |
| 666 | }; |
Balaji T K | 506be3f | 2014-03-03 20:20:18 +0530 | [diff] [blame] | 667 | }; |
| 668 | |
Eyal Reizer | b6bbf59 | 2015-05-04 15:24:24 +0300 | [diff] [blame] | 669 | &gpio1 { |
| 670 | status = "okay"; |
| 671 | }; |
| 672 | |
Sourav Poddar | d3d46cc | 2013-12-19 18:03:40 +0530 | [diff] [blame] | 673 | &gpio3 { |
| 674 | status = "okay"; |
| 675 | }; |
| 676 | |
| 677 | &gpio4 { |
| 678 | status = "okay"; |
| 679 | }; |
Balaji T K | 506be3f | 2014-03-03 20:20:18 +0530 | [diff] [blame] | 680 | |
Dave Gerlach | 1ff3859e | 2014-03-21 10:50:13 +0530 | [diff] [blame] | 681 | &gpio5 { |
Peter Ujfalusi | 593113e | 2015-07-02 17:06:24 +0300 | [diff] [blame] | 682 | pinctrl-names = "default"; |
| 683 | pinctrl-0 = <&display_mux_pins>; |
Dave Gerlach | 1ff3859e | 2014-03-21 10:50:13 +0530 | [diff] [blame] | 684 | status = "okay"; |
| 685 | ti,no-reset-on-init; |
Peter Ujfalusi | 593113e | 2015-07-02 17:06:24 +0300 | [diff] [blame] | 686 | |
| 687 | p8 { |
| 688 | /* |
| 689 | * SelLCDorHDMI selects between display and audio paths: |
| 690 | * Low: HDMI display with audio via HDMI |
| 691 | * High: LCD display with analog audio via aic3111 codec |
| 692 | */ |
| 693 | gpio-hog; |
| 694 | gpios = <8 GPIO_ACTIVE_HIGH>; |
| 695 | output-high; |
| 696 | line-name = "SelLCDorHDMI"; |
| 697 | }; |
Dave Gerlach | 1ff3859e | 2014-03-21 10:50:13 +0530 | [diff] [blame] | 698 | }; |
| 699 | |
Balaji T K | 506be3f | 2014-03-03 20:20:18 +0530 | [diff] [blame] | 700 | &mmc1 { |
| 701 | status = "okay"; |
Peter Ujfalusi | 390810a | 2015-07-02 17:06:25 +0300 | [diff] [blame] | 702 | vmmc-supply = <&evm_v3_3d>; |
Balaji T K | 506be3f | 2014-03-03 20:20:18 +0530 | [diff] [blame] | 703 | bus-width = <4>; |
| 704 | pinctrl-names = "default"; |
| 705 | pinctrl-0 = <&mmc1_pins>; |
| 706 | cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; |
| 707 | }; |
George Cherian | b5820d3 | 2014-03-19 15:40:02 +0530 | [diff] [blame] | 708 | |
Roger Quadros | eb157c8 | 2015-08-04 18:35:00 +0300 | [diff] [blame] | 709 | /* eMMC sits on mmc2 */ |
| 710 | &mmc2 { |
| 711 | /* |
| 712 | * When enabling eMMC, disable GPMC/NAND and set |
| 713 | * SelEMMCorNAND to output-high |
| 714 | */ |
| 715 | status = "disabled"; |
| 716 | vmmc-supply = <&evm_v3_3d>; |
| 717 | bus-width = <8>; |
| 718 | pinctrl-names = "default", "sleep"; |
| 719 | pinctrl-0 = <&emmc_pins_default>; |
| 720 | pinctrl-1 = <&emmc_pins_sleep>; |
| 721 | ti,non-removable; |
| 722 | }; |
| 723 | |
Eyal Reizer | b6bbf59 | 2015-05-04 15:24:24 +0300 | [diff] [blame] | 724 | &mmc3 { |
| 725 | status = "okay"; |
| 726 | /* these are on the crossbar and are outlined in the |
| 727 | xbar-event-map element */ |
| 728 | dmas = <&edma 30 |
| 729 | &edma 31>; |
| 730 | dma-names = "tx", "rx"; |
| 731 | vmmc-supply = <&vmmcwl_fixed>; |
| 732 | bus-width = <4>; |
| 733 | pinctrl-names = "default", "sleep"; |
| 734 | pinctrl-0 = <&mmc3_pins_default>; |
| 735 | pinctrl-1 = <&mmc3_pins_sleep>; |
| 736 | cap-power-off-card; |
| 737 | keep-power-in-suspend; |
| 738 | ti,non-removable; |
| 739 | |
| 740 | #address-cells = <1>; |
| 741 | #size-cells = <0>; |
| 742 | wlcore: wlcore@0 { |
| 743 | compatible = "ti,wl1835"; |
| 744 | reg = <2>; |
| 745 | interrupt-parent = <&gpio1>; |
| 746 | interrupts = <23 IRQ_TYPE_LEVEL_HIGH>; |
| 747 | }; |
| 748 | }; |
| 749 | |
| 750 | &edma { |
| 751 | ti,edma-xbar-event-map = /bits/ 16 <1 30 |
| 752 | 2 31>; |
| 753 | }; |
| 754 | |
| 755 | &uart3 { |
| 756 | status = "okay"; |
| 757 | pinctrl-names = "default"; |
| 758 | pinctrl-0 = <&uart3_pins>; |
| 759 | }; |
| 760 | |
George Cherian | b5820d3 | 2014-03-19 15:40:02 +0530 | [diff] [blame] | 761 | &usb2_phy1 { |
| 762 | status = "okay"; |
| 763 | }; |
| 764 | |
| 765 | &usb1 { |
| 766 | dr_mode = "peripheral"; |
| 767 | status = "okay"; |
| 768 | }; |
| 769 | |
| 770 | &usb2_phy2 { |
| 771 | status = "okay"; |
| 772 | }; |
| 773 | |
| 774 | &usb2 { |
| 775 | dr_mode = "host"; |
| 776 | status = "okay"; |
| 777 | }; |
Mugunthan V N | 7b25bab | 2014-05-13 14:14:31 +0530 | [diff] [blame] | 778 | |
| 779 | &mac { |
| 780 | slaves = <1>; |
| 781 | pinctrl-names = "default", "sleep"; |
| 782 | pinctrl-0 = <&cpsw_default>; |
| 783 | pinctrl-1 = <&cpsw_sleep>; |
| 784 | status = "okay"; |
| 785 | }; |
| 786 | |
| 787 | &davinci_mdio { |
| 788 | pinctrl-names = "default", "sleep"; |
| 789 | pinctrl-0 = <&davinci_mdio_default>; |
| 790 | pinctrl-1 = <&davinci_mdio_sleep>; |
| 791 | status = "okay"; |
| 792 | }; |
| 793 | |
| 794 | &cpsw_emac0 { |
| 795 | phy_id = <&davinci_mdio>, <0>; |
| 796 | phy-mode = "rgmii"; |
| 797 | }; |
Pekon Gupta | 99ffa64 | 2014-05-19 14:45:46 +0530 | [diff] [blame] | 798 | |
| 799 | &elm { |
| 800 | status = "okay"; |
| 801 | }; |
| 802 | |
| 803 | &gpmc { |
Roger Quadros | eb157c8 | 2015-08-04 18:35:00 +0300 | [diff] [blame] | 804 | /* |
| 805 | * When enabling GPMC, disable eMMC and set |
| 806 | * SelEMMCorNAND to output-low |
| 807 | */ |
Pekon Gupta | 99ffa64 | 2014-05-19 14:45:46 +0530 | [diff] [blame] | 808 | status = "okay"; |
| 809 | pinctrl-names = "default"; |
| 810 | pinctrl-0 = <&nand_flash_x8>; |
| 811 | ranges = <0 0 0 0x01000000>; /* minimum GPMC partition = 16MB */ |
| 812 | nand@0,0 { |
| 813 | reg = <0 0 4>; /* device IO registers */ |
Roger Quadros | 6b86911 | 2014-09-02 16:57:03 +0300 | [diff] [blame] | 814 | ti,nand-ecc-opt = "bch16"; |
Pekon Gupta | 99ffa64 | 2014-05-19 14:45:46 +0530 | [diff] [blame] | 815 | ti,elm-id = <&elm>; |
| 816 | nand-bus-width = <8>; |
| 817 | gpmc,device-width = <1>; |
| 818 | gpmc,sync-clk-ps = <0>; |
| 819 | gpmc,cs-on-ns = <0>; |
| 820 | gpmc,cs-rd-off-ns = <40>; |
| 821 | gpmc,cs-wr-off-ns = <40>; |
| 822 | gpmc,adv-on-ns = <0>; |
| 823 | gpmc,adv-rd-off-ns = <25>; |
| 824 | gpmc,adv-wr-off-ns = <25>; |
| 825 | gpmc,we-on-ns = <0>; |
| 826 | gpmc,we-off-ns = <20>; |
| 827 | gpmc,oe-on-ns = <3>; |
| 828 | gpmc,oe-off-ns = <30>; |
| 829 | gpmc,access-ns = <30>; |
| 830 | gpmc,rd-cycle-ns = <40>; |
| 831 | gpmc,wr-cycle-ns = <40>; |
| 832 | gpmc,wait-pin = <0>; |
Pekon Gupta | 99ffa64 | 2014-05-19 14:45:46 +0530 | [diff] [blame] | 833 | gpmc,bus-turnaround-ns = <0>; |
| 834 | gpmc,cycle2cycle-delay-ns = <0>; |
| 835 | gpmc,clk-activation-ns = <0>; |
| 836 | gpmc,wait-monitoring-ns = <0>; |
| 837 | gpmc,wr-access-ns = <40>; |
| 838 | gpmc,wr-data-mux-bus-ns = <0>; |
| 839 | /* MTD partition table */ |
| 840 | /* All SPL-* partitions are sized to minimal length |
| 841 | * which can be independently programmable. For |
| 842 | * NAND flash this is equal to size of erase-block */ |
| 843 | #address-cells = <1>; |
| 844 | #size-cells = <1>; |
| 845 | partition@0 { |
| 846 | label = "NAND.SPL"; |
| 847 | reg = <0x00000000 0x00040000>; |
| 848 | }; |
| 849 | partition@1 { |
| 850 | label = "NAND.SPL.backup1"; |
| 851 | reg = <0x00040000 0x00040000>; |
| 852 | }; |
| 853 | partition@2 { |
| 854 | label = "NAND.SPL.backup2"; |
| 855 | reg = <0x00080000 0x00040000>; |
| 856 | }; |
| 857 | partition@3 { |
| 858 | label = "NAND.SPL.backup3"; |
| 859 | reg = <0x000c0000 0x00040000>; |
| 860 | }; |
| 861 | partition@4 { |
| 862 | label = "NAND.u-boot-spl-os"; |
| 863 | reg = <0x00100000 0x00080000>; |
| 864 | }; |
| 865 | partition@5 { |
| 866 | label = "NAND.u-boot"; |
| 867 | reg = <0x00180000 0x00100000>; |
| 868 | }; |
| 869 | partition@6 { |
| 870 | label = "NAND.u-boot-env"; |
| 871 | reg = <0x00280000 0x00040000>; |
| 872 | }; |
| 873 | partition@7 { |
| 874 | label = "NAND.u-boot-env.backup1"; |
| 875 | reg = <0x002c0000 0x00040000>; |
| 876 | }; |
| 877 | partition@8 { |
| 878 | label = "NAND.kernel"; |
| 879 | reg = <0x00300000 0x00700000>; |
| 880 | }; |
| 881 | partition@9 { |
| 882 | label = "NAND.file-system"; |
| 883 | reg = <0x00a00000 0x1f600000>; |
| 884 | }; |
| 885 | }; |
| 886 | }; |
Sathya Prakash M R | 0bacb52 | 2014-03-24 16:31:56 +0530 | [diff] [blame] | 887 | |
| 888 | &dss { |
| 889 | status = "ok"; |
| 890 | |
| 891 | pinctrl-names = "default"; |
| 892 | pinctrl-0 = <&dss_pins>; |
| 893 | |
| 894 | port { |
| 895 | dpi_out: endpoint@0 { |
| 896 | remote-endpoint = <&lcd_in>; |
| 897 | data-lines = <24>; |
| 898 | }; |
| 899 | }; |
| 900 | }; |
Mugunthan V N | 4b1ce23 | 2014-07-18 11:29:11 +0530 | [diff] [blame] | 901 | |
| 902 | &dcan0 { |
Roger Quadros | f95b106 | 2015-08-18 17:01:57 +0300 | [diff] [blame^] | 903 | pinctrl-names = "default", "sleep"; |
Mugunthan V N | 4b1ce23 | 2014-07-18 11:29:11 +0530 | [diff] [blame] | 904 | pinctrl-0 = <&dcan0_default>; |
Roger Quadros | f95b106 | 2015-08-18 17:01:57 +0300 | [diff] [blame^] | 905 | pinctrl-1 = <&dcan0_sleep>; |
Mugunthan V N | 4b1ce23 | 2014-07-18 11:29:11 +0530 | [diff] [blame] | 906 | status = "okay"; |
| 907 | }; |
| 908 | |
| 909 | &dcan1 { |
Roger Quadros | f95b106 | 2015-08-18 17:01:57 +0300 | [diff] [blame^] | 910 | pinctrl-names = "default", "sleep"; |
Mugunthan V N | 4b1ce23 | 2014-07-18 11:29:11 +0530 | [diff] [blame] | 911 | pinctrl-0 = <&dcan1_default>; |
Roger Quadros | f95b106 | 2015-08-18 17:01:57 +0300 | [diff] [blame^] | 912 | pinctrl-1 = <&dcan1_sleep>; |
Mugunthan V N | 4b1ce23 | 2014-07-18 11:29:11 +0530 | [diff] [blame] | 913 | status = "okay"; |
| 914 | }; |
Benoit Parrot | c788a7f | 2014-12-18 21:54:14 +0530 | [diff] [blame] | 915 | |
| 916 | &vpfe0 { |
| 917 | status = "okay"; |
| 918 | pinctrl-names = "default", "sleep"; |
| 919 | pinctrl-0 = <&vpfe0_pins_default>; |
| 920 | pinctrl-1 = <&vpfe0_pins_sleep>; |
| 921 | |
| 922 | port { |
| 923 | vpfe0_ep: endpoint { |
Lad, Prabhakar | 3aa5920 | 2015-03-12 23:38:21 +0000 | [diff] [blame] | 924 | remote-endpoint = <&ov2659_1>; |
Benoit Parrot | c788a7f | 2014-12-18 21:54:14 +0530 | [diff] [blame] | 925 | ti,am437x-vpfe-interface = <0>; |
| 926 | bus-width = <8>; |
| 927 | hsync-active = <0>; |
| 928 | vsync-active = <0>; |
| 929 | }; |
| 930 | }; |
| 931 | }; |
| 932 | |
| 933 | &vpfe1 { |
| 934 | status = "okay"; |
| 935 | pinctrl-names = "default", "sleep"; |
| 936 | pinctrl-0 = <&vpfe1_pins_default>; |
| 937 | pinctrl-1 = <&vpfe1_pins_sleep>; |
| 938 | |
| 939 | port { |
| 940 | vpfe1_ep: endpoint { |
Lad, Prabhakar | 3aa5920 | 2015-03-12 23:38:21 +0000 | [diff] [blame] | 941 | remote-endpoint = <&ov2659_0>; |
Benoit Parrot | c788a7f | 2014-12-18 21:54:14 +0530 | [diff] [blame] | 942 | ti,am437x-vpfe-interface = <0>; |
| 943 | bus-width = <8>; |
| 944 | hsync-active = <0>; |
| 945 | vsync-active = <0>; |
| 946 | }; |
| 947 | }; |
| 948 | }; |
Peter Ujfalusi | d3d92af | 2015-07-02 17:06:27 +0300 | [diff] [blame] | 949 | |
| 950 | &mcasp1 { |
Peter Ujfalusi | cf9a485 | 2015-07-02 17:06:28 +0300 | [diff] [blame] | 951 | #sound-dai-cells = <0>; |
Peter Ujfalusi | d3d92af | 2015-07-02 17:06:27 +0300 | [diff] [blame] | 952 | pinctrl-names = "default", "sleep"; |
| 953 | pinctrl-0 = <&mcasp1_pins>; |
| 954 | pinctrl-1 = <&mcasp1_sleep_pins>; |
| 955 | |
| 956 | status = "okay"; |
| 957 | |
| 958 | op-mode = <0>; /* MCASP_IIS_MODE */ |
| 959 | tdm-slots = <2>; |
| 960 | /* 4 serializers */ |
| 961 | serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ |
| 962 | 0 0 1 2 |
| 963 | >; |
| 964 | tx-num-evt = <32>; |
| 965 | rx-num-evt = <32>; |
| 966 | }; |
Keerthy | fff51e7 | 2015-08-18 15:11:14 +0530 | [diff] [blame] | 967 | |
| 968 | &rtc { |
| 969 | clocks = <&clk_32k_rtc>, <&clk_32768_ck>; |
| 970 | clock-names = "ext-clk", "int-clk"; |
| 971 | status = "okay"; |
| 972 | }; |