Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 1 | /include/ "tegra30.dtsi" |
| 2 | |
Laxman Dewangan | 640a7af | 2012-08-09 16:30:38 +0530 | [diff] [blame] | 3 | /** |
| 4 | * This file contains common DT entry for all fab version of Cardhu. |
| 5 | * There is multiple fab version of Cardhu starting from A01 to A07. |
| 6 | * Cardhu fab version A01 and A03 are not supported. Cardhu fab version |
| 7 | * A02 will have different sets of GPIOs for fixed regulator compare to |
| 8 | * Cardhu fab version A04. The Cardhu fab version A05, A06, A07 are |
| 9 | * compatible with fab version A04. Based on Cardhu fab version, the |
| 10 | * related dts file need to be chosen like for Cardhu fab version A02, |
| 11 | * use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use |
| 12 | * tegra30-cardhu-a04.dts. |
| 13 | * The identification of board is done in two ways, by looking the sticker |
| 14 | * on PCB and by reading board id eeprom. |
| 15 | * The stciker will have number like 600-81291-1000-002 C.3. In this 4th |
| 16 | * number is the fab version like here it is 002 and hence fab version A02. |
| 17 | * The (downstream internal) U-Boot of Cardhu display the board-id as |
| 18 | * follows: |
| 19 | * BoardID: 0C5B, SKU: 0A01, Fab: 02, Rev: 45.00 |
| 20 | * In this Fab version is 02 i.e. A02. |
| 21 | * The BoardID I2C eeprom is interfaced through i2c5 (pwr_i2c address 0x56). |
| 22 | * The location 0x8 of this eeprom contains the Fab version. It is 1 byte |
| 23 | * wide. |
| 24 | */ |
| 25 | |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 26 | / { |
| 27 | model = "NVIDIA Tegra30 Cardhu evaluation board"; |
| 28 | compatible = "nvidia,cardhu", "nvidia,tegra30"; |
| 29 | |
| 30 | memory { |
Stephen Warren | 95decf8 | 2012-05-11 16:11:38 -0600 | [diff] [blame] | 31 | reg = <0x80000000 0x40000000>; |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 32 | }; |
| 33 | |
Stephen Warren | f9eb26a | 2012-05-11 16:17:47 -0600 | [diff] [blame] | 34 | pinmux { |
Stephen Warren | e5cbeef | 2012-03-13 13:28:02 -0600 | [diff] [blame] | 35 | pinctrl-names = "default"; |
| 36 | pinctrl-0 = <&state_default>; |
| 37 | |
| 38 | state_default: pinmux { |
| 39 | sdmmc1_clk_pz0 { |
| 40 | nvidia,pins = "sdmmc1_clk_pz0"; |
| 41 | nvidia,function = "sdmmc1"; |
| 42 | nvidia,pull = <0>; |
| 43 | nvidia,tristate = <0>; |
| 44 | }; |
| 45 | sdmmc1_cmd_pz1 { |
| 46 | nvidia,pins = "sdmmc1_cmd_pz1", |
| 47 | "sdmmc1_dat0_py7", |
| 48 | "sdmmc1_dat1_py6", |
| 49 | "sdmmc1_dat2_py5", |
| 50 | "sdmmc1_dat3_py4"; |
| 51 | nvidia,function = "sdmmc1"; |
| 52 | nvidia,pull = <2>; |
| 53 | nvidia,tristate = <0>; |
| 54 | }; |
| 55 | sdmmc4_clk_pcc4 { |
| 56 | nvidia,pins = "sdmmc4_clk_pcc4", |
| 57 | "sdmmc4_rst_n_pcc3"; |
| 58 | nvidia,function = "sdmmc4"; |
| 59 | nvidia,pull = <0>; |
| 60 | nvidia,tristate = <0>; |
| 61 | }; |
| 62 | sdmmc4_dat0_paa0 { |
| 63 | nvidia,pins = "sdmmc4_dat0_paa0", |
| 64 | "sdmmc4_dat1_paa1", |
| 65 | "sdmmc4_dat2_paa2", |
| 66 | "sdmmc4_dat3_paa3", |
| 67 | "sdmmc4_dat4_paa4", |
| 68 | "sdmmc4_dat5_paa5", |
| 69 | "sdmmc4_dat6_paa6", |
| 70 | "sdmmc4_dat7_paa7"; |
| 71 | nvidia,function = "sdmmc4"; |
| 72 | nvidia,pull = <2>; |
| 73 | nvidia,tristate = <0>; |
| 74 | }; |
Stephen Warren | 8c6a385 | 2012-03-27 12:41:37 -0600 | [diff] [blame] | 75 | dap2_fs_pa2 { |
| 76 | nvidia,pins = "dap2_fs_pa2", |
| 77 | "dap2_sclk_pa3", |
| 78 | "dap2_din_pa4", |
| 79 | "dap2_dout_pa5"; |
| 80 | nvidia,function = "i2s1"; |
| 81 | nvidia,pull = <0>; |
| 82 | nvidia,tristate = <0>; |
| 83 | }; |
Stephen Warren | e5cbeef | 2012-03-13 13:28:02 -0600 | [diff] [blame] | 84 | }; |
| 85 | }; |
| 86 | |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 87 | serial@70006000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 88 | status = "okay"; |
Stephen Warren | 95decf8 | 2012-05-11 16:11:38 -0600 | [diff] [blame] | 89 | clock-frequency = <408000000>; |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 90 | }; |
| 91 | |
| 92 | i2c@7000c000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 93 | status = "okay"; |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 94 | clock-frequency = <100000>; |
| 95 | }; |
| 96 | |
| 97 | i2c@7000c400 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 98 | status = "okay"; |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 99 | clock-frequency = <100000>; |
| 100 | }; |
| 101 | |
| 102 | i2c@7000c500 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 103 | status = "okay"; |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 104 | clock-frequency = <100000>; |
Laxman Dewangan | b46b0b5 | 2012-04-23 17:41:36 +0530 | [diff] [blame] | 105 | |
| 106 | /* ALS and Proximity sensor */ |
| 107 | isl29028@44 { |
| 108 | compatible = "isil,isl29028"; |
| 109 | reg = <0x44>; |
| 110 | interrupt-parent = <&gpio>; |
| 111 | interrupts = <88 0x04>; /*gpio PL0 */ |
| 112 | }; |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 113 | }; |
| 114 | |
| 115 | i2c@7000c700 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 116 | status = "okay"; |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 117 | clock-frequency = <100000>; |
| 118 | }; |
| 119 | |
| 120 | i2c@7000d000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 121 | status = "okay"; |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 122 | clock-frequency = <100000>; |
Stephen Warren | 8c6a385 | 2012-03-27 12:41:37 -0600 | [diff] [blame] | 123 | |
| 124 | wm8903: wm8903@1a { |
| 125 | compatible = "wlf,wm8903"; |
| 126 | reg = <0x1a>; |
| 127 | interrupt-parent = <&gpio>; |
| 128 | interrupts = <179 0x04>; /* gpio PW3 */ |
| 129 | |
| 130 | gpio-controller; |
| 131 | #gpio-cells = <2>; |
| 132 | |
| 133 | micdet-cfg = <0>; |
| 134 | micdet-delay = <100>; |
| 135 | gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>; |
| 136 | }; |
Laxman Dewangan | 331da58 | 2012-05-10 20:38:45 +0000 | [diff] [blame] | 137 | |
| 138 | tps62361 { |
| 139 | compatible = "ti,tps62361"; |
| 140 | reg = <0x60>; |
| 141 | |
| 142 | regulator-name = "tps62361-vout"; |
| 143 | regulator-min-microvolt = <500000>; |
| 144 | regulator-max-microvolt = <1500000>; |
| 145 | regulator-boot-on; |
| 146 | regulator-always-on; |
| 147 | ti,vsel0-state-high; |
| 148 | ti,vsel1-state-high; |
| 149 | }; |
Laxman Dewangan | 167e627 | 2012-08-09 16:30:37 +0530 | [diff] [blame] | 150 | |
| 151 | pmic: tps65911@2d { |
| 152 | compatible = "ti,tps65911"; |
| 153 | reg = <0x2d>; |
| 154 | |
| 155 | interrupts = <0 86 0x4>; |
| 156 | #interrupt-cells = <2>; |
| 157 | interrupt-controller; |
| 158 | |
| 159 | #gpio-cells = <2>; |
| 160 | gpio-controller; |
| 161 | |
| 162 | vcc1-supply = <&vdd_ac_bat_reg>; |
| 163 | vcc2-supply = <&vdd_ac_bat_reg>; |
| 164 | vcc3-supply = <&vio_reg>; |
Laxman Dewangan | fa4a925 | 2012-08-09 16:30:39 +0530 | [diff] [blame^] | 165 | vcc4-supply = <&vdd_5v0_reg>; |
Laxman Dewangan | 167e627 | 2012-08-09 16:30:37 +0530 | [diff] [blame] | 166 | vcc5-supply = <&vdd_ac_bat_reg>; |
| 167 | vcc6-supply = <&vdd2_reg>; |
| 168 | vcc7-supply = <&vdd_ac_bat_reg>; |
| 169 | vccio-supply = <&vdd_ac_bat_reg>; |
| 170 | |
| 171 | regulators { |
| 172 | #address-cells = <1>; |
| 173 | #size-cells = <0>; |
| 174 | |
| 175 | vdd1_reg: regulator@0 { |
| 176 | reg = <0>; |
| 177 | regulator-compatible = "vdd1"; |
| 178 | regulator-name = "vddio_ddr_1v2"; |
| 179 | regulator-min-microvolt = <1200000>; |
| 180 | regulator-max-microvolt = <1200000>; |
| 181 | regulator-always-on; |
| 182 | }; |
| 183 | |
| 184 | vdd2_reg: regulator@1 { |
| 185 | reg = <1>; |
| 186 | regulator-compatible = "vdd2"; |
| 187 | regulator-name = "vdd_1v5_gen"; |
| 188 | regulator-min-microvolt = <1500000>; |
| 189 | regulator-max-microvolt = <1500000>; |
| 190 | regulator-always-on; |
| 191 | }; |
| 192 | |
| 193 | vddctrl_reg: regulator@2 { |
| 194 | reg = <2>; |
| 195 | regulator-compatible = "vddctrl"; |
| 196 | regulator-name = "vdd_cpu,vdd_sys"; |
| 197 | regulator-min-microvolt = <1000000>; |
| 198 | regulator-max-microvolt = <1000000>; |
| 199 | regulator-always-on; |
| 200 | }; |
| 201 | |
| 202 | vio_reg: regulator@3 { |
| 203 | reg = <3>; |
| 204 | regulator-compatible = "vio"; |
| 205 | regulator-name = "vdd_1v8_gen"; |
| 206 | regulator-min-microvolt = <1800000>; |
| 207 | regulator-max-microvolt = <1800000>; |
| 208 | regulator-always-on; |
| 209 | }; |
| 210 | |
| 211 | ldo1_reg: regulator@4 { |
| 212 | reg = <4>; |
| 213 | regulator-compatible = "ldo1"; |
| 214 | regulator-name = "vdd_pexa,vdd_pexb"; |
| 215 | regulator-min-microvolt = <1050000>; |
| 216 | regulator-max-microvolt = <1050000>; |
| 217 | }; |
| 218 | |
| 219 | ldo2_reg: regulator@5 { |
| 220 | reg = <5>; |
| 221 | regulator-compatible = "ldo2"; |
| 222 | regulator-name = "vdd_sata,avdd_plle"; |
| 223 | regulator-min-microvolt = <1050000>; |
| 224 | regulator-max-microvolt = <1050000>; |
| 225 | }; |
| 226 | |
| 227 | /* LDO3 is not connected to anything */ |
| 228 | |
| 229 | ldo4_reg: regulator@7 { |
| 230 | reg = <7>; |
| 231 | regulator-compatible = "ldo4"; |
| 232 | regulator-name = "vdd_rtc"; |
| 233 | regulator-min-microvolt = <1200000>; |
| 234 | regulator-max-microvolt = <1200000>; |
| 235 | regulator-always-on; |
| 236 | }; |
| 237 | |
Laxman Dewangan | fa4a925 | 2012-08-09 16:30:39 +0530 | [diff] [blame^] | 238 | ldo5_reg: regulator@8 { |
| 239 | reg = <8>; |
| 240 | regulator-compatible = "ldo5"; |
| 241 | regulator-name = "vddio_sdmmc,avdd_vdac"; |
| 242 | regulator-min-microvolt = <3300000>; |
| 243 | regulator-max-microvolt = <3300000>; |
| 244 | regulator-always-on; |
| 245 | }; |
| 246 | |
Laxman Dewangan | 167e627 | 2012-08-09 16:30:37 +0530 | [diff] [blame] | 247 | ldo6_reg: regulator@9 { |
| 248 | reg = <9>; |
| 249 | regulator-compatible = "ldo6"; |
| 250 | regulator-name = "avdd_dsi_csi,pwrdet_mipi"; |
| 251 | regulator-min-microvolt = <1200000>; |
| 252 | regulator-max-microvolt = <1200000>; |
| 253 | }; |
| 254 | |
| 255 | ldo7_reg: regulator@10 { |
| 256 | reg = <10>; |
| 257 | regulator-compatible = "ldo7"; |
| 258 | regulator-name = "vdd_pllm,x,u,a_p_c_s"; |
| 259 | regulator-min-microvolt = <1200000>; |
| 260 | regulator-max-microvolt = <1200000>; |
| 261 | regulator-always-on; |
| 262 | }; |
| 263 | |
| 264 | ldo8_reg: regulator@11 { |
| 265 | reg = <11>; |
| 266 | regulator-compatible = "ldo8"; |
| 267 | regulator-name = "vdd_ddr_hs"; |
| 268 | regulator-min-microvolt = <1000000>; |
| 269 | regulator-max-microvolt = <1000000>; |
| 270 | regulator-always-on; |
| 271 | }; |
| 272 | }; |
| 273 | }; |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 274 | }; |
Stephen Warren | 850c4c8 | 2012-02-01 16:29:57 -0700 | [diff] [blame] | 275 | |
Stephen Warren | f9eb26a | 2012-05-11 16:17:47 -0600 | [diff] [blame] | 276 | ahub { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 277 | i2s@70080400 { |
| 278 | status = "okay"; |
Stephen Warren | 8c6a385 | 2012-03-27 12:41:37 -0600 | [diff] [blame] | 279 | }; |
| 280 | }; |
| 281 | |
Laxman Dewangan | 167e627 | 2012-08-09 16:30:37 +0530 | [diff] [blame] | 282 | pmc { |
| 283 | status = "okay"; |
| 284 | nvidia,invert-interrupt; |
| 285 | }; |
| 286 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 287 | sdhci@78000000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 288 | status = "okay"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 289 | cd-gpios = <&gpio 69 0>; /* gpio PI5 */ |
| 290 | wp-gpios = <&gpio 155 0>; /* gpio PT3 */ |
| 291 | power-gpios = <&gpio 31 0>; /* gpio PD7 */ |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 292 | bus-width = <4>; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 293 | }; |
| 294 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 295 | sdhci@78000600 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 296 | status = "okay"; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 297 | bus-width = <8>; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 298 | }; |
| 299 | |
Laxman Dewangan | 167e627 | 2012-08-09 16:30:37 +0530 | [diff] [blame] | 300 | regulators { |
| 301 | compatible = "simple-bus"; |
| 302 | #address-cells = <1>; |
| 303 | #size-cells = <0>; |
| 304 | |
| 305 | vdd_ac_bat_reg: regulator@0 { |
| 306 | compatible = "regulator-fixed"; |
| 307 | reg = <0>; |
| 308 | regulator-name = "vdd_ac_bat"; |
| 309 | regulator-min-microvolt = <5000000>; |
| 310 | regulator-max-microvolt = <5000000>; |
| 311 | regulator-always-on; |
| 312 | }; |
Laxman Dewangan | fa4a925 | 2012-08-09 16:30:39 +0530 | [diff] [blame^] | 313 | |
| 314 | cam_1v8_reg: regulator@1 { |
| 315 | compatible = "regulator-fixed"; |
| 316 | reg = <1>; |
| 317 | regulator-name = "cam_1v8"; |
| 318 | regulator-min-microvolt = <1800000>; |
| 319 | regulator-max-microvolt = <1800000>; |
| 320 | enable-active-high; |
| 321 | gpio = <&gpio 220 0>; /* gpio PBB4 */ |
| 322 | vin-supply = <&vio_reg>; |
| 323 | }; |
| 324 | |
| 325 | cp_5v_reg: regulator@2 { |
| 326 | compatible = "regulator-fixed"; |
| 327 | reg = <2>; |
| 328 | regulator-name = "cp_5v"; |
| 329 | regulator-min-microvolt = <5000000>; |
| 330 | regulator-max-microvolt = <5000000>; |
| 331 | regulator-boot-on; |
| 332 | regulator-always-on; |
| 333 | enable-active-high; |
| 334 | gpio = <&pmic 0 0>; /* PMIC TPS65911 GPIO0 */ |
| 335 | }; |
| 336 | |
| 337 | emmc_3v3_reg: regulator@3 { |
| 338 | compatible = "regulator-fixed"; |
| 339 | reg = <3>; |
| 340 | regulator-name = "emmc_3v3"; |
| 341 | regulator-min-microvolt = <3300000>; |
| 342 | regulator-max-microvolt = <3300000>; |
| 343 | regulator-always-on; |
| 344 | regulator-boot-on; |
| 345 | enable-active-high; |
| 346 | gpio = <&gpio 25 0>; /* gpio PD1 */ |
| 347 | vin-supply = <&sys_3v3_reg>; |
| 348 | }; |
| 349 | |
| 350 | modem_3v3_reg: regulator@4 { |
| 351 | compatible = "regulator-fixed"; |
| 352 | reg = <4>; |
| 353 | regulator-name = "modem_3v3"; |
| 354 | regulator-min-microvolt = <3300000>; |
| 355 | regulator-max-microvolt = <3300000>; |
| 356 | enable-active-high; |
| 357 | gpio = <&gpio 30 0>; /* gpio PD6 */ |
| 358 | }; |
| 359 | |
| 360 | pex_hvdd_3v3_reg: regulator@5 { |
| 361 | compatible = "regulator-fixed"; |
| 362 | reg = <5>; |
| 363 | regulator-name = "pex_hvdd_3v3"; |
| 364 | regulator-min-microvolt = <3300000>; |
| 365 | regulator-max-microvolt = <3300000>; |
| 366 | enable-active-high; |
| 367 | gpio = <&gpio 95 0>; /* gpio PL7 */ |
| 368 | vin-supply = <&sys_3v3_reg>; |
| 369 | }; |
| 370 | |
| 371 | vdd_cam1_ldo_reg: regulator@6 { |
| 372 | compatible = "regulator-fixed"; |
| 373 | reg = <6>; |
| 374 | regulator-name = "vdd_cam1_ldo"; |
| 375 | regulator-min-microvolt = <2800000>; |
| 376 | regulator-max-microvolt = <2800000>; |
| 377 | enable-active-high; |
| 378 | gpio = <&gpio 142 0>; /* gpio PR6 */ |
| 379 | vin-supply = <&sys_3v3_reg>; |
| 380 | }; |
| 381 | |
| 382 | vdd_cam2_ldo_reg: regulator@7 { |
| 383 | compatible = "regulator-fixed"; |
| 384 | reg = <7>; |
| 385 | regulator-name = "vdd_cam2_ldo"; |
| 386 | regulator-min-microvolt = <2800000>; |
| 387 | regulator-max-microvolt = <2800000>; |
| 388 | enable-active-high; |
| 389 | gpio = <&gpio 143 0>; /* gpio PR7 */ |
| 390 | vin-supply = <&sys_3v3_reg>; |
| 391 | }; |
| 392 | |
| 393 | vdd_cam3_ldo_reg: regulator@8 { |
| 394 | compatible = "regulator-fixed"; |
| 395 | reg = <8>; |
| 396 | regulator-name = "vdd_cam3_ldo"; |
| 397 | regulator-min-microvolt = <3300000>; |
| 398 | regulator-max-microvolt = <3300000>; |
| 399 | enable-active-high; |
| 400 | gpio = <&gpio 144 0>; /* gpio PS0 */ |
| 401 | vin-supply = <&sys_3v3_reg>; |
| 402 | }; |
| 403 | |
| 404 | vdd_com_reg: regulator@9 { |
| 405 | compatible = "regulator-fixed"; |
| 406 | reg = <9>; |
| 407 | regulator-name = "vdd_com"; |
| 408 | regulator-min-microvolt = <3300000>; |
| 409 | regulator-max-microvolt = <3300000>; |
| 410 | enable-active-high; |
| 411 | gpio = <&gpio 24 0>; /* gpio PD0 */ |
| 412 | vin-supply = <&sys_3v3_reg>; |
| 413 | }; |
| 414 | |
| 415 | vdd_fuse_3v3_reg: regulator@10 { |
| 416 | compatible = "regulator-fixed"; |
| 417 | reg = <10>; |
| 418 | regulator-name = "vdd_fuse_3v3"; |
| 419 | regulator-min-microvolt = <3300000>; |
| 420 | regulator-max-microvolt = <3300000>; |
| 421 | enable-active-high; |
| 422 | gpio = <&gpio 94 0>; /* gpio PL6 */ |
| 423 | vin-supply = <&sys_3v3_reg>; |
| 424 | }; |
| 425 | |
| 426 | vdd_pnl1_reg: regulator@11 { |
| 427 | compatible = "regulator-fixed"; |
| 428 | reg = <11>; |
| 429 | regulator-name = "vdd_pnl1"; |
| 430 | regulator-min-microvolt = <3300000>; |
| 431 | regulator-max-microvolt = <3300000>; |
| 432 | regulator-always-on; |
| 433 | regulator-boot-on; |
| 434 | enable-active-high; |
| 435 | gpio = <&gpio 92 0>; /* gpio PL4 */ |
| 436 | vin-supply = <&sys_3v3_reg>; |
| 437 | }; |
| 438 | |
| 439 | vdd_vid_reg: regulator@12 { |
| 440 | compatible = "regulator-fixed"; |
| 441 | reg = <12>; |
| 442 | regulator-name = "vddio_vid"; |
| 443 | regulator-min-microvolt = <5000000>; |
| 444 | regulator-max-microvolt = <5000000>; |
| 445 | enable-active-high; |
| 446 | gpio = <&gpio 152 0>; /* GPIO PT0 */ |
| 447 | gpio-open-drain; |
| 448 | vin-supply = <&vdd_5v0_reg>; |
| 449 | }; |
Laxman Dewangan | 167e627 | 2012-08-09 16:30:37 +0530 | [diff] [blame] | 450 | }; |
| 451 | |
Stephen Warren | 8c6a385 | 2012-03-27 12:41:37 -0600 | [diff] [blame] | 452 | sound { |
| 453 | compatible = "nvidia,tegra-audio-wm8903-cardhu", |
| 454 | "nvidia,tegra-audio-wm8903"; |
| 455 | nvidia,model = "NVIDIA Tegra Cardhu"; |
| 456 | |
| 457 | nvidia,audio-routing = |
| 458 | "Headphone Jack", "HPOUTR", |
| 459 | "Headphone Jack", "HPOUTL", |
| 460 | "Int Spk", "ROP", |
| 461 | "Int Spk", "RON", |
| 462 | "Int Spk", "LOP", |
| 463 | "Int Spk", "LON", |
| 464 | "Mic Jack", "MICBIAS", |
| 465 | "IN1L", "Mic Jack"; |
| 466 | |
| 467 | nvidia,i2s-controller = <&tegra_i2s1>; |
| 468 | nvidia,audio-codec = <&wm8903>; |
| 469 | |
| 470 | nvidia,spkr-en-gpios = <&wm8903 2 0>; |
| 471 | nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ |
| 472 | }; |
Peter De Schrijver | 64c4e9f | 2011-12-14 17:03:26 +0200 | [diff] [blame] | 473 | }; |