Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Stephen Warren | 1bd0bd4 | 2012-10-17 16:38:21 -0600 | [diff] [blame] | 2 | #include "tegra20.dtsi" |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 3 | |
Marcel Ziswiler | 6a4a865 | 2018-09-02 12:08:56 +0200 | [diff] [blame] | 4 | /* |
| 5 | * Toradex Colibri T20 Module Device Tree |
| 6 | * Compatible for Revisions Colibri T20 256MB V1.1B, V1.2A; |
| 7 | * Colibri T20 256MB IT V1.2A; Colibri T20 512MB V1.1C, V1.2A; |
| 8 | * Colibri T20 512MB IT V1.2A |
| 9 | */ |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 10 | / { |
Krzysztof Kozlowski | 4829976 | 2018-07-09 18:05:17 +0200 | [diff] [blame] | 11 | memory@0 { |
Krzysztof Kozlowski | 8ab11f8 | 2018-07-09 18:05:19 +0200 | [diff] [blame] | 12 | /* |
| 13 | * Set memory to 256 MB to be safe as this could be used on |
| 14 | * 256 or 512 MB module. It is expected from bootloader |
| 15 | * to fix this up for 512 MB version. |
| 16 | */ |
| 17 | reg = <0x00000000 0x10000000>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 18 | }; |
| 19 | |
Stephen Warren | 58ecb23 | 2013-11-25 17:53:16 -0700 | [diff] [blame] | 20 | host1x@50000000 { |
| 21 | hdmi@54280000 { |
Marcel Ziswiler | 82e7cecc | 2018-09-02 12:09:01 +0200 | [diff] [blame] | 22 | nvidia,ddc-i2c-bus = <&hdmi_ddc>; |
Marcel Ziswiler | e6800c2 | 2018-09-02 12:08:35 +0200 | [diff] [blame] | 23 | nvidia,hpd-gpio = |
| 24 | <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 25 | pll-supply = <®_1v8_avdd_hdmi_pll>; |
| 26 | vdd-supply = <®_3v3_avdd_hdmi>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 27 | }; |
| 28 | }; |
| 29 | |
Stephen Warren | 58ecb23 | 2013-11-25 17:53:16 -0700 | [diff] [blame] | 30 | pinmux@70000014 { |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 31 | pinctrl-names = "default"; |
| 32 | pinctrl-0 = <&state_default>; |
| 33 | |
| 34 | state_default: pinmux { |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 35 | /* Analogue Audio AC97 to WM9712 (On-module) */ |
| 36 | audio-refclk { |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 37 | nvidia,pins = "cdev1"; |
| 38 | nvidia,function = "plla_out"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 39 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 40 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 41 | }; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 42 | dap3 { |
| 43 | nvidia,pins = "dap3"; |
| 44 | nvidia,function = "dap3"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 45 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 46 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 47 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 48 | |
| 49 | /* |
| 50 | * AC97_RESET, ULPI_RESET, AC97_INT aka WM9712 GENIRQ |
| 51 | * (All on-module), SODIMM Pin 45 Wakeup |
| 52 | */ |
| 53 | gpio-uac { |
| 54 | nvidia,pins = "uac"; |
| 55 | nvidia,function = "rsvd2"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 56 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 57 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 58 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 59 | |
| 60 | /* |
| 61 | * Buffer Enables for nPWE and RDnWR (On-module, |
| 62 | * see GPIO hogging further down below) |
| 63 | */ |
| 64 | gpio-pta { |
| 65 | nvidia,pins = "pta"; |
| 66 | nvidia,function = "rsvd4"; |
| 67 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 68 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 69 | }; |
| 70 | |
| 71 | /* |
| 72 | * CLK_32K_OUT, CORE_PWR_REQ, CPU_PWR_REQ, PWR_INT_N, |
| 73 | * SYS_CLK_REQ (All on-module) |
| 74 | */ |
| 75 | pmc { |
| 76 | nvidia,pins = "pmc"; |
| 77 | nvidia,function = "pwr_on"; |
| 78 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 79 | }; |
| 80 | |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 81 | /* |
| 82 | * Colibri Address/Data Bus (GMI) |
| 83 | * Note: spid and spie optionally used for SPI1 |
| 84 | */ |
| 85 | gmi { |
| 86 | nvidia,pins = "atc", "atd", "ate", "dap1", |
| 87 | "dap2", "dap4", "gmd", "gpu", |
| 88 | "irrx", "irtx", "spia", "spib", |
| 89 | "spic", "spid", "spie", "uca", |
| 90 | "ucb"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 91 | nvidia,function = "gmi"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 92 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 93 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 94 | }; |
| 95 | /* Further pins may be used as GPIOs */ |
| 96 | gmi-gpio1 { |
| 97 | nvidia,pins = "lpw0", "lsc1", "lsck", "lsda"; |
| 98 | nvidia,function = "hdmi"; |
| 99 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 100 | }; |
| 101 | gmi-gpio2 { |
| 102 | nvidia,pins = "lcsn", "ldc", "lm0", "lsdi"; |
| 103 | nvidia,function = "rsvd4"; |
| 104 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 105 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 106 | |
| 107 | /* Colibri BL_ON */ |
| 108 | bl-on { |
| 109 | nvidia,pins = "dta"; |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 110 | nvidia,function = "rsvd1"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 111 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 112 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 113 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 114 | |
| 115 | /* Colibri Backlight PWM<A>, PWM<B> */ |
| 116 | pwm-a-b { |
| 117 | nvidia,pins = "sdc"; |
| 118 | nvidia,function = "pwm"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 119 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 120 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 121 | |
| 122 | /* Colibri DDC */ |
| 123 | ddc { |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 124 | nvidia,pins = "ddc"; |
| 125 | nvidia,function = "i2c2"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 126 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 127 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 128 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 129 | |
| 130 | /* |
| 131 | * Colibri EXT_IO* |
| 132 | * Note: dtf optionally used for I2C3 |
| 133 | */ |
| 134 | ext-io { |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 135 | nvidia,pins = "dtf", "spdi"; |
| 136 | nvidia,function = "rsvd2"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 137 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 138 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 139 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 140 | |
| 141 | /* |
| 142 | * Colibri Ethernet (On-module) |
| 143 | * ULPI EHCI instance 1 USB2_DP/N -> AX88772B |
| 144 | */ |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 145 | ulpi { |
| 146 | nvidia,pins = "uaa", "uab", "uda"; |
| 147 | nvidia,function = "ulpi"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 148 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 149 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 150 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 151 | ulpi-refclk { |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 152 | nvidia,pins = "cdev2"; |
| 153 | nvidia,function = "pllp_out4"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 154 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 155 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 156 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 157 | |
| 158 | /* Colibri HOTPLUG_DETECT (HDMI) */ |
| 159 | hotplug-detect { |
| 160 | nvidia,pins = "hdint"; |
| 161 | nvidia,function = "hdmi"; |
| 162 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 163 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 164 | |
| 165 | /* Colibri I2C */ |
| 166 | i2c { |
| 167 | nvidia,pins = "rm"; |
| 168 | nvidia,function = "i2c1"; |
| 169 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 170 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 171 | }; |
| 172 | |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 173 | /* |
| 174 | * Colibri L_BIAS, LCD_M1 is muxed with LCD_DE |
| 175 | * today's display need DE, disable LCD_M1 |
| 176 | */ |
| 177 | lm1 { |
| 178 | nvidia,pins = "lm1"; |
| 179 | nvidia,function = "rsvd3"; |
| 180 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 181 | }; |
| 182 | |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 183 | /* Colibri LCD (L_* resp. LDD<*>) */ |
| 184 | lcd { |
| 185 | nvidia,pins = "ld0", "ld1", "ld2", "ld3", |
| 186 | "ld4", "ld5", "ld6", "ld7", |
| 187 | "ld8", "ld9", "ld10", "ld11", |
| 188 | "ld12", "ld13", "ld14", "ld15", |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 189 | "ld16", "ld17", "lhs", "lsc0", |
| 190 | "lspi", "lvs"; |
| 191 | nvidia,function = "displaya"; |
| 192 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 193 | }; |
| 194 | /* Colibri LCD (Optional 24 BPP Support) */ |
| 195 | lcd-24 { |
| 196 | nvidia,pins = "ldi", "lhp0", "lhp1", "lhp2", |
| 197 | "lpp", "lvp1"; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 198 | nvidia,function = "displaya"; |
| 199 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 200 | }; |
| 201 | |
| 202 | /* Colibri MMC */ |
| 203 | mmc { |
| 204 | nvidia,pins = "atb", "gma"; |
| 205 | nvidia,function = "sdio4"; |
| 206 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 207 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 208 | }; |
| 209 | |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 210 | /* Colibri MMCCD */ |
| 211 | mmccd { |
| 212 | nvidia,pins = "gmb"; |
| 213 | nvidia,function = "gmi_int"; |
| 214 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 215 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 216 | }; |
| 217 | |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 218 | /* Colibri MMC (Optional 8-bit) */ |
| 219 | mmc-8bit { |
| 220 | nvidia,pins = "gme"; |
| 221 | nvidia,function = "sdio4"; |
| 222 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 223 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 224 | }; |
| 225 | |
| 226 | /* |
| 227 | * Colibri Parallel Camera (Optional) |
| 228 | * pins multiplexed with others and therefore disabled |
| 229 | * Note: dta used for BL_ON by default |
| 230 | */ |
| 231 | cif-mclk { |
| 232 | nvidia,pins = "csus"; |
| 233 | nvidia,function = "vi_sensor_clk"; |
| 234 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 235 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 236 | }; |
| 237 | cif { |
| 238 | nvidia,pins = "dtb", "dtc", "dtd"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 239 | nvidia,function = "vi"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 240 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 241 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 242 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 243 | |
| 244 | /* Colibri PWM<C>, PWM<D> */ |
| 245 | pwm-c-d { |
| 246 | nvidia,pins = "sdb", "sdd"; |
| 247 | nvidia,function = "pwm"; |
| 248 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 249 | }; |
| 250 | |
| 251 | /* Colibri SSP */ |
| 252 | ssp { |
| 253 | nvidia,pins = "slxa", "slxc", "slxd", "slxk"; |
| 254 | nvidia,function = "spi4"; |
| 255 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 256 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 257 | }; |
| 258 | |
| 259 | /* Colibri UART-A */ |
| 260 | uart-a { |
| 261 | nvidia,pins = "sdio1"; |
| 262 | nvidia,function = "uarta"; |
| 263 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 264 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 265 | }; |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 266 | uart-a-dsr { |
| 267 | nvidia,pins = "lpw1"; |
| 268 | nvidia,function = "rsvd3"; |
| 269 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 270 | }; |
| 271 | uart-a-dcd { |
| 272 | nvidia,pins = "lpw2"; |
| 273 | nvidia,function = "hdmi"; |
| 274 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 275 | }; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 276 | |
| 277 | /* Colibri UART-B */ |
| 278 | uart-b { |
| 279 | nvidia,pins = "gmc"; |
| 280 | nvidia,function = "uartd"; |
| 281 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 282 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 283 | }; |
| 284 | |
| 285 | /* Colibri UART-C */ |
| 286 | uart-c { |
| 287 | nvidia,pins = "uad"; |
| 288 | nvidia,function = "irda"; |
| 289 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 290 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 291 | }; |
| 292 | |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 293 | /* Colibri USB_CDET */ |
| 294 | usb-cdet { |
| 295 | nvidia,pins = "spdo"; |
| 296 | nvidia,function = "rsvd2"; |
| 297 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 298 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 299 | }; |
| 300 | |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 301 | /* Colibri USBH_OC */ |
| 302 | usbh-oc { |
| 303 | nvidia,pins = "spih"; |
| 304 | nvidia,function = "spi2_alt"; |
| 305 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 306 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 307 | }; |
| 308 | |
| 309 | /* Colibri USBH_PEN */ |
| 310 | usbh-pen { |
| 311 | nvidia,pins = "spig"; |
| 312 | nvidia,function = "spi2_alt"; |
| 313 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 314 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 315 | }; |
| 316 | |
| 317 | /* Colibri VGA not supported */ |
| 318 | vga { |
| 319 | nvidia,pins = "crtp"; |
| 320 | nvidia,function = "crt"; |
| 321 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 322 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 323 | }; |
| 324 | |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 325 | /* I2C3 (Optional) */ |
| 326 | i2c3 { |
| 327 | nvidia,pins = "dtf"; |
| 328 | nvidia,function = "i2c3"; |
| 329 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 330 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 331 | }; |
| 332 | |
| 333 | /* JTAG_RTCK */ |
| 334 | jtag-rtck { |
| 335 | nvidia,pins = "gpu7"; |
| 336 | nvidia,function = "rtck"; |
| 337 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 338 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 339 | }; |
| 340 | |
| 341 | /* |
| 342 | * LAN_RESET, LAN_EXT_WAKEUP and LAN_PME |
| 343 | * (All On-module) |
| 344 | */ |
| 345 | gpio-gpv { |
| 346 | nvidia,pins = "gpv"; |
| 347 | nvidia,function = "rsvd2"; |
| 348 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 349 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 350 | }; |
| 351 | |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 352 | /* |
| 353 | * LAN_V_BUS, VDD_FAULT, BATT_FAULT, WM9712 PENDOWN |
| 354 | * (All On-module); Colibri CAN_INT |
| 355 | */ |
| 356 | gpio-dte { |
| 357 | nvidia,pins = "dte"; |
| 358 | nvidia,function = "rsvd1"; |
| 359 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 360 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 361 | }; |
| 362 | |
| 363 | /* NAND (On-module) */ |
| 364 | nand { |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 365 | nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd", |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 366 | "kbce", "kbcf"; |
| 367 | nvidia,function = "nand"; |
| 368 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 369 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 370 | }; |
| 371 | |
| 372 | /* Onewire (Optional) */ |
| 373 | owr { |
| 374 | nvidia,pins = "owc"; |
| 375 | nvidia,function = "owr"; |
| 376 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 377 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 378 | }; |
| 379 | |
| 380 | /* Power I2C (On-module) */ |
| 381 | i2cp { |
| 382 | nvidia,pins = "i2cp"; |
| 383 | nvidia,function = "i2cp"; |
| 384 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 385 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 386 | }; |
| 387 | |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 388 | /* RESET_OUT */ |
| 389 | reset-out { |
| 390 | nvidia,pins = "ata"; |
| 391 | nvidia,function = "gmi"; |
| 392 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 393 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 394 | }; |
| 395 | |
Marcel Ziswiler | a2cb59b | 2018-09-02 12:08:43 +0200 | [diff] [blame] | 396 | /* |
| 397 | * SPI1 (Optional) |
| 398 | * Note: spid and spie used for Colibri Address/Data |
| 399 | * Bus (GMI) |
| 400 | */ |
| 401 | spi1 { |
| 402 | nvidia,pins = "spid", "spie", "spif"; |
| 403 | nvidia,function = "spi1"; |
Laxman Dewangan | ba4104e | 2013-12-05 16:14:08 +0530 | [diff] [blame] | 404 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 405 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 406 | }; |
Marcel Ziswiler | 992cf09 | 2018-09-02 12:08:44 +0200 | [diff] [blame] | 407 | |
| 408 | /* |
| 409 | * THERMD_ALERT# (On-module), unlatched I2C address pin |
| 410 | * of LM95245 temperature sensor therefore requires |
| 411 | * disabling for now |
| 412 | */ |
| 413 | lvp0 { |
| 414 | nvidia,pins = "lvp0"; |
| 415 | nvidia,function = "rsvd3"; |
| 416 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 417 | }; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 418 | }; |
| 419 | }; |
| 420 | |
Marcel Ziswiler | 5373f80 | 2018-09-02 12:09:05 +0200 | [diff] [blame] | 421 | tegra_ac97: ac97@70002000 { |
Stephen Warren | 5789905 | 2013-11-26 14:43:45 -0700 | [diff] [blame] | 422 | status = "okay"; |
Marcel Ziswiler | 035ae62 | 2018-09-02 12:08:41 +0200 | [diff] [blame] | 423 | nvidia,codec-reset-gpio = |
| 424 | <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_HIGH>; |
| 425 | nvidia,codec-sync-gpio = |
| 426 | <&gpio TEGRA_GPIO(P, 0) GPIO_ACTIVE_HIGH>; |
Stephen Warren | 5789905 | 2013-11-26 14:43:45 -0700 | [diff] [blame] | 427 | }; |
| 428 | |
Marcel Ziswiler | 9ad510b | 2018-09-02 12:08:48 +0200 | [diff] [blame] | 429 | serial@70006040 { |
| 430 | compatible = "nvidia,tegra20-hsuart"; |
| 431 | }; |
| 432 | |
| 433 | serial@70006300 { |
| 434 | compatible = "nvidia,tegra20-hsuart"; |
| 435 | }; |
| 436 | |
Stefan Agner | 5def854 | 2018-06-24 23:27:27 +0200 | [diff] [blame] | 437 | nand-controller@70008000 { |
| 438 | status = "okay"; |
| 439 | |
| 440 | nand@0 { |
| 441 | reg = <0>; |
| 442 | #address-cells = <1>; |
| 443 | #size-cells = <1>; |
| 444 | nand-bus-width = <8>; |
| 445 | nand-on-flash-bbt; |
| 446 | nand-ecc-algo = "bch"; |
| 447 | nand-is-boot-medium; |
| 448 | nand-ecc-maximize; |
| 449 | wp-gpios = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_LOW>; |
| 450 | }; |
| 451 | }; |
| 452 | |
Marcel Ziswiler | 1c3389e | 2018-02-10 02:36:36 +0100 | [diff] [blame] | 453 | /* |
| 454 | * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier |
| 455 | * board) |
| 456 | */ |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 457 | i2c@7000c000 { |
| 458 | clock-frequency = <400000>; |
| 459 | }; |
| 460 | |
Marcel Ziswiler | 1c3389e | 2018-02-10 02:36:36 +0100 | [diff] [blame] | 461 | /* DDC_SCL/SDA on X3 pin 15/16 (e.g. display EDID) */ |
Marcel Ziswiler | 82e7cecc | 2018-09-02 12:09:01 +0200 | [diff] [blame] | 462 | hdmi_ddc: i2c@7000c400 { |
Marcel Ziswiler | 1c3389e | 2018-02-10 02:36:36 +0100 | [diff] [blame] | 463 | clock-frequency = <10000>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 464 | }; |
| 465 | |
Marcel Ziswiler | 1c3389e | 2018-02-10 02:36:36 +0100 | [diff] [blame] | 466 | /* GEN2_I2C: unused */ |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 467 | |
Marcel Ziswiler | 1c3389e | 2018-02-10 02:36:36 +0100 | [diff] [blame] | 468 | /* CAM/GEN3_I2C: used as EXT_IO1/2 GPIOs on SODIMM pin 133/127 */ |
| 469 | |
| 470 | /* PWR_I2C: power I2C to PMIC and temperature sensor (On-module) */ |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 471 | i2c@7000d000 { |
| 472 | status = "okay"; |
Marcel Ziswiler | 1c3389e | 2018-02-10 02:36:36 +0100 | [diff] [blame] | 473 | clock-frequency = <100000>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 474 | |
Marcel Ziswiler | 8f4a8e0 | 2018-09-02 12:09:03 +0200 | [diff] [blame] | 475 | pmic@34 { |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 476 | compatible = "ti,tps6586x"; |
| 477 | reg = <0x34>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 478 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 479 | ti,system-power-controller; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 480 | #gpio-cells = <2>; |
| 481 | gpio-controller; |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 482 | sys-supply = <®_module_3v3>; |
| 483 | vin-sm0-supply = <®_3v3_vsys>; |
| 484 | vin-sm1-supply = <®_3v3_vsys>; |
| 485 | vin-sm2-supply = <®_3v3_vsys>; |
| 486 | vinldo01-supply = <®_1v8_vdd_ddr2>; |
| 487 | vinldo23-supply = <®_module_3v3>; |
| 488 | vinldo4-supply = <®_module_3v3>; |
| 489 | vinldo678-supply = <®_module_3v3>; |
| 490 | vinldo9-supply = <®_module_3v3>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 491 | |
| 492 | regulators { |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 493 | reg_3v3_vsys: sys { |
| 494 | regulator-name = "VSYS_3.3V"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 495 | regulator-always-on; |
| 496 | }; |
| 497 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 498 | sm0 { |
| 499 | regulator-name = "VDD_CORE_1.2V"; |
Stefan Agner | c7ac2b7 | 2013-12-06 13:51:47 +0100 | [diff] [blame] | 500 | regulator-min-microvolt = <1200000>; |
| 501 | regulator-max-microvolt = <1200000>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 502 | regulator-always-on; |
| 503 | }; |
| 504 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 505 | sm1 { |
| 506 | regulator-name = "VDD_CPU_1.0V"; |
Stefan Agner | c7ac2b7 | 2013-12-06 13:51:47 +0100 | [diff] [blame] | 507 | regulator-min-microvolt = <1000000>; |
| 508 | regulator-max-microvolt = <1000000>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 509 | regulator-always-on; |
| 510 | }; |
| 511 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 512 | reg_1v8_vdd_ddr2: sm2 { |
| 513 | regulator-name = "VDD_DDR2_1.8V"; |
Stefan Agner | 844a4f0 | 2013-12-06 13:51:46 +0100 | [diff] [blame] | 514 | regulator-min-microvolt = <1800000>; |
| 515 | regulator-max-microvolt = <1800000>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 516 | regulator-always-on; |
| 517 | }; |
| 518 | |
| 519 | /* LDO0 is not connected to anything */ |
| 520 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 521 | /* |
| 522 | * +3.3V_ENABLE_N switching via FET: |
| 523 | * AVDD_AUDIO_S and +3.3V |
| 524 | * see also +3.3V fixed supply |
| 525 | */ |
| 526 | ldo1 { |
| 527 | regulator-name = "AVDD_PLL_1.1V"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 528 | regulator-min-microvolt = <1100000>; |
| 529 | regulator-max-microvolt = <1100000>; |
| 530 | regulator-always-on; |
| 531 | }; |
| 532 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 533 | ldo2 { |
| 534 | regulator-name = "VDD_RTC_1.2V"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 535 | regulator-min-microvolt = <1200000>; |
| 536 | regulator-max-microvolt = <1200000>; |
| 537 | }; |
| 538 | |
| 539 | /* LDO3 is not connected to anything */ |
| 540 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 541 | ldo4 { |
| 542 | regulator-name = "VDDIO_SYS_1.8V"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 543 | regulator-min-microvolt = <1800000>; |
| 544 | regulator-max-microvolt = <1800000>; |
| 545 | regulator-always-on; |
| 546 | }; |
| 547 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 548 | /* Switched via FET from regular +3.3V */ |
| 549 | ldo5 { |
| 550 | regulator-name = "+3.3V_USB"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 551 | regulator-min-microvolt = <3300000>; |
| 552 | regulator-max-microvolt = <3300000>; |
| 553 | regulator-always-on; |
| 554 | }; |
| 555 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 556 | ldo6 { |
| 557 | regulator-name = "AVDD_VDAC_2.85V"; |
Stefan Agner | c7ac2b7 | 2013-12-06 13:51:47 +0100 | [diff] [blame] | 558 | regulator-min-microvolt = <2850000>; |
| 559 | regulator-max-microvolt = <2850000>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 560 | }; |
| 561 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 562 | reg_3v3_avdd_hdmi: ldo7 { |
| 563 | regulator-name = "AVDD_HDMI_3.3V"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 564 | regulator-min-microvolt = <3300000>; |
| 565 | regulator-max-microvolt = <3300000>; |
| 566 | }; |
| 567 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 568 | reg_1v8_avdd_hdmi_pll: ldo8 { |
| 569 | regulator-name = "AVDD_HDMI_PLL_1.8V"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 570 | regulator-min-microvolt = <1800000>; |
| 571 | regulator-max-microvolt = <1800000>; |
| 572 | }; |
| 573 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 574 | ldo9 { |
| 575 | regulator-name = "VDDIO_RX_DDR_2.85V"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 576 | regulator-min-microvolt = <2850000>; |
| 577 | regulator-max-microvolt = <2850000>; |
| 578 | regulator-always-on; |
| 579 | }; |
| 580 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 581 | ldo_rtc { |
| 582 | regulator-name = "VCC_BATT"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 583 | regulator-min-microvolt = <3300000>; |
| 584 | regulator-max-microvolt = <3300000>; |
| 585 | regulator-always-on; |
| 586 | }; |
| 587 | }; |
| 588 | }; |
| 589 | |
Marcel Ziswiler | df2be1a | 2018-09-02 12:08:51 +0200 | [diff] [blame] | 590 | /* LM95245 temperature sensor */ |
| 591 | temp-sensor@4c { |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 592 | compatible = "national,lm95245"; |
| 593 | reg = <0x4c>; |
| 594 | }; |
| 595 | }; |
| 596 | |
Stephen Warren | 58ecb23 | 2013-11-25 17:53:16 -0700 | [diff] [blame] | 597 | pmc@7000e400 { |
Joseph Lo | 47d2d63 | 2013-08-12 17:40:07 +0800 | [diff] [blame] | 598 | nvidia,suspend-mode = <1>; |
Joseph Lo | a44a019 | 2013-04-03 19:31:52 +0800 | [diff] [blame] | 599 | nvidia,cpu-pwr-good-time = <5000>; |
| 600 | nvidia,cpu-pwr-off-time = <5000>; |
| 601 | nvidia,core-pwr-good-time = <3845 3845>; |
| 602 | nvidia,core-pwr-off-time = <3875>; |
| 603 | nvidia,sys-clock-req-active-high; |
Marcel Ziswiler | d5178bb | 2018-09-02 12:08:52 +0200 | [diff] [blame] | 604 | |
| 605 | /* Set SLEEP MODE bit in SUPPLYENE register of TPS658643 PMIC */ |
| 606 | i2c-thermtrip { |
| 607 | nvidia,i2c-controller-id = <3>; |
| 608 | nvidia,bus-addr = <0x34>; |
| 609 | nvidia,reg-addr = <0x14>; |
| 610 | nvidia,reg-data = <0x8>; |
| 611 | }; |
Joseph Lo | a44a019 | 2013-04-03 19:31:52 +0800 | [diff] [blame] | 612 | }; |
| 613 | |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 614 | memory-controller@7000f400 { |
| 615 | emc-table@83250 { |
| 616 | reg = <83250>; |
| 617 | compatible = "nvidia,tegra20-emc-table"; |
| 618 | clock-frequency = <83250>; |
| 619 | nvidia,emc-registers = <0x00000005 0x00000011 |
| 620 | 0x00000004 0x00000002 0x00000004 0x00000004 |
| 621 | 0x00000001 0x0000000a 0x00000002 0x00000002 |
| 622 | 0x00000001 0x00000001 0x00000003 0x00000004 |
| 623 | 0x00000003 0x00000009 0x0000000c 0x0000025f |
| 624 | 0x00000000 0x00000003 0x00000003 0x00000002 |
| 625 | 0x00000002 0x00000001 0x00000008 0x000000c8 |
| 626 | 0x00000003 0x00000005 0x00000003 0x0000000c |
| 627 | 0x00000002 0x00000000 0x00000000 0x00000002 |
| 628 | 0x00000000 0x00000000 0x00000083 0x00520006 |
| 629 | 0x00000010 0x00000008 0x00000000 0x00000000 |
| 630 | 0x00000000 0x00000000 0x00000000 0x00000000>; |
| 631 | }; |
| 632 | emc-table@133200 { |
| 633 | reg = <133200>; |
| 634 | compatible = "nvidia,tegra20-emc-table"; |
| 635 | clock-frequency = <133200>; |
| 636 | nvidia,emc-registers = <0x00000008 0x00000019 |
| 637 | 0x00000006 0x00000002 0x00000004 0x00000004 |
| 638 | 0x00000001 0x0000000a 0x00000002 0x00000002 |
| 639 | 0x00000002 0x00000001 0x00000003 0x00000004 |
| 640 | 0x00000003 0x00000009 0x0000000c 0x0000039f |
| 641 | 0x00000000 0x00000003 0x00000003 0x00000002 |
| 642 | 0x00000002 0x00000001 0x00000008 0x000000c8 |
| 643 | 0x00000003 0x00000007 0x00000003 0x0000000c |
| 644 | 0x00000002 0x00000000 0x00000000 0x00000002 |
| 645 | 0x00000000 0x00000000 0x00000083 0x00510006 |
| 646 | 0x00000010 0x00000008 0x00000000 0x00000000 |
| 647 | 0x00000000 0x00000000 0x00000000 0x00000000>; |
| 648 | }; |
| 649 | emc-table@166500 { |
| 650 | reg = <166500>; |
| 651 | compatible = "nvidia,tegra20-emc-table"; |
| 652 | clock-frequency = <166500>; |
| 653 | nvidia,emc-registers = <0x0000000a 0x00000021 |
| 654 | 0x00000008 0x00000003 0x00000004 0x00000004 |
| 655 | 0x00000002 0x0000000a 0x00000003 0x00000003 |
| 656 | 0x00000002 0x00000001 0x00000003 0x00000004 |
| 657 | 0x00000003 0x00000009 0x0000000c 0x000004df |
| 658 | 0x00000000 0x00000003 0x00000003 0x00000003 |
| 659 | 0x00000003 0x00000001 0x00000009 0x000000c8 |
| 660 | 0x00000003 0x00000009 0x00000004 0x0000000c |
| 661 | 0x00000002 0x00000000 0x00000000 0x00000002 |
| 662 | 0x00000000 0x00000000 0x00000083 0x004f0006 |
| 663 | 0x00000010 0x00000008 0x00000000 0x00000000 |
| 664 | 0x00000000 0x00000000 0x00000000 0x00000000>; |
| 665 | }; |
| 666 | emc-table@333000 { |
| 667 | reg = <333000>; |
| 668 | compatible = "nvidia,tegra20-emc-table"; |
| 669 | clock-frequency = <333000>; |
| 670 | nvidia,emc-registers = <0x00000014 0x00000041 |
| 671 | 0x0000000f 0x00000005 0x00000004 0x00000005 |
| 672 | 0x00000003 0x0000000a 0x00000005 0x00000005 |
| 673 | 0x00000004 0x00000001 0x00000003 0x00000004 |
| 674 | 0x00000003 0x00000009 0x0000000c 0x000009ff |
| 675 | 0x00000000 0x00000003 0x00000003 0x00000005 |
| 676 | 0x00000005 0x00000001 0x0000000e 0x000000c8 |
| 677 | 0x00000003 0x00000011 0x00000006 0x0000000c |
| 678 | 0x00000002 0x00000000 0x00000000 0x00000002 |
| 679 | 0x00000000 0x00000000 0x00000083 0x00380006 |
| 680 | 0x00000010 0x00000008 0x00000000 0x00000000 |
| 681 | 0x00000000 0x00000000 0x00000000 0x00000000>; |
| 682 | }; |
| 683 | }; |
| 684 | |
Marcel Ziswiler | 2287ef7 | 2018-09-02 12:08:39 +0200 | [diff] [blame] | 685 | /* EHCI instance 1: ULPI PHY -> AX88772B (On-module) */ |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 686 | usb@c5004000 { |
| 687 | status = "okay"; |
Marcel Ziswiler | 364ba10 | 2018-09-02 12:08:34 +0200 | [diff] [blame] | 688 | #address-cells = <1>; |
| 689 | #size-cells = <0>; |
| 690 | |
| 691 | asix@1 { |
| 692 | reg = <1>; |
| 693 | local-mac-address = [00 00 00 00 00 00]; |
| 694 | }; |
Venu Byravarasu | 9dffe3b | 2013-05-16 19:42:56 +0530 | [diff] [blame] | 695 | }; |
| 696 | |
| 697 | usb-phy@c5004000 { |
Lucas Stach | a1632ad | 2013-07-23 11:11:45 -0700 | [diff] [blame] | 698 | status = "okay"; |
Marcel Ziswiler | 035ae62 | 2018-09-02 12:08:41 +0200 | [diff] [blame] | 699 | nvidia,phy-reset-gpio = |
| 700 | <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_LOW>; |
Marcel Ziswiler | 18e6cce | 2018-09-02 12:08:38 +0200 | [diff] [blame] | 701 | vbus-supply = <®_lan_v_bus>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 702 | }; |
| 703 | |
Marcel Ziswiler | cafed75 | 2018-09-02 12:09:04 +0200 | [diff] [blame] | 704 | clk32k_in: xtal3 { |
| 705 | compatible = "fixed-clock"; |
| 706 | #clock-cells = <0>; |
| 707 | clock-frequency = <32768>; |
Joseph Lo | 7021d12 | 2013-04-03 19:31:27 +0800 | [diff] [blame] | 708 | }; |
| 709 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 710 | reg_lan_v_bus: regulator-lan-v-bus { |
| 711 | compatible = "regulator-fixed"; |
| 712 | regulator-name = "LAN_V_BUS"; |
| 713 | regulator-min-microvolt = <5000000>; |
| 714 | regulator-max-microvolt = <5000000>; |
| 715 | enable-active-high; |
| 716 | gpio = <&gpio TEGRA_GPIO(BB, 1) GPIO_ACTIVE_HIGH>; |
| 717 | }; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 718 | |
Marcel Ziswiler | 3647c7b | 2018-09-02 12:08:37 +0200 | [diff] [blame] | 719 | reg_module_3v3: regulator-module-3v3 { |
| 720 | compatible = "regulator-fixed"; |
| 721 | regulator-name = "+V3.3"; |
| 722 | regulator-min-microvolt = <3300000>; |
| 723 | regulator-max-microvolt = <3300000>; |
| 724 | regulator-always-on; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 725 | }; |
Stephen Warren | 5789905 | 2013-11-26 14:43:45 -0700 | [diff] [blame] | 726 | |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 727 | sound { |
| 728 | compatible = "nvidia,tegra-audio-wm9712-colibri_t20", |
Marcel Ziswiler | 035ae62 | 2018-09-02 12:08:41 +0200 | [diff] [blame] | 729 | "nvidia,tegra-audio-wm9712"; |
Marcel Ziswiler | ea60afb | 2018-09-02 12:08:42 +0200 | [diff] [blame] | 730 | nvidia,model = "Toradex Colibri T20"; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 731 | nvidia,audio-routing = |
| 732 | "Headphone", "HPOUTL", |
| 733 | "Headphone", "HPOUTR", |
| 734 | "LineIn", "LINEINL", |
| 735 | "LineIn", "LINEINR", |
| 736 | "Mic", "MIC1"; |
Marcel Ziswiler | 5373f80 | 2018-09-02 12:09:05 +0200 | [diff] [blame] | 737 | nvidia,ac97-controller = <&tegra_ac97>; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 738 | clocks = <&tegra_car TEGRA20_CLK_PLL_A>, |
| 739 | <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, |
| 740 | <&tegra_car TEGRA20_CLK_CDEV1>; |
| 741 | clock-names = "pll_a", "pll_a_out0", "mclk"; |
| 742 | }; |
Lucas Stach | fc9c713 | 2013-01-22 22:46:08 +0100 | [diff] [blame] | 743 | }; |
Marcel Ziswiler | 0b51e73 | 2018-09-02 12:08:53 +0200 | [diff] [blame] | 744 | |
Dmitry Osipenko | f5204ac | 2020-11-23 03:27:21 +0300 | [diff] [blame] | 745 | &emc_icc_dvfs_opp_table { |
| 746 | /delete-node/ opp@760000000; |
| 747 | }; |
| 748 | |
Marcel Ziswiler | 0b51e73 | 2018-09-02 12:08:53 +0200 | [diff] [blame] | 749 | &gpio { |
| 750 | lan-reset-n { |
| 751 | gpio-hog; |
| 752 | gpios = <TEGRA_GPIO(V, 4) GPIO_ACTIVE_HIGH>; |
| 753 | output-high; |
| 754 | line-name = "LAN_RESET#"; |
| 755 | }; |
Marcel Ziswiler | 351c72c | 2018-09-02 12:08:54 +0200 | [diff] [blame] | 756 | |
| 757 | /* Tri-stating GMI_WR_N on SODIMM pin 99 nPWE */ |
| 758 | npwe { |
| 759 | gpio-hog; |
| 760 | gpios = <TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>; |
| 761 | output-high; |
| 762 | line-name = "Tri-state nPWE"; |
| 763 | }; |
| 764 | |
| 765 | /* Not tri-stating GMI_WR_N on SODIMM pin 93 RDnWR */ |
| 766 | rdnwr { |
| 767 | gpio-hog; |
| 768 | gpios = <TEGRA_GPIO(T, 6) GPIO_ACTIVE_HIGH>; |
| 769 | output-low; |
| 770 | line-name = "Not tri-state RDnWR"; |
| 771 | }; |
Marcel Ziswiler | 0b51e73 | 2018-09-02 12:08:53 +0200 | [diff] [blame] | 772 | }; |