Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 3 | /include/ "tegra20.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "Toshiba AC100 / Dynabook AZ"; |
| 7 | compatible = "compal,paz00", "nvidia,tegra20"; |
| 8 | |
Stephen Warren | f9eb26a | 2012-05-11 16:17:47 -0600 | [diff] [blame] | 9 | memory { |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 10 | reg = <0x00000000 0x20000000>; |
| 11 | }; |
| 12 | |
Stephen Warren | f9eb26a | 2012-05-11 16:17:47 -0600 | [diff] [blame] | 13 | pinmux { |
Stephen Warren | ecc295b | 2012-03-15 16:27:36 -0600 | [diff] [blame] | 14 | pinctrl-names = "default"; |
| 15 | pinctrl-0 = <&state_default>; |
| 16 | |
| 17 | state_default: pinmux { |
| 18 | ata { |
| 19 | nvidia,pins = "ata", "atc", "atd", "ate", |
| 20 | "dap2", "gmb", "gmc", "gmd", "spia", |
| 21 | "spib", "spic", "spid", "spie"; |
| 22 | nvidia,function = "gmi"; |
| 23 | }; |
| 24 | atb { |
| 25 | nvidia,pins = "atb", "gma", "gme"; |
| 26 | nvidia,function = "sdio4"; |
| 27 | }; |
| 28 | cdev1 { |
| 29 | nvidia,pins = "cdev1"; |
| 30 | nvidia,function = "plla_out"; |
| 31 | }; |
| 32 | cdev2 { |
| 33 | nvidia,pins = "cdev2"; |
| 34 | nvidia,function = "pllp_out4"; |
| 35 | }; |
| 36 | crtp { |
| 37 | nvidia,pins = "crtp"; |
| 38 | nvidia,function = "crt"; |
| 39 | }; |
| 40 | csus { |
| 41 | nvidia,pins = "csus"; |
| 42 | nvidia,function = "pllc_out1"; |
| 43 | }; |
| 44 | dap1 { |
| 45 | nvidia,pins = "dap1"; |
| 46 | nvidia,function = "dap1"; |
| 47 | }; |
| 48 | dap3 { |
| 49 | nvidia,pins = "dap3"; |
| 50 | nvidia,function = "dap3"; |
| 51 | }; |
| 52 | dap4 { |
| 53 | nvidia,pins = "dap4"; |
| 54 | nvidia,function = "dap4"; |
| 55 | }; |
| 56 | ddc { |
| 57 | nvidia,pins = "ddc"; |
| 58 | nvidia,function = "i2c2"; |
| 59 | }; |
| 60 | dta { |
| 61 | nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte"; |
| 62 | nvidia,function = "rsvd1"; |
| 63 | }; |
| 64 | dtf { |
| 65 | nvidia,pins = "dtf"; |
| 66 | nvidia,function = "i2c3"; |
| 67 | }; |
| 68 | gpu { |
| 69 | nvidia,pins = "gpu", "sdb", "sdd"; |
| 70 | nvidia,function = "pwm"; |
| 71 | }; |
| 72 | gpu7 { |
| 73 | nvidia,pins = "gpu7"; |
| 74 | nvidia,function = "rtck"; |
| 75 | }; |
| 76 | gpv { |
| 77 | nvidia,pins = "gpv", "slxa", "slxk"; |
| 78 | nvidia,function = "pcie"; |
| 79 | }; |
| 80 | hdint { |
| 81 | nvidia,pins = "hdint", "pta"; |
| 82 | nvidia,function = "hdmi"; |
| 83 | }; |
| 84 | i2cp { |
| 85 | nvidia,pins = "i2cp"; |
| 86 | nvidia,function = "i2cp"; |
| 87 | }; |
| 88 | irrx { |
| 89 | nvidia,pins = "irrx", "irtx"; |
| 90 | nvidia,function = "uarta"; |
| 91 | }; |
| 92 | kbca { |
| 93 | nvidia,pins = "kbca", "kbcc", "kbce", "kbcf"; |
| 94 | nvidia,function = "kbc"; |
| 95 | }; |
| 96 | kbcb { |
| 97 | nvidia,pins = "kbcb", "kbcd"; |
| 98 | nvidia,function = "sdio2"; |
| 99 | }; |
| 100 | lcsn { |
| 101 | nvidia,pins = "lcsn", "ld0", "ld1", "ld2", |
| 102 | "ld3", "ld4", "ld5", "ld6", "ld7", |
| 103 | "ld8", "ld9", "ld10", "ld11", "ld12", |
| 104 | "ld13", "ld14", "ld15", "ld16", "ld17", |
| 105 | "ldc", "ldi", "lhp0", "lhp1", "lhp2", |
| 106 | "lhs", "lm0", "lm1", "lpp", "lpw0", |
| 107 | "lpw1", "lpw2", "lsc0", "lsc1", "lsck", |
| 108 | "lsda", "lsdi", "lspi", "lvp0", "lvp1", |
| 109 | "lvs"; |
| 110 | nvidia,function = "displaya"; |
| 111 | }; |
| 112 | owc { |
| 113 | nvidia,pins = "owc"; |
| 114 | nvidia,function = "owr"; |
| 115 | }; |
| 116 | pmc { |
| 117 | nvidia,pins = "pmc"; |
| 118 | nvidia,function = "pwr_on"; |
| 119 | }; |
| 120 | rm { |
| 121 | nvidia,pins = "rm"; |
| 122 | nvidia,function = "i2c1"; |
| 123 | }; |
| 124 | sdc { |
| 125 | nvidia,pins = "sdc"; |
| 126 | nvidia,function = "twc"; |
| 127 | }; |
| 128 | sdio1 { |
| 129 | nvidia,pins = "sdio1"; |
| 130 | nvidia,function = "sdio1"; |
| 131 | }; |
| 132 | slxc { |
| 133 | nvidia,pins = "slxc", "slxd"; |
| 134 | nvidia,function = "spi4"; |
| 135 | }; |
| 136 | spdi { |
| 137 | nvidia,pins = "spdi", "spdo"; |
| 138 | nvidia,function = "rsvd2"; |
| 139 | }; |
| 140 | spif { |
| 141 | nvidia,pins = "spif", "uac"; |
| 142 | nvidia,function = "rsvd4"; |
| 143 | }; |
| 144 | spig { |
| 145 | nvidia,pins = "spig", "spih"; |
| 146 | nvidia,function = "spi2_alt"; |
| 147 | }; |
| 148 | uaa { |
| 149 | nvidia,pins = "uaa", "uab", "uda"; |
| 150 | nvidia,function = "ulpi"; |
| 151 | }; |
| 152 | uad { |
| 153 | nvidia,pins = "uad"; |
| 154 | nvidia,function = "spdif"; |
| 155 | }; |
| 156 | uca { |
| 157 | nvidia,pins = "uca", "ucb"; |
| 158 | nvidia,function = "uartc"; |
| 159 | }; |
| 160 | conf_ata { |
| 161 | nvidia,pins = "ata", "atb", "atc", "atd", "ate", |
Stephen Warren | 563da21 | 2012-04-13 16:35:20 -0600 | [diff] [blame] | 162 | "cdev1", "cdev2", "dap1", "dap2", "dtf", |
| 163 | "gma", "gmb", "gmc", "gmd", "gme", |
| 164 | "gpu", "gpu7", "gpv", "i2cp", "pta", |
| 165 | "rm", "sdio1", "slxk", "spdo", "uac", |
| 166 | "uda"; |
Stephen Warren | ecc295b | 2012-03-15 16:27:36 -0600 | [diff] [blame] | 167 | nvidia,pull = <0>; |
| 168 | nvidia,tristate = <0>; |
| 169 | }; |
Stephen Warren | ecc295b | 2012-03-15 16:27:36 -0600 | [diff] [blame] | 170 | conf_ck32 { |
| 171 | nvidia,pins = "ck32", "ddrc", "pmca", "pmcb", |
| 172 | "pmcc", "pmcd", "pmce", "xm2c", "xm2d"; |
| 173 | nvidia,pull = <0>; |
| 174 | }; |
| 175 | conf_crtp { |
| 176 | nvidia,pins = "crtp", "dap3", "dap4", "dtb", |
| 177 | "dtc", "dte", "slxa", "slxc", "slxd", |
| 178 | "spdi"; |
| 179 | nvidia,pull = <0>; |
| 180 | nvidia,tristate = <1>; |
| 181 | }; |
| 182 | conf_csus { |
| 183 | nvidia,pins = "csus", "spia", "spib", "spid", |
| 184 | "spif"; |
| 185 | nvidia,pull = <1>; |
| 186 | nvidia,tristate = <1>; |
| 187 | }; |
| 188 | conf_ddc { |
| 189 | nvidia,pins = "ddc", "irrx", "irtx", "kbca", |
| 190 | "kbcb", "kbcc", "kbcd", "kbce", "kbcf", |
| 191 | "spic", "spig", "uaa", "uab"; |
| 192 | nvidia,pull = <2>; |
| 193 | nvidia,tristate = <0>; |
| 194 | }; |
| 195 | conf_dta { |
| 196 | nvidia,pins = "dta", "dtd", "owc", "sdc", "sdd", |
| 197 | "spie", "spih", "uad", "uca", "ucb"; |
| 198 | nvidia,pull = <2>; |
| 199 | nvidia,tristate = <1>; |
| 200 | }; |
| 201 | conf_hdint { |
| 202 | nvidia,pins = "hdint", "ld0", "ld1", "ld2", |
| 203 | "ld3", "ld4", "ld5", "ld6", "ld7", |
| 204 | "ld8", "ld9", "ld10", "ld11", "ld12", |
| 205 | "ld13", "ld14", "ld15", "ld16", "ld17", |
| 206 | "ldc", "ldi", "lhs", "lsc0", "lspi", |
| 207 | "lvs", "pmc"; |
| 208 | nvidia,tristate = <0>; |
| 209 | }; |
| 210 | conf_lc { |
| 211 | nvidia,pins = "lc", "ls"; |
| 212 | nvidia,pull = <2>; |
| 213 | }; |
| 214 | conf_lcsn { |
| 215 | nvidia,pins = "lcsn", "lhp0", "lhp1", "lhp2", |
| 216 | "lm0", "lm1", "lpp", "lpw0", "lpw1", |
| 217 | "lpw2", "lsc1", "lsck", "lsda", "lsdi", |
| 218 | "lvp0", "lvp1", "sdb"; |
| 219 | nvidia,tristate = <1>; |
| 220 | }; |
| 221 | conf_ld17_0 { |
| 222 | nvidia,pins = "ld17_0", "ld19_18", "ld21_20", |
| 223 | "ld23_22"; |
| 224 | nvidia,pull = <1>; |
| 225 | }; |
| 226 | }; |
| 227 | }; |
| 228 | |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 229 | i2s@70002800 { |
| 230 | status = "okay"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 231 | }; |
| 232 | |
| 233 | serial@70006000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 234 | status = "okay"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 235 | clock-frequency = <216000000>; |
| 236 | }; |
| 237 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 238 | serial@70006200 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 239 | status = "okay"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 240 | clock-frequency = <216000000>; |
| 241 | }; |
| 242 | |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 243 | i2c@7000c000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 244 | status = "okay"; |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 245 | clock-frequency = <400000>; |
Leon Romanovsky | 613e965 | 2012-02-02 22:13:35 +0200 | [diff] [blame] | 246 | |
| 247 | alc5632: alc5632@1e { |
| 248 | compatible = "realtek,alc5632"; |
| 249 | reg = <0x1e>; |
| 250 | gpio-controller; |
| 251 | #gpio-cells = <2>; |
| 252 | }; |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 253 | }; |
| 254 | |
| 255 | i2c@7000c400 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 256 | status = "okay"; |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 257 | clock-frequency = <400000>; |
| 258 | }; |
| 259 | |
Stephen Warren | f9eb26a | 2012-05-11 16:17:47 -0600 | [diff] [blame] | 260 | nvec { |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 261 | compatible = "nvidia,nvec"; |
Stephen Warren | ba04c28 | 2012-05-11 16:28:59 -0600 | [diff] [blame] | 262 | reg = <0x7000c500 0x100>; |
pdeschrijver@nvidia.com | 0d4f747 | 2011-11-29 18:29:19 -0700 | [diff] [blame] | 263 | interrupts = <0 92 0x04>; |
Stephen Warren | 2eaab06 | 2012-05-11 17:12:52 -0600 | [diff] [blame] | 264 | #address-cells = <1>; |
| 265 | #size-cells = <0>; |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 266 | clock-frequency = <80000>; |
Stephen Warren | c44e438 | 2012-05-11 16:21:10 -0600 | [diff] [blame] | 267 | request-gpios = <&gpio 170 0>; /* gpio PV2 */ |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 268 | slave-addr = <138>; |
| 269 | }; |
| 270 | |
| 271 | i2c@7000d000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 272 | status = "okay"; |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 273 | clock-frequency = <400000>; |
Marc Dietrich | 1266f89 | 2012-01-31 19:53:21 +0100 | [diff] [blame] | 274 | |
| 275 | adt7461@4c { |
| 276 | compatible = "adi,adt7461"; |
| 277 | reg = <0x4c>; |
| 278 | }; |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 279 | }; |
| 280 | |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 281 | usb@c5000000 { |
| 282 | status = "okay"; |
| 283 | }; |
| 284 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 285 | usb@c5004000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 286 | status = "okay"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 287 | nvidia,phy-reset-gpio = <&gpio 168 0>; /* gpio PV0 */ |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 288 | }; |
| 289 | |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 290 | usb@c5008000 { |
| 291 | status = "okay"; |
| 292 | }; |
| 293 | |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 294 | sdhci@c8000000 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 295 | status = "okay"; |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 296 | cd-gpios = <&gpio 173 0>; /* gpio PV5 */ |
| 297 | wp-gpios = <&gpio 57 0>; /* gpio PH1 */ |
Marc Dietrich | 5f21f12 | 2012-01-28 20:03:04 +0100 | [diff] [blame] | 298 | power-gpios = <&gpio 169 0>; /* gpio PV1 */ |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 299 | bus-width = <4>; |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 300 | }; |
| 301 | |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 302 | sdhci@c8000600 { |
Stephen Warren | 2a5fdc9 | 2012-05-11 17:32:56 -0600 | [diff] [blame] | 303 | status = "okay"; |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 304 | support-8bit; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 305 | bus-width = <8>; |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 306 | }; |
Marc Dietrich | d8d56c8 | 2012-01-28 20:03:07 +0100 | [diff] [blame] | 307 | |
| 308 | gpio-keys { |
| 309 | compatible = "gpio-keys"; |
| 310 | |
| 311 | power { |
| 312 | label = "Power"; |
| 313 | gpios = <&gpio 79 1>; /* gpio PJ7, active low */ |
| 314 | linux,code = <116>; /* KEY_POWER */ |
| 315 | gpio-key,wakeup; |
| 316 | }; |
| 317 | }; |
Marc Dietrich | 80c9473 | 2012-01-28 20:03:08 +0100 | [diff] [blame] | 318 | |
| 319 | gpio-leds { |
| 320 | compatible = "gpio-leds"; |
| 321 | |
| 322 | wifi { |
| 323 | label = "wifi-led"; |
Stephen Warren | c44e438 | 2012-05-11 16:21:10 -0600 | [diff] [blame] | 324 | gpios = <&gpio 24 0>; /* gpio PD0 */ |
Marc Dietrich | 80c9473 | 2012-01-28 20:03:08 +0100 | [diff] [blame] | 325 | linux,default-trigger = "rfkill0"; |
| 326 | }; |
| 327 | }; |
Stephen Warren | aa607eb | 2012-04-12 15:46:49 -0600 | [diff] [blame] | 328 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 329 | sound { |
| 330 | compatible = "nvidia,tegra-audio-alc5632-paz00", |
| 331 | "nvidia,tegra-audio-alc5632"; |
| 332 | |
| 333 | nvidia,model = "Compal PAZ00"; |
| 334 | |
| 335 | nvidia,audio-routing = |
| 336 | "Int Spk", "SPKOUT", |
| 337 | "Int Spk", "SPKOUTN", |
| 338 | "Headset Mic", "MICBIAS1", |
| 339 | "MIC1", "Headset Mic", |
| 340 | "Headset Stereophone", "HPR", |
| 341 | "Headset Stereophone", "HPL", |
| 342 | "DMICDAT", "Digital Mic"; |
| 343 | |
| 344 | nvidia,audio-codec = <&alc5632>; |
| 345 | nvidia,i2s-controller = <&tegra_i2s1>; |
| 346 | nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ |
Stephen Warren | aa607eb | 2012-04-12 15:46:49 -0600 | [diff] [blame] | 347 | }; |
Marc Dietrich | cc2afa4 | 2011-11-01 10:37:05 +0000 | [diff] [blame] | 348 | }; |