1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 4 #include "tegra30-lg-x3.dtsi" 5 6 / { 7 model = "LG Optimus Vu P895"; 8 compatible = "lg,p895", "nvidia,tegra3 9 10 pinmux@70000868 { 11 pinctrl-names = "default"; 12 pinctrl-0 = <&state_default>; 13 14 state_default: pinmux { 15 /* GNSS UART-B pinmux 16 uartb-cts-rxd { 17 nvidia,pins = 18 19 nvidia,functio 20 nvidia,pull = 21 nvidia,tristat 22 nvidia,enable- 23 }; 24 uartb-rts-txd { 25 nvidia,pins = 26 27 nvidia,functio 28 nvidia,pull = 29 nvidia,tristat 30 nvidia,enable- 31 }; 32 gps-reset { 33 nvidia,pins = 34 nvidia,functio 35 nvidia,pull = 36 nvidia,tristat 37 nvidia,enable- 38 }; 39 40 /* GPIO keys pinmux */ 41 memo-key { 42 nvidia,pins = 43 nvidia,functio 44 nvidia,pull = 45 nvidia,tristat 46 nvidia,enable- 47 }; 48 volume-up { 49 nvidia,pins = 50 nvidia,functio 51 nvidia,pull = 52 nvidia,tristat 53 nvidia,enable- 54 }; 55 56 /* Sensors pinmux */ 57 current-alert-irq { 58 nvidia,pins = 59 nvidia,functio 60 nvidia,pull = 61 nvidia,tristat 62 nvidia,enable- 63 }; 64 65 /* Panel pinmux */ 66 panel-vdd { 67 nvidia,pins = 68 nvidia,functio 69 nvidia,pull = 70 nvidia,tristat 71 nvidia,enable- 72 }; 73 74 /* AUDIO pinmux */ 75 sub-mic-ldo { 76 nvidia,pins = 77 nvidia,functio 78 nvidia,pull = 79 nvidia,tristat 80 nvidia,enable- 81 }; 82 83 /* Modem pinmux */ 84 usim-detect { 85 nvidia,pins = 86 nvidia,functio 87 nvidia,pull = 88 nvidia,tristat 89 nvidia,enable- 90 }; 91 92 /* GPIO power/drive co 93 drive-sdmmc4 { 94 nvidia,pins = 95 96 97 98 nvidia,pull-do 99 nvidia,pull-up 100 nvidia,slew-ra 101 nvidia,slew-ra 102 }; 103 }; 104 }; 105 106 i2c@7000c400 { 107 touchscreen@20 { 108 rmi4-f11@11 { 109 syna,clip-x-hi 110 syna,clip-y-hi 111 }; 112 }; 113 }; 114 115 memory-controller@7000f000 { 116 emc-timings-2 { 117 /* Hynix 1GB H9TCNNN8J 118 nvidia,ram-code = <2>; 119 120 timing-12750000 { 121 clock-frequenc 122 123 nvidia,emem-co 124 0x0000 125 0x0000 126 0x0000 127 0x0202 128 }; 129 130 timing-25500000 { 131 clock-frequenc 132 133 nvidia,emem-co 134 0x0000 135 0x0000 136 0x0000 137 0x0202 138 }; 139 140 timing-51000000 { 141 clock-frequenc 142 143 nvidia,emem-co 144 0x0000 145 0x0000 146 0x0000 147 0x0202 148 }; 149 150 timing-102000000 { 151 clock-frequenc 152 153 nvidia,emem-co 154 0x0000 155 0x0000 156 0x0000 157 0x0202 158 }; 159 160 timing-204000000 { 161 clock-frequenc 162 163 nvidia,emem-co 164 0x0000 165 0x0000 166 0x0000 167 0x0203 168 }; 169 170 timing-266500000 { 171 clock-frequenc 172 173 nvidia,emem-co 174 0x0000 175 0x0000 176 0x0000 177 0x0303 178 }; 179 180 timing-533000000 { 181 clock-frequenc 182 183 nvidia,emem-co 184 0x0000 185 0x0000 186 0x0000 187 0x0504 188 }; 189 }; 190 }; 191 192 memory-controller@7000f400 { 193 emc-timings-2 { 194 /* Hynix 1GB H9TCNNN8J 195 nvidia,ram-code = <2>; 196 197 timing-12750000 { 198 clock-frequenc 199 200 nvidia,emc-aut 201 nvidia,emc-mod 202 nvidia,emc-mod 203 nvidia,emc-mod 204 nvidia,emc-zca 205 nvidia,emc-cfg 206 207 nvidia,emc-con 208 0x0000 209 0x0000 210 0x0000 211 0x0000 212 0x0000 213 0x0000 214 0x0000 215 0x0000 216 0x0000 217 0x0000 218 0x0000 219 0x000f 220 0x000f 221 0x0000 222 0x0000 223 0x0000 224 0x0000 225 0x000f 226 0x77ff 227 0x0800 228 0x0000 229 0x0000 230 }; 231 232 timing-25500000 { 233 clock-frequenc 234 235 nvidia,emc-aut 236 nvidia,emc-mod 237 nvidia,emc-mod 238 nvidia,emc-mod 239 nvidia,emc-zca 240 nvidia,emc-cfg 241 242 nvidia,emc-con 243 0x0000 244 0x0000 245 0x0000 246 0x0000 247 0x0000 248 0x0000 249 0x0000 250 0x0000 251 0x0000 252 0x0000 253 0x0000 254 0x000f 255 0x000f 256 0x0000 257 0x0000 258 0x0000 259 0x0000 260 0x000f 261 0x77ff 262 0x0800 263 0x0000 264 0x0000 265 }; 266 267 timing-51000000 { 268 clock-frequenc 269 270 nvidia,emc-aut 271 nvidia,emc-mod 272 nvidia,emc-mod 273 nvidia,emc-mod 274 nvidia,emc-zca 275 nvidia,emc-cfg 276 277 nvidia,emc-con 278 0x0000 279 0x0000 280 0x0000 281 0x0000 282 0x0000 283 0x0000 284 0x0000 285 0x0000 286 0x0000 287 0x0000 288 0x0000 289 0x000f 290 0x000f 291 0x0000 292 0x0000 293 0x0000 294 0x0000 295 0x000f 296 0x77ff 297 0x0800 298 0x0000 299 0x0000 300 }; 301 302 timing-102000000 { 303 clock-frequenc 304 305 nvidia,emc-aut 306 nvidia,emc-mod 307 nvidia,emc-mod 308 nvidia,emc-mod 309 nvidia,emc-zca 310 nvidia,emc-cfg 311 312 nvidia,emc-con 313 0x0000 314 0x0000 315 0x0000 316 0x0000 317 0x0000 318 0x0000 319 0x0000 320 0x0000 321 0x0000 322 0x0000 323 0x0000 324 0x000f 325 0x000f 326 0x0000 327 0x0000 328 0x0000 329 0x0000 330 0x000f 331 0x77ff 332 0x0800 333 0x0000 334 0x0000 335 }; 336 337 timing-204000000 { 338 clock-frequenc 339 340 nvidia,emc-aut 341 nvidia,emc-mod 342 nvidia,emc-mod 343 nvidia,emc-mod 344 nvidia,emc-zca 345 nvidia,emc-cfg 346 347 nvidia,emc-con 348 0x0000 349 0x0000 350 0x0000 351 0x0000 352 0x0000 353 0x0000 354 0x0000 355 0x0000 356 0x0000 357 0x0000 358 0x0000 359 0x0008 360 0x0007 361 0x0000 362 0x0000 363 0x0000 364 0x0000 365 0x0008 366 0x77ff 367 0x0800 368 0x0000 369 0x0000 370 }; 371 372 timing-266500000 { 373 clock-frequenc 374 375 nvidia,emc-aut 376 nvidia,emc-mod 377 nvidia,emc-mod 378 nvidia,emc-mod 379 nvidia,emc-zca 380 nvidia,emc-cfg 381 382 nvidia,emc-con 383 0x0000 384 0x0000 385 0x0000 386 0x0000 387 0x0000 388 0x0000 389 0x0000 390 0x0000 391 0x0000 392 0x0000 393 0x0000 394 0x0007 395 0x0007 396 0x0000 397 0x0000 398 0x0000 399 0x0000 400 0x0008 401 0x77ff 402 0x0800 403 0x0000 404 0x0000 405 }; 406 407 timing-533000000 { 408 clock-frequenc 409 410 nvidia,emc-aut 411 nvidia,emc-mod 412 nvidia,emc-mod 413 nvidia,emc-mod 414 nvidia,emc-zca 415 nvidia,emc-cfg 416 417 nvidia,emc-con 418 0x0000 419 0x0000 420 0x0000 421 0x0000 422 0x0000 423 0x0000 424 0x0000 425 0x0000 426 0x0000 427 0x0000 428 0x0000 429 0x0000 430 0x0000 431 0x0000 432 0x0000 433 0x0000 434 0x0000 435 0x0000 436 0x77ff 437 0x0800 438 0x0000 439 0x0000 440 }; 441 }; 442 }; 443 444 battery: battery-cell { 445 compatible = "simple-battery"; 446 device-chemistry = "lithium-io 447 charge-full-design-microamp-ho 448 energy-full-design-microwatt-h 449 operating-range-celsius = <0 4 450 }; 451 452 gpio-keys { 453 key-memo { 454 label = "Memo"; 455 gpios = <&gpio TEGRA_G 456 linux,code = <KEY_MEMO 457 debounce-interval = <1 458 wakeup-event-action = 459 wakeup-source; 460 }; 461 462 key-volume-up { 463 label = "Volume Up"; 464 gpios = <&gpio TEGRA_G 465 linux,code = <KEY_VOLU 466 debounce-interval = <1 467 wakeup-event-action = 468 wakeup-source; 469 }; 470 }; 471 472 gpio-leds { 473 led-power { 474 label = "power::white" 475 gpios = <&gpio TEGRA_G 476 477 linux,default-trigger 478 479 color = <LED_COLOR_ID_ 480 function = LED_FUNCTIO 481 }; 482 }; 483 484 regulator-lcd3v { 485 gpio = <&gpio TEGRA_GPIO(BB, 0 486 enable-active-high; 487 }; 488 489 sound { 490 compatible = "lg,tegra-audio-m 491 "nvidia,tegra-aud 492 nvidia,model = "LG Optimus Vu 493 494 nvidia,int-mic-en-gpios = <&gp 495 }; 496 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.