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