1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 2 /dts-v1/; 3 3 4 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/thermal/thermal.h> 5 #include <dt-bindings/thermal/thermal.h> 6 6 7 #include "tegra20.dtsi" 7 #include "tegra20.dtsi" 8 #include "tegra20-cpu-opp.dtsi" 8 #include "tegra20-cpu-opp.dtsi" 9 #include "tegra20-cpu-opp-microvolt.dtsi" 9 #include "tegra20-cpu-opp-microvolt.dtsi" 10 10 11 / { 11 / { 12 model = "Toshiba AC100 / Dynabook AZ"; 12 model = "Toshiba AC100 / Dynabook AZ"; 13 compatible = "compal,paz00", "nvidia,t 13 compatible = "compal,paz00", "nvidia,tegra20"; 14 14 15 aliases { 15 aliases { 16 mmc0 = &sdmmc4; /* eMMC */ 16 mmc0 = &sdmmc4; /* eMMC */ 17 mmc1 = &sdmmc1; /* MicroSD */ 17 mmc1 = &sdmmc1; /* MicroSD */ 18 rtc0 = "/i2c@7000d000/tps6586x 18 rtc0 = "/i2c@7000d000/tps6586x@34"; 19 rtc1 = "/rtc@7000e000"; 19 rtc1 = "/rtc@7000e000"; 20 serial0 = &uarta; 20 serial0 = &uarta; 21 serial1 = &uartc; 21 serial1 = &uartc; 22 }; 22 }; 23 23 24 chosen { 24 chosen { 25 stdout-path = "serial0:115200n 25 stdout-path = "serial0:115200n8"; 26 }; 26 }; 27 27 28 memory@0 { 28 memory@0 { 29 reg = <0x00000000 0x20000000>; 29 reg = <0x00000000 0x20000000>; 30 }; 30 }; 31 31 32 host1x@50000000 { 32 host1x@50000000 { 33 dc@54200000 { 33 dc@54200000 { 34 rgb { 34 rgb { 35 status = "okay 35 status = "okay"; 36 36 37 nvidia,panel = 37 nvidia,panel = <&panel>; 38 }; 38 }; 39 }; 39 }; 40 40 41 hdmi@54280000 { 41 hdmi@54280000 { 42 status = "okay"; 42 status = "okay"; 43 43 44 vdd-supply = <&hdmi_vd 44 vdd-supply = <&hdmi_vdd_reg>; 45 pll-supply = <&hdmi_pl 45 pll-supply = <&hdmi_pll_reg>; 46 46 47 nvidia,ddc-i2c-bus = < 47 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 48 nvidia,hpd-gpio = <&gp 48 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) 49 GPIO_ACTIVE_HI 49 GPIO_ACTIVE_HIGH>; 50 }; 50 }; 51 }; 51 }; 52 52 53 pinmux@70000014 { 53 pinmux@70000014 { 54 pinctrl-names = "default"; 54 pinctrl-names = "default"; 55 pinctrl-0 = <&state_default>; 55 pinctrl-0 = <&state_default>; 56 56 57 state_default: pinmux { 57 state_default: pinmux { 58 ata { 58 ata { 59 nvidia,pins = 59 nvidia,pins = "ata", "atc", "atd", "ate", 60 "dap2" 60 "dap2", "gmb", "gmc", "gmd", "spia", 61 "spib" 61 "spib", "spic", "spid", "spie"; 62 nvidia,functio 62 nvidia,function = "gmi"; 63 }; 63 }; 64 atb { 64 atb { 65 nvidia,pins = 65 nvidia,pins = "atb", "gma", "gme"; 66 nvidia,functio 66 nvidia,function = "sdio4"; 67 }; 67 }; 68 cdev1 { 68 cdev1 { 69 nvidia,pins = 69 nvidia,pins = "cdev1"; 70 nvidia,functio 70 nvidia,function = "plla_out"; 71 }; 71 }; 72 cdev2 { 72 cdev2 { 73 nvidia,pins = 73 nvidia,pins = "cdev2"; 74 nvidia,functio 74 nvidia,function = "pllp_out4"; 75 }; 75 }; 76 crtp { 76 crtp { 77 nvidia,pins = 77 nvidia,pins = "crtp"; 78 nvidia,functio 78 nvidia,function = "crt"; 79 }; 79 }; 80 csus { 80 csus { 81 nvidia,pins = 81 nvidia,pins = "csus"; 82 nvidia,functio 82 nvidia,function = "pllc_out1"; 83 }; 83 }; 84 dap1 { 84 dap1 { 85 nvidia,pins = 85 nvidia,pins = "dap1"; 86 nvidia,functio 86 nvidia,function = "dap1"; 87 }; 87 }; 88 dap3 { 88 dap3 { 89 nvidia,pins = 89 nvidia,pins = "dap3"; 90 nvidia,functio 90 nvidia,function = "dap3"; 91 }; 91 }; 92 dap4 { 92 dap4 { 93 nvidia,pins = 93 nvidia,pins = "dap4"; 94 nvidia,functio 94 nvidia,function = "dap4"; 95 }; 95 }; 96 ddc { 96 ddc { 97 nvidia,pins = 97 nvidia,pins = "ddc"; 98 nvidia,functio 98 nvidia,function = "i2c2"; 99 }; 99 }; 100 dta { 100 dta { 101 nvidia,pins = 101 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte"; 102 nvidia,functio 102 nvidia,function = "rsvd1"; 103 }; 103 }; 104 dtf { 104 dtf { 105 nvidia,pins = 105 nvidia,pins = "dtf"; 106 nvidia,functio 106 nvidia,function = "i2c3"; 107 }; 107 }; 108 gpu { 108 gpu { 109 nvidia,pins = 109 nvidia,pins = "gpu", "sdb", "sdd"; 110 nvidia,functio 110 nvidia,function = "pwm"; 111 }; 111 }; 112 gpu7 { 112 gpu7 { 113 nvidia,pins = 113 nvidia,pins = "gpu7"; 114 nvidia,functio 114 nvidia,function = "rtck"; 115 }; 115 }; 116 gpv { 116 gpv { 117 nvidia,pins = 117 nvidia,pins = "gpv", "slxa", "slxk"; 118 nvidia,functio 118 nvidia,function = "pcie"; 119 }; 119 }; 120 hdint { 120 hdint { 121 nvidia,pins = 121 nvidia,pins = "hdint", "pta"; 122 nvidia,functio 122 nvidia,function = "hdmi"; 123 }; 123 }; 124 i2cp { 124 i2cp { 125 nvidia,pins = 125 nvidia,pins = "i2cp"; 126 nvidia,functio 126 nvidia,function = "i2cp"; 127 }; 127 }; 128 irrx { 128 irrx { 129 nvidia,pins = 129 nvidia,pins = "irrx", "irtx"; 130 nvidia,functio 130 nvidia,function = "uarta"; 131 }; 131 }; 132 kbca { 132 kbca { 133 nvidia,pins = 133 nvidia,pins = "kbca", "kbcc", "kbce", "kbcf"; 134 nvidia,functio 134 nvidia,function = "kbc"; 135 }; 135 }; 136 kbcb { 136 kbcb { 137 nvidia,pins = 137 nvidia,pins = "kbcb", "kbcd"; 138 nvidia,functio 138 nvidia,function = "sdio2"; 139 }; 139 }; 140 lcsn { 140 lcsn { 141 nvidia,pins = 141 nvidia,pins = "lcsn", "ld0", "ld1", "ld2", 142 "ld3", 142 "ld3", "ld4", "ld5", "ld6", "ld7", 143 "ld8", 143 "ld8", "ld9", "ld10", "ld11", "ld12", 144 "ld13" 144 "ld13", "ld14", "ld15", "ld16", "ld17", 145 "ldc", 145 "ldc", "ldi", "lhp0", "lhp1", "lhp2", 146 "lhs", 146 "lhs", "lm0", "lm1", "lpp", "lpw0", 147 "lpw1" 147 "lpw1", "lpw2", "lsc0", "lsc1", "lsck", 148 "lsda" 148 "lsda", "lsdi", "lspi", "lvp0", "lvp1", 149 "lvs"; 149 "lvs"; 150 nvidia,functio 150 nvidia,function = "displaya"; 151 }; 151 }; 152 owc { 152 owc { 153 nvidia,pins = 153 nvidia,pins = "owc"; 154 nvidia,functio 154 nvidia,function = "owr"; 155 }; 155 }; 156 pmc { 156 pmc { 157 nvidia,pins = 157 nvidia,pins = "pmc"; 158 nvidia,functio 158 nvidia,function = "pwr_on"; 159 }; 159 }; 160 rm { 160 rm { 161 nvidia,pins = 161 nvidia,pins = "rm"; 162 nvidia,functio 162 nvidia,function = "i2c1"; 163 }; 163 }; 164 sdc { 164 sdc { 165 nvidia,pins = 165 nvidia,pins = "sdc"; 166 nvidia,functio 166 nvidia,function = "twc"; 167 }; 167 }; 168 sdio1 { 168 sdio1 { 169 nvidia,pins = 169 nvidia,pins = "sdio1"; 170 nvidia,functio 170 nvidia,function = "sdio1"; 171 }; 171 }; 172 slxc { 172 slxc { 173 nvidia,pins = 173 nvidia,pins = "slxc", "slxd"; 174 nvidia,functio 174 nvidia,function = "spi4"; 175 }; 175 }; 176 spdi { 176 spdi { 177 nvidia,pins = 177 nvidia,pins = "spdi", "spdo"; 178 nvidia,functio 178 nvidia,function = "rsvd2"; 179 }; 179 }; 180 spif { 180 spif { 181 nvidia,pins = 181 nvidia,pins = "spif", "uac"; 182 nvidia,functio 182 nvidia,function = "rsvd4"; 183 }; 183 }; 184 spig { 184 spig { 185 nvidia,pins = 185 nvidia,pins = "spig", "spih"; 186 nvidia,functio 186 nvidia,function = "spi2_alt"; 187 }; 187 }; 188 uaa { 188 uaa { 189 nvidia,pins = 189 nvidia,pins = "uaa", "uab", "uda"; 190 nvidia,functio 190 nvidia,function = "ulpi"; 191 }; 191 }; 192 uad { 192 uad { 193 nvidia,pins = 193 nvidia,pins = "uad"; 194 nvidia,functio 194 nvidia,function = "spdif"; 195 }; 195 }; 196 uca { 196 uca { 197 nvidia,pins = 197 nvidia,pins = "uca", "ucb"; 198 nvidia,functio 198 nvidia,function = "uartc"; 199 }; 199 }; 200 conf_ata { 200 conf_ata { 201 nvidia,pins = 201 nvidia,pins = "ata", "atb", "atc", "atd", "ate", 202 "cdev1 202 "cdev1", "cdev2", "dap1", "dap2", "dtf", 203 "gma", 203 "gma", "gmb", "gmc", "gmd", "gme", 204 "gpu", 204 "gpu", "gpu7", "gpv", "i2cp", "pta", 205 "rm", 205 "rm", "sdio1", "slxk", "spdo", "uac", 206 "uda"; 206 "uda"; 207 nvidia,pull = 207 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 208 nvidia,tristat 208 nvidia,tristate = <TEGRA_PIN_DISABLE>; 209 }; 209 }; 210 conf_ck32 { 210 conf_ck32 { 211 nvidia,pins = 211 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb", 212 "pmcc" 212 "pmcc", "pmcd", "pmce", "xm2c", "xm2d"; 213 nvidia,pull = 213 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 214 }; 214 }; 215 conf_crtp { 215 conf_crtp { 216 nvidia,pins = 216 nvidia,pins = "crtp", "dap3", "dap4", "dtb", 217 "dtc", 217 "dtc", "dte", "slxa", "slxc", "slxd", 218 "spdi" 218 "spdi"; 219 nvidia,pull = 219 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 220 nvidia,tristat 220 nvidia,tristate = <TEGRA_PIN_ENABLE>; 221 }; 221 }; 222 conf_csus { 222 conf_csus { 223 nvidia,pins = 223 nvidia,pins = "csus", "spia", "spib", "spid", 224 "spif" 224 "spif"; 225 nvidia,pull = 225 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 226 nvidia,tristat 226 nvidia,tristate = <TEGRA_PIN_ENABLE>; 227 }; 227 }; 228 conf_ddc { 228 conf_ddc { 229 nvidia,pins = 229 nvidia,pins = "ddc", "irrx", "irtx", "kbca", 230 "kbcb" 230 "kbcb", "kbcc", "kbcd", "kbce", "kbcf", 231 "spic" 231 "spic", "spig", "uaa", "uab"; 232 nvidia,pull = 232 nvidia,pull = <TEGRA_PIN_PULL_UP>; 233 nvidia,tristat 233 nvidia,tristate = <TEGRA_PIN_DISABLE>; 234 }; 234 }; 235 conf_dta { 235 conf_dta { 236 nvidia,pins = 236 nvidia,pins = "dta", "dtd", "owc", "sdc", "sdd", 237 "spie" 237 "spie", "spih", "uad", "uca", "ucb"; 238 nvidia,pull = 238 nvidia,pull = <TEGRA_PIN_PULL_UP>; 239 nvidia,tristat 239 nvidia,tristate = <TEGRA_PIN_ENABLE>; 240 }; 240 }; 241 conf_hdint { 241 conf_hdint { 242 nvidia,pins = 242 nvidia,pins = "hdint", "ld0", "ld1", "ld2", 243 "ld3", 243 "ld3", "ld4", "ld5", "ld6", "ld7", 244 "ld8", 244 "ld8", "ld9", "ld10", "ld11", "ld12", 245 "ld13" 245 "ld13", "ld14", "ld15", "ld16", "ld17", 246 "ldc", 246 "ldc", "ldi", "lhs", "lsc0", "lspi", 247 "lvs", 247 "lvs", "pmc"; 248 nvidia,tristat 248 nvidia,tristate = <TEGRA_PIN_DISABLE>; 249 }; 249 }; 250 conf_lc { 250 conf_lc { 251 nvidia,pins = 251 nvidia,pins = "lc", "ls"; 252 nvidia,pull = 252 nvidia,pull = <TEGRA_PIN_PULL_UP>; 253 }; 253 }; 254 conf_lcsn { 254 conf_lcsn { 255 nvidia,pins = 255 nvidia,pins = "lcsn", "lhp0", "lhp1", "lhp2", 256 "lm0", 256 "lm0", "lm1", "lpp", "lpw0", "lpw1", 257 "lpw2" 257 "lpw2", "lsc1", "lsck", "lsda", "lsdi", 258 "lvp0" 258 "lvp0", "lvp1", "sdb"; 259 nvidia,tristat 259 nvidia,tristate = <TEGRA_PIN_ENABLE>; 260 }; 260 }; 261 conf_ld17_0 { 261 conf_ld17_0 { 262 nvidia,pins = 262 nvidia,pins = "ld17_0", "ld19_18", "ld21_20", 263 "ld23_ 263 "ld23_22"; 264 nvidia,pull = 264 nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 265 }; 265 }; 266 }; 266 }; 267 }; 267 }; 268 268 269 spdif@70002400 { 269 spdif@70002400 { 270 status = "okay"; 270 status = "okay"; 271 271 272 nvidia,fixed-parent-rate; 272 nvidia,fixed-parent-rate; 273 }; 273 }; 274 274 275 i2s@70002800 { 275 i2s@70002800 { 276 status = "okay"; 276 status = "okay"; 277 277 278 nvidia,fixed-parent-rate; 278 nvidia,fixed-parent-rate; 279 }; 279 }; 280 280 281 serial@70006000 { 281 serial@70006000 { 282 /delete-property/ dmas; 282 /delete-property/ dmas; 283 /delete-property/ dma-names; 283 /delete-property/ dma-names; 284 status = "okay"; 284 status = "okay"; 285 }; 285 }; 286 286 287 serial@70006200 { 287 serial@70006200 { 288 /delete-property/ dmas; 288 /delete-property/ dmas; 289 /delete-property/ dma-names; 289 /delete-property/ dma-names; 290 status = "okay"; 290 status = "okay"; 291 }; 291 }; 292 292 293 pwm: pwm@7000a000 { 293 pwm: pwm@7000a000 { 294 status = "okay"; 294 status = "okay"; 295 }; 295 }; 296 296 297 lvds_ddc: i2c@7000c000 { 297 lvds_ddc: i2c@7000c000 { 298 status = "okay"; 298 status = "okay"; 299 clock-frequency = <400000>; 299 clock-frequency = <400000>; 300 300 301 alc5632: alc5632@1e { 301 alc5632: alc5632@1e { 302 compatible = "realtek, 302 compatible = "realtek,alc5632"; 303 reg = <0x1e>; 303 reg = <0x1e>; 304 gpio-controller; 304 gpio-controller; 305 #gpio-cells = <2>; 305 #gpio-cells = <2>; 306 }; 306 }; 307 }; 307 }; 308 308 309 hdmi_ddc: i2c@7000c400 { 309 hdmi_ddc: i2c@7000c400 { 310 status = "okay"; 310 status = "okay"; 311 clock-frequency = <100000>; 311 clock-frequency = <100000>; 312 }; 312 }; 313 313 314 i2c@7000c500 { 314 i2c@7000c500 { 315 compatible = "nvidia,nvec"; 315 compatible = "nvidia,nvec"; 316 316 317 /delete-property/ #address-cel 317 /delete-property/ #address-cells; 318 /delete-property/ #size-cells; 318 /delete-property/ #size-cells; 319 /delete-property/ dmas; 319 /delete-property/ dmas; 320 /delete-property/ dma-names; 320 /delete-property/ dma-names; 321 321 322 clock-frequency = <80000>; 322 clock-frequency = <80000>; 323 request-gpios = <&gpio TEGRA_G 323 request-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; 324 slave-addr = <138>; 324 slave-addr = <138>; 325 325 326 status = "okay"; 326 status = "okay"; 327 }; 327 }; 328 328 329 i2c@7000d000 { 329 i2c@7000d000 { 330 status = "okay"; 330 status = "okay"; 331 clock-frequency = <400000>; 331 clock-frequency = <400000>; 332 332 333 pmic: tps6586x@34 { 333 pmic: tps6586x@34 { 334 compatible = "ti,tps65 334 compatible = "ti,tps6586x"; 335 reg = <0x34>; 335 reg = <0x34>; 336 interrupts = <GIC_SPI 336 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 337 337 338 #gpio-cells = <2>; 338 #gpio-cells = <2>; 339 gpio-controller; 339 gpio-controller; 340 340 341 sys-supply = <&p5valw_ 341 sys-supply = <&p5valw_reg>; 342 vin-sm0-supply = <&sys 342 vin-sm0-supply = <&sys_reg>; 343 vin-sm1-supply = <&sys 343 vin-sm1-supply = <&sys_reg>; 344 vin-sm2-supply = <&sys 344 vin-sm2-supply = <&sys_reg>; 345 vinldo01-supply = <&sm 345 vinldo01-supply = <&sm2_reg>; 346 vinldo23-supply = <&sm 346 vinldo23-supply = <&sm2_reg>; 347 vinldo4-supply = <&sm2 347 vinldo4-supply = <&sm2_reg>; 348 vinldo678-supply = <&s 348 vinldo678-supply = <&sm2_reg>; 349 vinldo9-supply = <&sm2 349 vinldo9-supply = <&sm2_reg>; 350 350 351 regulators { 351 regulators { 352 sys_reg: sys { 352 sys_reg: sys { 353 regula 353 regulator-name = "vdd_sys"; 354 regula 354 regulator-always-on; 355 }; 355 }; 356 356 357 core_vdd_reg: 357 core_vdd_reg: sm0 { 358 regula 358 regulator-name = "+1.2vs_sm0,vdd_core"; 359 regula 359 regulator-min-microvolt = <950000>; 360 regula 360 regulator-max-microvolt = <1300000>; 361 regula 361 regulator-coupled-with = <&rtc_vdd_reg &cpu_vdd_reg>; 362 regula 362 regulator-coupled-max-spread = <170000 550000>; 363 regula 363 regulator-always-on; 364 364 365 nvidia 365 nvidia,tegra-core-regulator; 366 }; 366 }; 367 367 368 cpu_vdd_reg: s 368 cpu_vdd_reg: sm1 { 369 regula 369 regulator-name = "+1.0vs_sm1,vdd_cpu"; 370 regula 370 regulator-min-microvolt = <750000>; 371 regula 371 regulator-max-microvolt = <1100000>; 372 regula 372 regulator-coupled-with = <&core_vdd_reg &rtc_vdd_reg>; 373 regula 373 regulator-coupled-max-spread = <550000 550000>; 374 regula 374 regulator-always-on; 375 375 376 nvidia 376 nvidia,tegra-cpu-regulator; 377 }; 377 }; 378 378 379 sm2_reg: sm2 { 379 sm2_reg: sm2 { 380 regula 380 regulator-name = "+3.7vs_sm2,vin_ldo*"; 381 regula 381 regulator-min-microvolt = <3700000>; 382 regula 382 regulator-max-microvolt = <3700000>; 383 regula 383 regulator-always-on; 384 }; 384 }; 385 385 386 /* LDO0 is not 386 /* LDO0 is not connected to anything */ 387 387 388 ldo1 { 388 ldo1 { 389 regula 389 regulator-name = "+1.1vs_ldo1,avdd_pll*"; 390 regula 390 regulator-min-microvolt = <1100000>; 391 regula 391 regulator-max-microvolt = <1100000>; 392 regula 392 regulator-always-on; 393 }; 393 }; 394 394 395 rtc_vdd_reg: l 395 rtc_vdd_reg: ldo2 { 396 regula 396 regulator-name = "+1.2vs_ldo2,vdd_rtc"; 397 regula 397 regulator-min-microvolt = <950000>; 398 regula 398 regulator-max-microvolt = <1300000>; 399 regula 399 regulator-coupled-with = <&core_vdd_reg &cpu_vdd_reg>; 400 regula 400 regulator-coupled-max-spread = <170000 550000>; 401 regula 401 regulator-always-on; 402 402 403 nvidia 403 nvidia,tegra-rtc-regulator; 404 }; 404 }; 405 405 406 ldo3 { 406 ldo3 { 407 regula 407 regulator-name = "+3.3vs_ldo3,avdd_usb*"; 408 regula 408 regulator-min-microvolt = <3300000>; 409 regula 409 regulator-max-microvolt = <3300000>; 410 regula 410 regulator-always-on; 411 }; 411 }; 412 412 413 ldo4 { 413 ldo4 { 414 regula 414 regulator-name = "+1.8vs_ldo4,avdd_osc,vddio_sys"; 415 regula 415 regulator-min-microvolt = <1800000>; 416 regula 416 regulator-max-microvolt = <1800000>; 417 regula 417 regulator-always-on; 418 }; 418 }; 419 419 420 ldo5 { 420 ldo5 { 421 regula 421 regulator-name = "+2.85vs_ldo5,vcore_mmc"; 422 regula 422 regulator-min-microvolt = <2850000>; 423 regula 423 regulator-max-microvolt = <2850000>; 424 regula 424 regulator-always-on; 425 }; 425 }; 426 426 427 ldo6 { 427 ldo6 { 428 /* 428 /* 429 * Res 429 * Research indicates this should be 430 * 1.8 430 * 1.8v; other boards that use this 431 * rai 431 * rail for the same purpose need it 432 * set 432 * set to 1.8v. The schematic signal 433 * nam 433 * name is incorrect; perhaps copied 434 * fro 434 * from an incorrect NVIDIA reference. 435 */ 435 */ 436 regula 436 regulator-name = "+2.85vs_ldo6,avdd_vdac"; 437 regula 437 regulator-min-microvolt = <1800000>; 438 regula 438 regulator-max-microvolt = <1800000>; 439 }; 439 }; 440 440 441 hdmi_vdd_reg: 441 hdmi_vdd_reg: ldo7 { 442 regula 442 regulator-name = "+3.3vs_ldo7,avdd_hdmi"; 443 regula 443 regulator-min-microvolt = <3300000>; 444 regula 444 regulator-max-microvolt = <3300000>; 445 }; 445 }; 446 446 447 hdmi_pll_reg: 447 hdmi_pll_reg: ldo8 { 448 regula 448 regulator-name = "+1.8vs_ldo8,avdd_hdmi_pll"; 449 regula 449 regulator-min-microvolt = <1800000>; 450 regula 450 regulator-max-microvolt = <1800000>; 451 }; 451 }; 452 452 453 ldo9 { 453 ldo9 { 454 regula 454 regulator-name = "+2.85vs_ldo9,vdd_ddr_rx"; 455 regula 455 regulator-min-microvolt = <2850000>; 456 regula 456 regulator-max-microvolt = <2850000>; 457 regula 457 regulator-always-on; 458 }; 458 }; 459 459 460 ldo_rtc { 460 ldo_rtc { 461 regula 461 regulator-name = "+3.3vs_rtc"; 462 regula 462 regulator-min-microvolt = <3300000>; 463 regula 463 regulator-max-microvolt = <3300000>; 464 regula 464 regulator-always-on; 465 }; 465 }; 466 }; 466 }; 467 }; 467 }; 468 468 469 adt7461: temperature-sensor@4c 469 adt7461: temperature-sensor@4c { 470 compatible = "adi,adt7 470 compatible = "adi,adt7461"; 471 reg = <0x4c>; 471 reg = <0x4c>; 472 472 473 interrupt-parent = <&g 473 interrupt-parent = <&gpio>; 474 interrupts = <TEGRA_GP 474 interrupts = <TEGRA_GPIO(N, 6) IRQ_TYPE_EDGE_FALLING>; 475 475 476 #thermal-sensor-cells 476 #thermal-sensor-cells = <1>; 477 }; 477 }; 478 }; 478 }; 479 479 480 pmc@7000e400 { 480 pmc@7000e400 { 481 nvidia,invert-interrupt; 481 nvidia,invert-interrupt; 482 nvidia,suspend-mode = <1>; 482 nvidia,suspend-mode = <1>; 483 nvidia,cpu-pwr-good-time = <20 483 nvidia,cpu-pwr-good-time = <2000>; 484 nvidia,cpu-pwr-off-time = <0>; 484 nvidia,cpu-pwr-off-time = <0>; 485 nvidia,core-pwr-good-time = <3 485 nvidia,core-pwr-good-time = <3845 3845>; 486 nvidia,core-pwr-off-time = <0> 486 nvidia,core-pwr-off-time = <0>; 487 nvidia,sys-clock-req-active-hi 487 nvidia,sys-clock-req-active-high; 488 core-supply = <&core_vdd_reg>; 488 core-supply = <&core_vdd_reg>; 489 }; 489 }; 490 490 491 memory-controller@7000f400 { 491 memory-controller@7000f400 { 492 nvidia,use-ram-code; 492 nvidia,use-ram-code; 493 493 494 emc-tables@0 { 494 emc-tables@0 { 495 nvidia,ram-code = <0x0 495 nvidia,ram-code = <0x0>; 496 #address-cells = <1>; 496 #address-cells = <1>; 497 #size-cells = <0>; 497 #size-cells = <0>; 498 reg = <0>; 498 reg = <0>; 499 499 500 emc-table@166500 { 500 emc-table@166500 { 501 reg = <166500> 501 reg = <166500>; 502 compatible = " 502 compatible = "nvidia,tegra20-emc-table"; 503 clock-frequenc 503 clock-frequency = <166500>; 504 nvidia,emc-reg 504 nvidia,emc-registers = <0x0000000a 0x00000016 505 0x0000 505 0x00000008 0x00000003 0x00000004 0x00000004 506 0x0000 506 0x00000002 0x0000000c 0x00000003 0x00000003 507 0x0000 507 0x00000002 0x00000001 0x00000004 0x00000005 508 0x0000 508 0x00000004 0x00000009 0x0000000d 0x000004df 509 0x0000 509 0x00000000 0x00000003 0x00000003 0x00000003 510 0x0000 510 0x00000003 0x00000001 0x0000000a 0x000000c8 511 0x0000 511 0x00000003 0x00000006 0x00000004 0x00000008 512 0x0000 512 0x00000002 0x00000000 0x00000000 0x00000002 513 0x0000 513 0x00000000 0x00000000 0x00000083 0xe03b0323 514 0x007f 514 0x007fe010 0x00001414 0x00000000 0x00000000 515 0x0000 515 0x00000000 0x00000000 0x00000000 0x00000000>; 516 }; 516 }; 517 517 518 emc-table@333000 { 518 emc-table@333000 { 519 reg = <333000> 519 reg = <333000>; 520 compatible = " 520 compatible = "nvidia,tegra20-emc-table"; 521 clock-frequenc 521 clock-frequency = <333000>; 522 nvidia,emc-reg 522 nvidia,emc-registers = <0x00000018 0x00000033 523 0x0000 523 0x00000012 0x00000004 0x00000004 0x00000005 524 0x0000 524 0x00000003 0x0000000c 0x00000006 0x00000006 525 0x0000 525 0x00000003 0x00000001 0x00000004 0x00000005 526 0x0000 526 0x00000004 0x00000009 0x0000000d 0x00000bff 527 0x0000 527 0x00000000 0x00000003 0x00000003 0x00000006 528 0x0000 528 0x00000006 0x00000001 0x00000011 0x000000c8 529 0x0000 529 0x00000003 0x0000000e 0x00000007 0x00000008 530 0x0000 530 0x00000002 0x00000000 0x00000000 0x00000002 531 0x0000 531 0x00000000 0x00000000 0x00000083 0xf0440303 532 0x007f 532 0x007fe010 0x00001414 0x00000000 0x00000000 533 0x0000 533 0x00000000 0x00000000 0x00000000 0x00000000>; 534 }; 534 }; 535 }; 535 }; 536 << 537 emc-tables@1 { << 538 nvidia,ram-code = <0x1 << 539 #address-cells = <1>; << 540 #size-cells = <0>; << 541 reg = <1>; << 542 << 543 emc-table@166500 { << 544 reg = <166500> << 545 compatible = " << 546 clock-frequenc << 547 nvidia,emc-reg << 548 0x0000 << 549 0x0000 << 550 0x0000 << 551 0x0000 << 552 0x0000 << 553 0x0000 << 554 0x0000 << 555 0x0000 << 556 0x0000 << 557 0x007f << 558 0x0000 << 559 }; << 560 << 561 emc-table@333000 { << 562 reg = <333000> << 563 compatible = " << 564 clock-frequenc << 565 nvidia,emc-reg << 566 0x0000 << 567 0x0000 << 568 0x0000 << 569 0x0000 << 570 0x0000 << 571 0x0000 << 572 0x0000 << 573 0x0000 << 574 0x0000 << 575 0x007f << 576 0x0000 << 577 }; << 578 }; << 579 }; 536 }; 580 537 581 usb@c5000000 { 538 usb@c5000000 { 582 compatible = "nvidia,tegra20-u 539 compatible = "nvidia,tegra20-udc"; 583 status = "okay"; 540 status = "okay"; 584 dr_mode = "peripheral"; 541 dr_mode = "peripheral"; 585 }; 542 }; 586 543 587 usb-phy@c5000000 { 544 usb-phy@c5000000 { 588 status = "okay"; 545 status = "okay"; 589 }; 546 }; 590 547 591 usb@c5004000 { 548 usb@c5004000 { 592 status = "okay"; 549 status = "okay"; 593 }; 550 }; 594 551 595 usb-phy@c5004000 { 552 usb-phy@c5004000 { 596 status = "okay"; 553 status = "okay"; 597 nvidia,phy-reset-gpio = <&gpio 554 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 0) 598 GPIO_ACTIVE_LOW>; 555 GPIO_ACTIVE_LOW>; 599 }; 556 }; 600 557 601 usb@c5008000 { 558 usb@c5008000 { 602 status = "okay"; 559 status = "okay"; 603 }; 560 }; 604 561 605 usb-phy@c5008000 { 562 usb-phy@c5008000 { 606 status = "okay"; 563 status = "okay"; 607 }; 564 }; 608 565 609 sdmmc1: mmc@c8000000 { 566 sdmmc1: mmc@c8000000 { 610 status = "okay"; 567 status = "okay"; 611 cd-gpios = <&gpio TEGRA_GPIO(V 568 cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>; 612 wp-gpios = <&gpio TEGRA_GPIO(H 569 wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>; 613 power-gpios = <&gpio TEGRA_GPI 570 power-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>; 614 bus-width = <4>; 571 bus-width = <4>; 615 }; 572 }; 616 573 617 sdmmc4: mmc@c8000600 { 574 sdmmc4: mmc@c8000600 { 618 status = "okay"; 575 status = "okay"; 619 bus-width = <8>; 576 bus-width = <8>; 620 non-removable; 577 non-removable; 621 }; 578 }; 622 579 623 backlight: backlight { 580 backlight: backlight { 624 compatible = "pwm-backlight"; 581 compatible = "pwm-backlight"; 625 582 626 enable-gpios = <&gpio TEGRA_GP 583 enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>; 627 pwms = <&pwm 0 5000000>; 584 pwms = <&pwm 0 5000000>; 628 585 629 brightness-levels = <0 16 32 4 586 brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>; 630 default-brightness-level = <10 587 default-brightness-level = <10>; 631 588 632 /* close enough */ 589 /* close enough */ 633 power-supply = <&vdd_pnl_reg>; 590 power-supply = <&vdd_pnl_reg>; 634 }; 591 }; 635 592 636 clk32k_in: clock-32k { 593 clk32k_in: clock-32k { 637 compatible = "fixed-clock"; 594 compatible = "fixed-clock"; 638 clock-frequency = <32768>; 595 clock-frequency = <32768>; 639 #clock-cells = <0>; 596 #clock-cells = <0>; 640 }; 597 }; 641 598 642 cpus { 599 cpus { 643 cpu0: cpu@0 { 600 cpu0: cpu@0 { 644 cpu-supply = <&cpu_vdd 601 cpu-supply = <&cpu_vdd_reg>; 645 operating-points-v2 = 602 operating-points-v2 = <&cpu0_opp_table>; 646 #cooling-cells = <2>; 603 #cooling-cells = <2>; 647 }; 604 }; 648 605 649 cpu1: cpu@1 { 606 cpu1: cpu@1 { 650 cpu-supply = <&cpu_vdd 607 cpu-supply = <&cpu_vdd_reg>; 651 operating-points-v2 = 608 operating-points-v2 = <&cpu0_opp_table>; 652 #cooling-cells = <2>; 609 #cooling-cells = <2>; 653 }; 610 }; 654 }; 611 }; 655 612 656 gpio-keys { 613 gpio-keys { 657 compatible = "gpio-keys"; 614 compatible = "gpio-keys"; 658 615 659 key-wakeup { 616 key-wakeup { 660 label = "Wakeup"; 617 label = "Wakeup"; 661 gpios = <&gpio TEGRA_G 618 gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>; 662 linux,code = <KEY_WAKE 619 linux,code = <KEY_WAKEUP>; 663 wakeup-source; 620 wakeup-source; 664 }; 621 }; 665 }; 622 }; 666 623 667 gpio-leds { 624 gpio-leds { 668 compatible = "gpio-leds"; 625 compatible = "gpio-leds"; 669 626 670 led-0 { 627 led-0 { 671 label = "wifi-led"; 628 label = "wifi-led"; 672 gpios = <&gpio TEGRA_G 629 gpios = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>; 673 linux,default-trigger 630 linux,default-trigger = "rfkill0"; 674 }; 631 }; 675 }; 632 }; 676 633 677 opp-table-emc { 634 opp-table-emc { 678 /delete-node/ opp-760000000; 635 /delete-node/ opp-760000000; 679 }; 636 }; 680 637 681 panel: panel { 638 panel: panel { 682 compatible = "samsung,ltn101nt 639 compatible = "samsung,ltn101nt05"; 683 640 684 ddc-i2c-bus = <&lvds_ddc>; 641 ddc-i2c-bus = <&lvds_ddc>; 685 power-supply = <&vdd_pnl_reg>; 642 power-supply = <&vdd_pnl_reg>; 686 enable-gpios = <&gpio TEGRA_GP 643 enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>; 687 644 688 backlight = <&backlight>; 645 backlight = <&backlight>; 689 }; 646 }; 690 647 691 p5valw_reg: regulator-5v0alw { 648 p5valw_reg: regulator-5v0alw { 692 compatible = "regulator-fixed" 649 compatible = "regulator-fixed"; 693 regulator-name = "+5valw"; 650 regulator-name = "+5valw"; 694 regulator-min-microvolt = <500 651 regulator-min-microvolt = <5000000>; 695 regulator-max-microvolt = <500 652 regulator-max-microvolt = <5000000>; 696 regulator-always-on; 653 regulator-always-on; 697 }; 654 }; 698 655 699 vdd_pnl_reg: regulator-3v0 { 656 vdd_pnl_reg: regulator-3v0 { 700 compatible = "regulator-fixed" 657 compatible = "regulator-fixed"; 701 regulator-name = "+3VS,vdd_pnl 658 regulator-name = "+3VS,vdd_pnl"; 702 regulator-min-microvolt = <330 659 regulator-min-microvolt = <3300000>; 703 regulator-max-microvolt = <330 660 regulator-max-microvolt = <3300000>; 704 regulator-boot-on; 661 regulator-boot-on; 705 gpio = <&gpio TEGRA_GPIO(A, 4) 662 gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>; 706 enable-active-high; 663 enable-active-high; 707 }; 664 }; 708 665 709 sound { 666 sound { 710 compatible = "nvidia,tegra-aud 667 compatible = "nvidia,tegra-audio-alc5632-paz00", 711 "nvidia,tegra-audio-al 668 "nvidia,tegra-audio-alc5632"; 712 669 713 nvidia,model = "Compal PAZ00"; 670 nvidia,model = "Compal PAZ00"; 714 671 715 nvidia,audio-routing = 672 nvidia,audio-routing = 716 "Int Spk", "SPKOUT", 673 "Int Spk", "SPKOUT", 717 "Int Spk", "SPKOUTN", 674 "Int Spk", "SPKOUTN", 718 "Headset Mic", "MICBIA 675 "Headset Mic", "MICBIAS1", 719 "MIC1", "Headset Mic", 676 "MIC1", "Headset Mic", 720 "Headset Stereophone", 677 "Headset Stereophone", "HPR", 721 "Headset Stereophone", 678 "Headset Stereophone", "HPL", 722 "DMICDAT", "Digital Mi 679 "DMICDAT", "Digital Mic"; 723 680 724 nvidia,audio-codec = <&alc5632 681 nvidia,audio-codec = <&alc5632>; 725 nvidia,i2s-controller = <&tegr 682 nvidia,i2s-controller = <&tegra_i2s1>; 726 nvidia,hp-det-gpios = <&gpio T 683 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) 727 GPIO_ACTIVE_HIGH>; 684 GPIO_ACTIVE_HIGH>; 728 685 729 clocks = <&tegra_car TEGRA20_C 686 clocks = <&tegra_car TEGRA20_CLK_PLL_A>, 730 <&tegra_car TEGRA20_C 687 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, 731 <&tegra_car TEGRA20_C 688 <&tegra_car TEGRA20_CLK_CDEV1>; 732 clock-names = "pll_a", "pll_a_ 689 clock-names = "pll_a", "pll_a_out0", "mclk"; 733 }; 690 }; 734 691 735 thermal-zones { 692 thermal-zones { 736 cpu-thermal { 693 cpu-thermal { 737 polling-delay-passive 694 polling-delay-passive = <500>; /* milliseconds */ 738 polling-delay = <1500> 695 polling-delay = <1500>; /* milliseconds */ 739 696 740 thermal-sensors = <&ad 697 thermal-sensors = <&adt7461 1>; 741 698 742 trips { 699 trips { 743 trip0: cpu-ale 700 trip0: cpu-alert0 { 744 /* sta 701 /* start throttling at 80C */ 745 temper 702 temperature = <80000>; 746 hyster 703 hysteresis = <200>; 747 type = 704 type = "passive"; 748 }; 705 }; 749 706 750 trip1: cpu-cri 707 trip1: cpu-crit { 751 /* shu 708 /* shut down at 85C */ 752 temper 709 temperature = <85000>; 753 hyster 710 hysteresis = <2000>; 754 type = 711 type = "critical"; 755 }; 712 }; 756 }; 713 }; 757 714 758 cooling-maps { 715 cooling-maps { 759 map0 { 716 map0 { 760 trip = 717 trip = <&trip0>; 761 coolin 718 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 762 719 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 763 }; 720 }; 764 }; 721 }; 765 }; 722 }; 766 }; 723 }; 767 }; 724 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.