R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +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 | /dts-v1/; |
| 9 | |
Rajendra Nayak | 38b248d | 2014-04-29 16:35:10 +0530 | [diff] [blame] | 10 | #include "dra74x.dtsi" |
Lokesh Vutla | 895bd4b | 2017-08-12 09:36:05 +0530 | [diff] [blame] | 11 | #include "dra7-evm-common.dtsi" |
Kishon Vijay Abraham I | 8d55881 | 2017-08-16 19:15:01 +0530 | [diff] [blame] | 12 | #include "dra74x-mmc-iodelay.dtsi" |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 13 | |
| 14 | / { |
Rajendra Nayak | 38b248d | 2014-04-29 16:35:10 +0530 | [diff] [blame] | 15 | model = "TI DRA742"; |
| 16 | compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7"; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 17 | |
Javier Martinez Canillas | 5c4d9f0 | 2016-08-31 12:35:37 +0200 | [diff] [blame] | 18 | memory@0 { |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 19 | device_type = "memory"; |
Lokesh Vutla | dae320e | 2016-02-24 15:41:04 +0530 | [diff] [blame] | 20 | reg = <0x0 0x80000000 0x0 0x60000000>; /* 1536 MB */ |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 21 | }; |
Balaji T K | 6cf02db | 2013-10-07 21:55:04 +0530 | [diff] [blame] | 22 | |
Ravikumar Kattekola | b5ca62a | 2017-06-07 15:07:46 +0530 | [diff] [blame] | 23 | evm_1v8_sw: fixedregulator-evm_1v8 { |
| 24 | compatible = "regulator-fixed"; |
| 25 | regulator-name = "evm_1v8"; |
| 26 | vin-supply = <&smps9_reg>; |
| 27 | regulator-min-microvolt = <1800000>; |
| 28 | regulator-max-microvolt = <1800000>; |
| 29 | }; |
| 30 | |
Balaji T K | 4b93521 | 2015-07-30 13:43:35 +0530 | [diff] [blame] | 31 | evm_3v3_sd: fixedregulator-sd { |
| 32 | compatible = "regulator-fixed"; |
| 33 | regulator-name = "evm_3v3_sd"; |
| 34 | regulator-min-microvolt = <3300000>; |
| 35 | regulator-max-microvolt = <3300000>; |
| 36 | enable-active-high; |
| 37 | gpio = <&pcf_gpio_21 5 GPIO_ACTIVE_HIGH>; |
| 38 | }; |
| 39 | |
Peter Ujfalusi | 27f39e5 | 2015-08-24 10:19:59 +0300 | [diff] [blame] | 40 | evm_3v3_sw: fixedregulator-evm_3v3_sw { |
Balaji T K | 6cf02db | 2013-10-07 21:55:04 +0530 | [diff] [blame] | 41 | compatible = "regulator-fixed"; |
Peter Ujfalusi | 27f39e5 | 2015-08-24 10:19:59 +0300 | [diff] [blame] | 42 | regulator-name = "evm_3v3_sw"; |
Nishanth Menon | 8695add | 2016-03-03 08:49:48 +0530 | [diff] [blame] | 43 | vin-supply = <&sysen1>; |
Balaji T K | 6cf02db | 2013-10-07 21:55:04 +0530 | [diff] [blame] | 44 | regulator-min-microvolt = <3300000>; |
| 45 | regulator-max-microvolt = <3300000>; |
| 46 | }; |
Lokesh Vutla | c7cc9ba | 2014-09-04 08:23:28 -0500 | [diff] [blame] | 47 | |
Peter Ujfalusi | d681822 | 2015-08-24 10:20:00 +0300 | [diff] [blame] | 48 | aic_dvdd: fixedregulator-aic_dvdd { |
| 49 | /* TPS77018DBVT */ |
| 50 | compatible = "regulator-fixed"; |
| 51 | regulator-name = "aic_dvdd"; |
| 52 | vin-supply = <&evm_3v3_sw>; |
| 53 | regulator-min-microvolt = <1800000>; |
| 54 | regulator-max-microvolt = <1800000>; |
| 55 | }; |
| 56 | |
Roger Quadros | 87517d2 | 2015-01-26 14:15:28 +0200 | [diff] [blame] | 57 | extcon_usb2: extcon_usb2 { |
| 58 | compatible = "linux,extcon-usb-gpio"; |
| 59 | id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>; |
| 60 | }; |
| 61 | |
Lokesh Vutla | c7cc9ba | 2014-09-04 08:23:28 -0500 | [diff] [blame] | 62 | vtt_fixed: fixedregulator-vtt { |
| 63 | compatible = "regulator-fixed"; |
| 64 | regulator-name = "vtt_fixed"; |
| 65 | regulator-min-microvolt = <1350000>; |
| 66 | regulator-max-microvolt = <1350000>; |
| 67 | regulator-always-on; |
| 68 | regulator-boot-on; |
| 69 | enable-active-high; |
Nishanth Menon | 8695add | 2016-03-03 08:49:48 +0530 | [diff] [blame] | 70 | vin-supply = <&sysen2>; |
Lokesh Vutla | c7cc9ba | 2014-09-04 08:23:28 -0500 | [diff] [blame] | 71 | gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>; |
| 72 | }; |
Peter Ujfalusi | a9347bf | 2015-08-24 10:20:02 +0300 | [diff] [blame] | 73 | |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 74 | }; |
| 75 | |
| 76 | &dra7_pmx_core { |
Roger Quadros | b41502e | 2014-08-15 16:09:19 +0300 | [diff] [blame] | 77 | dcan1_pins_default: dcan1_pins_default { |
| 78 | pinctrl-single,pins = < |
Javier Martinez Canillas | c78be3d | 2015-11-13 01:53:59 -0300 | [diff] [blame] | 79 | DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */ |
| 80 | DRA7XX_CORE_IOPAD(0x3818, PULL_UP | MUX_MODE1) /* wakeup0.dcan1_rx */ |
Roger Quadros | b41502e | 2014-08-15 16:09:19 +0300 | [diff] [blame] | 81 | >; |
| 82 | }; |
| 83 | |
| 84 | dcan1_pins_sleep: dcan1_pins_sleep { |
| 85 | pinctrl-single,pins = < |
Javier Martinez Canillas | c78be3d | 2015-11-13 01:53:59 -0300 | [diff] [blame] | 86 | DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */ |
| 87 | DRA7XX_CORE_IOPAD(0x3818, MUX_MODE15 | PULL_UP) /* wakeup0.off */ |
Roger Quadros | b41502e | 2014-08-15 16:09:19 +0300 | [diff] [blame] | 88 | >; |
| 89 | }; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 90 | }; |
| 91 | |
| 92 | &i2c1 { |
| 93 | status = "okay"; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 94 | clock-frequency = <400000>; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 95 | |
| 96 | tps659038: tps659038@58 { |
| 97 | compatible = "ti,tps659038"; |
| 98 | reg = <0x58>; |
Keerthy | 7c62de5 | 2017-04-13 10:21:21 +0530 | [diff] [blame] | 99 | ti,palmas-override-powerhold; |
| 100 | ti,system-power-controller; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 101 | |
| 102 | tps659038_pmic { |
| 103 | compatible = "ti,tps659038-pmic"; |
| 104 | |
| 105 | regulators { |
| 106 | smps123_reg: smps123 { |
| 107 | /* VDD_MPU */ |
| 108 | regulator-name = "smps123"; |
| 109 | regulator-min-microvolt = < 850000>; |
| 110 | regulator-max-microvolt = <1250000>; |
| 111 | regulator-always-on; |
| 112 | regulator-boot-on; |
| 113 | }; |
| 114 | |
| 115 | smps45_reg: smps45 { |
| 116 | /* VDD_DSPEVE */ |
| 117 | regulator-name = "smps45"; |
| 118 | regulator-min-microvolt = < 850000>; |
Nishanth Menon | 54d03c5 | 2016-04-20 03:18:39 -0500 | [diff] [blame] | 119 | regulator-max-microvolt = <1250000>; |
Nishanth Menon | 395b23c | 2014-10-21 09:38:10 -0500 | [diff] [blame] | 120 | regulator-always-on; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 121 | regulator-boot-on; |
| 122 | }; |
| 123 | |
| 124 | smps6_reg: smps6 { |
| 125 | /* VDD_GPU - over VDD_SMPS6 */ |
| 126 | regulator-name = "smps6"; |
| 127 | regulator-min-microvolt = <850000>; |
Ravikumar Kattekola | d114e85 | 2014-12-03 17:33:56 +0530 | [diff] [blame] | 128 | regulator-max-microvolt = <1250000>; |
Nishanth Menon | 395b23c | 2014-10-21 09:38:10 -0500 | [diff] [blame] | 129 | regulator-always-on; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 130 | regulator-boot-on; |
| 131 | }; |
| 132 | |
| 133 | smps7_reg: smps7 { |
| 134 | /* CORE_VDD */ |
| 135 | regulator-name = "smps7"; |
| 136 | regulator-min-microvolt = <850000>; |
Nishanth Menon | 54d03c5 | 2016-04-20 03:18:39 -0500 | [diff] [blame] | 137 | regulator-max-microvolt = <1150000>; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 138 | regulator-always-on; |
| 139 | regulator-boot-on; |
| 140 | }; |
| 141 | |
| 142 | smps8_reg: smps8 { |
| 143 | /* VDD_IVAHD */ |
| 144 | regulator-name = "smps8"; |
| 145 | regulator-min-microvolt = < 850000>; |
| 146 | regulator-max-microvolt = <1250000>; |
Nishanth Menon | 395b23c | 2014-10-21 09:38:10 -0500 | [diff] [blame] | 147 | regulator-always-on; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 148 | regulator-boot-on; |
| 149 | }; |
| 150 | |
| 151 | smps9_reg: smps9 { |
| 152 | /* VDDS1V8 */ |
| 153 | regulator-name = "smps9"; |
| 154 | regulator-min-microvolt = <1800000>; |
| 155 | regulator-max-microvolt = <1800000>; |
| 156 | regulator-always-on; |
| 157 | regulator-boot-on; |
| 158 | }; |
| 159 | |
| 160 | ldo1_reg: ldo1 { |
| 161 | /* LDO1_OUT --> SDIO */ |
| 162 | regulator-name = "ldo1"; |
| 163 | regulator-min-microvolt = <1800000>; |
| 164 | regulator-max-microvolt = <3300000>; |
Kishon Vijay Abraham I | 9f04cee | 2015-07-30 13:43:39 +0530 | [diff] [blame] | 165 | regulator-always-on; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 166 | regulator-boot-on; |
| 167 | }; |
| 168 | |
| 169 | ldo2_reg: ldo2 { |
| 170 | /* VDD_RTCIO */ |
| 171 | /* LDO2 -> VDDSHV5, LDO2 also goes to CAN_PHY_3V3 */ |
| 172 | regulator-name = "ldo2"; |
| 173 | regulator-min-microvolt = <3300000>; |
| 174 | regulator-max-microvolt = <3300000>; |
Nishanth Menon | 395b23c | 2014-10-21 09:38:10 -0500 | [diff] [blame] | 175 | regulator-always-on; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 176 | regulator-boot-on; |
| 177 | }; |
| 178 | |
| 179 | ldo3_reg: ldo3 { |
| 180 | /* VDDA_1V8_PHY */ |
| 181 | regulator-name = "ldo3"; |
| 182 | regulator-min-microvolt = <1800000>; |
| 183 | regulator-max-microvolt = <1800000>; |
Roger Quadros | e120fb4 | 2014-07-04 12:55:43 +0300 | [diff] [blame] | 184 | regulator-always-on; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 185 | regulator-boot-on; |
| 186 | }; |
| 187 | |
| 188 | ldo9_reg: ldo9 { |
| 189 | /* VDD_RTC */ |
| 190 | regulator-name = "ldo9"; |
| 191 | regulator-min-microvolt = <1050000>; |
| 192 | regulator-max-microvolt = <1050000>; |
Nishanth Menon | 395b23c | 2014-10-21 09:38:10 -0500 | [diff] [blame] | 193 | regulator-always-on; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 194 | regulator-boot-on; |
Keerthy | fcf5895 | 2015-12-14 12:06:57 +0530 | [diff] [blame] | 195 | regulator-allow-bypass; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 196 | }; |
| 197 | |
| 198 | ldoln_reg: ldoln { |
| 199 | /* VDDA_1V8_PLL */ |
| 200 | regulator-name = "ldoln"; |
| 201 | regulator-min-microvolt = <1800000>; |
| 202 | regulator-max-microvolt = <1800000>; |
| 203 | regulator-always-on; |
| 204 | regulator-boot-on; |
| 205 | }; |
| 206 | |
| 207 | ldousb_reg: ldousb { |
| 208 | /* VDDA_3V_USB: VDDA_USBHS33 */ |
| 209 | regulator-name = "ldousb"; |
| 210 | regulator-min-microvolt = <3300000>; |
| 211 | regulator-max-microvolt = <3300000>; |
| 212 | regulator-boot-on; |
| 213 | }; |
Nishanth Menon | 8695add | 2016-03-03 08:49:48 +0530 | [diff] [blame] | 214 | |
| 215 | /* REGEN1 is unused */ |
| 216 | |
| 217 | regen2: regen2 { |
| 218 | /* Needed for PMIC internal resources */ |
| 219 | regulator-name = "regen2"; |
| 220 | regulator-boot-on; |
| 221 | regulator-always-on; |
| 222 | }; |
| 223 | |
| 224 | /* REGEN3 is unused */ |
| 225 | |
| 226 | sysen1: sysen1 { |
| 227 | /* PMIC_REGEN_3V3 */ |
| 228 | regulator-name = "sysen1"; |
| 229 | regulator-boot-on; |
| 230 | regulator-always-on; |
| 231 | }; |
| 232 | |
| 233 | sysen2: sysen2 { |
| 234 | /* PMIC_REGEN_DDR */ |
| 235 | regulator-name = "sysen2"; |
| 236 | regulator-boot-on; |
| 237 | regulator-always-on; |
| 238 | }; |
Keerthy | c56a831 | 2013-08-26 11:06:51 +0530 | [diff] [blame] | 239 | }; |
| 240 | }; |
| 241 | }; |
Roger Quadros | 87517d2 | 2015-01-26 14:15:28 +0200 | [diff] [blame] | 242 | |
Grygorii Strashko | 4fbdc6a | 2015-08-27 18:20:45 +0300 | [diff] [blame] | 243 | pcf_lcd: gpio@20 { |
Roger Quadros | 86f196f | 2016-04-25 15:53:54 +0300 | [diff] [blame] | 244 | compatible = "ti,pcf8575", "nxp,pcf8575"; |
Grygorii Strashko | 4fbdc6a | 2015-08-27 18:20:45 +0300 | [diff] [blame] | 245 | reg = <0x20>; |
| 246 | gpio-controller; |
| 247 | #gpio-cells = <2>; |
| 248 | interrupt-parent = <&gpio6>; |
| 249 | interrupts = <11 IRQ_TYPE_EDGE_FALLING>; |
| 250 | interrupt-controller; |
| 251 | #interrupt-cells = <2>; |
| 252 | }; |
| 253 | |
Roger Quadros | 87517d2 | 2015-01-26 14:15:28 +0200 | [diff] [blame] | 254 | pcf_gpio_21: gpio@21 { |
Roger Quadros | 86f196f | 2016-04-25 15:53:54 +0300 | [diff] [blame] | 255 | compatible = "ti,pcf8575", "nxp,pcf8575"; |
Roger Quadros | 87517d2 | 2015-01-26 14:15:28 +0200 | [diff] [blame] | 256 | reg = <0x21>; |
| 257 | lines-initial-states = <0x1408>; |
| 258 | gpio-controller; |
| 259 | #gpio-cells = <2>; |
| 260 | interrupt-parent = <&gpio6>; |
| 261 | interrupts = <11 IRQ_TYPE_EDGE_FALLING>; |
| 262 | interrupt-controller; |
| 263 | #interrupt-cells = <2>; |
| 264 | }; |
| 265 | |
Peter Ujfalusi | a9347bf | 2015-08-24 10:20:02 +0300 | [diff] [blame] | 266 | tlv320aic3106: tlv320aic3106@19 { |
| 267 | #sound-dai-cells = <0>; |
| 268 | compatible = "ti,tlv320aic3106"; |
| 269 | reg = <0x19>; |
| 270 | adc-settle-ms = <40>; |
| 271 | ai3x-micbias-vg = <1>; /* 2.0V */ |
| 272 | status = "okay"; |
| 273 | |
| 274 | /* Regulators */ |
| 275 | AVDD-supply = <&evm_3v3_sw>; |
| 276 | IOVDD-supply = <&evm_3v3_sw>; |
| 277 | DRVDD-supply = <&evm_3v3_sw>; |
| 278 | DVDD-supply = <&aic_dvdd>; |
| 279 | }; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 280 | }; |
| 281 | |
| 282 | &i2c2 { |
| 283 | status = "okay"; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 284 | clock-frequency = <400000>; |
Peter Ujfalusi | c5d294d | 2015-08-24 10:20:01 +0300 | [diff] [blame] | 285 | |
| 286 | pcf_hdmi: gpio@26 { |
Roger Quadros | 86f196f | 2016-04-25 15:53:54 +0300 | [diff] [blame] | 287 | compatible = "ti,pcf8575", "nxp,pcf8575"; |
Peter Ujfalusi | c5d294d | 2015-08-24 10:20:01 +0300 | [diff] [blame] | 288 | reg = <0x26>; |
| 289 | gpio-controller; |
| 290 | #gpio-cells = <2>; |
| 291 | p1 { |
| 292 | /* vin6_sel_s0: high: VIN6, low: audio */ |
| 293 | gpio-hog; |
| 294 | gpios = <1 GPIO_ACTIVE_HIGH>; |
| 295 | output-low; |
| 296 | line-name = "vin6_sel_s0"; |
| 297 | }; |
| 298 | }; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 299 | }; |
| 300 | |
Balaji T K | bf1788d | 2013-10-07 21:55:03 +0530 | [diff] [blame] | 301 | &mmc1 { |
| 302 | status = "okay"; |
Balaji T K | 4b93521 | 2015-07-30 13:43:35 +0530 | [diff] [blame] | 303 | vmmc-supply = <&evm_3v3_sd>; |
Kishon Vijay Abraham I | 45ea75e | 2017-06-09 17:38:18 +0530 | [diff] [blame] | 304 | vqmmc-supply = <&ldo1_reg>; |
Balaji T K | bf1788d | 2013-10-07 21:55:03 +0530 | [diff] [blame] | 305 | bus-width = <4>; |
Nishanth Menon | f4eaf9e | 2015-07-30 13:43:37 +0530 | [diff] [blame] | 306 | /* |
| 307 | * SDCD signal is not being used here - using the fact that GPIO mode |
| 308 | * is always hardwired. |
| 309 | */ |
Mugunthan V N | 267068d | 2015-10-12 14:37:12 +0530 | [diff] [blame] | 310 | cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; |
Kishon Vijay Abraham I | 8d55881 | 2017-08-16 19:15:01 +0530 | [diff] [blame] | 311 | pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50-rev11", "sdr104-rev11", "ddr50", "sdr104"; |
| 312 | pinctrl-0 = <&mmc1_pins_default>; |
| 313 | pinctrl-1 = <&mmc1_pins_hs>; |
| 314 | pinctrl-2 = <&mmc1_pins_sdr12>; |
| 315 | pinctrl-3 = <&mmc1_pins_sdr25>; |
| 316 | pinctrl-4 = <&mmc1_pins_sdr50>; |
| 317 | pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev11_conf>; |
| 318 | pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev11_conf>; |
| 319 | pinctrl-7 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>; |
| 320 | pinctrl-8 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>; |
Balaji T K | bf1788d | 2013-10-07 21:55:03 +0530 | [diff] [blame] | 321 | }; |
Balaji T K | 6cf02db | 2013-10-07 21:55:04 +0530 | [diff] [blame] | 322 | |
| 323 | &mmc2 { |
| 324 | status = "okay"; |
Ravikumar Kattekola | b5ca62a | 2017-06-07 15:07:46 +0530 | [diff] [blame] | 325 | vmmc-supply = <&evm_1v8_sw>; |
Kishon Vijay Abraham I | a9aa4e6 | 2018-02-06 18:27:59 +0530 | [diff] [blame^] | 326 | vqmmc-supply = <&evm_1v8_sw>; |
Balaji T K | 6cf02db | 2013-10-07 21:55:04 +0530 | [diff] [blame] | 327 | bus-width = <8>; |
Kishon Vijay Abraham I | 8d55881 | 2017-08-16 19:15:01 +0530 | [diff] [blame] | 328 | pinctrl-names = "default", "hs", "ddr_1_8v-rev11", "ddr_1_8v", "hs200_1_8v-rev11", "hs200_1_8v"; |
| 329 | pinctrl-0 = <&mmc2_pins_default>; |
| 330 | pinctrl-1 = <&mmc2_pins_hs>; |
| 331 | pinctrl-2 = <&mmc2_pins_ddr_1_8v_rev11 &mmc2_iodelay_ddr_1_8v_rev11_conf>; |
| 332 | pinctrl-3 = <&mmc2_pins_ddr_rev20>; |
| 333 | pinctrl-4 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev11_conf>; |
| 334 | pinctrl-5 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev20_conf>; |
Balaji T K | 6cf02db | 2013-10-07 21:55:04 +0530 | [diff] [blame] | 335 | }; |
J Keerthy | 22f1e7e | 2013-10-16 10:39:05 -0500 | [diff] [blame] | 336 | |
| 337 | &cpu0 { |
Dave Gerlach | fea79e0 | 2017-12-19 09:24:23 -0600 | [diff] [blame] | 338 | vdd-supply = <&smps123_reg>; |
J Keerthy | 22f1e7e | 2013-10-16 10:39:05 -0500 | [diff] [blame] | 339 | }; |
Sourav Poddar | dc2dd5b | 2014-05-06 16:37:24 +0530 | [diff] [blame] | 340 | |
Roger Quadros | a7b0aa1 | 2015-03-17 11:43:51 +0200 | [diff] [blame] | 341 | &omap_dwc3_2 { |
| 342 | extcon = <&extcon_usb2>; |
| 343 | }; |
| 344 | |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 345 | &elm { |
| 346 | status = "okay"; |
| 347 | }; |
| 348 | |
| 349 | &gpmc { |
Sekhar Nori | d888e9d | 2016-12-13 16:59:45 +0530 | [diff] [blame] | 350 | /* |
| 351 | * For the existing IOdelay configuration via U-Boot we don't |
| 352 | * support NAND on dra7-evm. Keep it disabled. Enabling it |
| 353 | * requires a different configuration by U-Boot. |
| 354 | */ |
| 355 | status = "disabled"; |
Roger Quadros | 488f270d | 2016-02-23 18:37:17 +0200 | [diff] [blame] | 356 | ranges = <0 0 0x08000000 0x01000000>; /* minimum GPMC partition = 16MB */ |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 357 | nand@0,0 { |
Roger Quadros | 488f270d | 2016-02-23 18:37:17 +0200 | [diff] [blame] | 358 | compatible = "ti,omap2-nand"; |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 359 | reg = <0 0 4>; /* device IO registers */ |
Roger Quadros | 488f270d | 2016-02-23 18:37:17 +0200 | [diff] [blame] | 360 | interrupt-parent = <&gpmc>; |
| 361 | interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ |
| 362 | <1 IRQ_TYPE_NONE>; /* termcount */ |
Roger Quadros | a23fc15 | 2016-04-07 13:25:37 +0300 | [diff] [blame] | 363 | rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */ |
Franklin S Cooper Jr | a46394b | 2017-07-25 21:15:52 -0500 | [diff] [blame] | 364 | ti,nand-xfer-type = "prefetch-dma"; |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 365 | ti,nand-ecc-opt = "bch8"; |
| 366 | ti,elm-id = <&elm>; |
| 367 | nand-bus-width = <16>; |
| 368 | gpmc,device-width = <2>; |
| 369 | gpmc,sync-clk-ps = <0>; |
| 370 | gpmc,cs-on-ns = <0>; |
Roger Quadros | 5990047 | 2014-09-10 08:57:11 -0700 | [diff] [blame] | 371 | gpmc,cs-rd-off-ns = <80>; |
| 372 | gpmc,cs-wr-off-ns = <80>; |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 373 | gpmc,adv-on-ns = <0>; |
Roger Quadros | 5990047 | 2014-09-10 08:57:11 -0700 | [diff] [blame] | 374 | gpmc,adv-rd-off-ns = <60>; |
| 375 | gpmc,adv-wr-off-ns = <60>; |
| 376 | gpmc,we-on-ns = <10>; |
| 377 | gpmc,we-off-ns = <50>; |
| 378 | gpmc,oe-on-ns = <4>; |
| 379 | gpmc,oe-off-ns = <40>; |
| 380 | gpmc,access-ns = <40>; |
| 381 | gpmc,wr-access-ns = <80>; |
| 382 | gpmc,rd-cycle-ns = <80>; |
| 383 | gpmc,wr-cycle-ns = <80>; |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 384 | gpmc,bus-turnaround-ns = <0>; |
| 385 | gpmc,cycle2cycle-delay-ns = <0>; |
| 386 | gpmc,clk-activation-ns = <0>; |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 387 | gpmc,wr-data-mux-bus-ns = <0>; |
| 388 | /* MTD partition table */ |
| 389 | /* All SPL-* partitions are sized to minimal length |
| 390 | * which can be independently programmable. For |
| 391 | * NAND flash this is equal to size of erase-block */ |
| 392 | #address-cells = <1>; |
| 393 | #size-cells = <1>; |
| 394 | partition@0 { |
| 395 | label = "NAND.SPL"; |
| 396 | reg = <0x00000000 0x000020000>; |
| 397 | }; |
| 398 | partition@1 { |
| 399 | label = "NAND.SPL.backup1"; |
| 400 | reg = <0x00020000 0x00020000>; |
| 401 | }; |
| 402 | partition@2 { |
| 403 | label = "NAND.SPL.backup2"; |
| 404 | reg = <0x00040000 0x00020000>; |
| 405 | }; |
| 406 | partition@3 { |
| 407 | label = "NAND.SPL.backup3"; |
| 408 | reg = <0x00060000 0x00020000>; |
| 409 | }; |
| 410 | partition@4 { |
| 411 | label = "NAND.u-boot-spl-os"; |
| 412 | reg = <0x00080000 0x00040000>; |
| 413 | }; |
| 414 | partition@5 { |
| 415 | label = "NAND.u-boot"; |
| 416 | reg = <0x000c0000 0x00100000>; |
| 417 | }; |
| 418 | partition@6 { |
| 419 | label = "NAND.u-boot-env"; |
| 420 | reg = <0x001c0000 0x00020000>; |
| 421 | }; |
| 422 | partition@7 { |
Roger Quadros | f0e9fab | 2014-09-03 14:17:32 +0300 | [diff] [blame] | 423 | label = "NAND.u-boot-env.backup1"; |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 424 | reg = <0x001e0000 0x00020000>; |
| 425 | }; |
| 426 | partition@8 { |
| 427 | label = "NAND.kernel"; |
| 428 | reg = <0x00200000 0x00800000>; |
| 429 | }; |
| 430 | partition@9 { |
| 431 | label = "NAND.file-system"; |
| 432 | reg = <0x00a00000 0x0f600000>; |
| 433 | }; |
| 434 | }; |
| 435 | }; |
Roger Quadros | ae28ea8 | 2014-06-30 14:00:38 +0300 | [diff] [blame] | 436 | |
| 437 | &usb2_phy1 { |
| 438 | phy-supply = <&ldousb_reg>; |
| 439 | }; |
| 440 | |
| 441 | &usb2_phy2 { |
| 442 | phy-supply = <&ldousb_reg>; |
| 443 | }; |
Lokesh Vutla | c7cc9ba | 2014-09-04 08:23:28 -0500 | [diff] [blame] | 444 | |
| 445 | &gpio7 { |
| 446 | ti,no-reset-on-init; |
| 447 | ti,no-idle-on-init; |
| 448 | }; |
Mugunthan V N | 8d03929 | 2014-10-21 15:31:01 +0530 | [diff] [blame] | 449 | |
| 450 | &mac { |
| 451 | status = "okay"; |
Mugunthan V N | 8d03929 | 2014-10-21 15:31:01 +0530 | [diff] [blame] | 452 | dual_emac; |
| 453 | }; |
| 454 | |
| 455 | &cpsw_emac0 { |
| 456 | phy_id = <&davinci_mdio>, <2>; |
| 457 | phy-mode = "rgmii"; |
| 458 | dual_emac_res_vlan = <1>; |
| 459 | }; |
| 460 | |
| 461 | &cpsw_emac1 { |
| 462 | phy_id = <&davinci_mdio>, <3>; |
| 463 | phy-mode = "rgmii"; |
| 464 | dual_emac_res_vlan = <2>; |
| 465 | }; |
| 466 | |
Roger Quadros | b41502e | 2014-08-15 16:09:19 +0300 | [diff] [blame] | 467 | &dcan1 { |
| 468 | status = "ok"; |
Roger Quadros | 2acb5c3 | 2015-07-07 17:27:57 +0300 | [diff] [blame] | 469 | pinctrl-names = "default", "sleep", "active"; |
| 470 | pinctrl-0 = <&dcan1_pins_sleep>; |
Roger Quadros | b41502e | 2014-08-15 16:09:19 +0300 | [diff] [blame] | 471 | pinctrl-1 = <&dcan1_pins_sleep>; |
Roger Quadros | 2acb5c3 | 2015-07-07 17:27:57 +0300 | [diff] [blame] | 472 | pinctrl-2 = <&dcan1_pins_default>; |
Roger Quadros | b41502e | 2014-08-15 16:09:19 +0300 | [diff] [blame] | 473 | }; |