Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 2 | #include "tegra30.dtsi" |
| 3 | |
| 4 | /* |
Marcel Ziswiler | a5e2720 | 2015-08-28 14:42:28 +0200 | [diff] [blame] | 5 | * Toradex Apalis T30 Module Device Tree |
| 6 | * Compatible for Revisions 1GB: V1.0A, V1.1A; 1GB IT: V1.1A; |
| 7 | * 2GB: V1.0B, V1.0C, V1.0E, V1.1A |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 8 | */ |
| 9 | / { |
| 10 | model = "Toradex Apalis T30"; |
| 11 | compatible = "toradex,apalis_t30", "nvidia,tegra30"; |
| 12 | |
Krzysztof Kozlowski | 4829976 | 2018-07-09 18:05:17 +0200 | [diff] [blame] | 13 | memory@80000000 { |
| 14 | reg = <0x80000000 0x40000000>; |
Krzysztof Kozlowski | f48ba1a | 2018-07-09 18:05:16 +0200 | [diff] [blame] | 15 | }; |
| 16 | |
Rob Herring | 508d690 | 2017-03-21 21:03:06 -0500 | [diff] [blame] | 17 | pcie@3000 { |
Marcel Ziswiler | 7890d78 | 2018-08-31 18:37:47 +0200 | [diff] [blame] | 18 | status = "okay"; |
Marcel Ziswiler | b607b19 | 2014-06-25 22:10:01 +0200 | [diff] [blame] | 19 | avdd-pexa-supply = <&vdd2_reg>; |
Marcel Ziswiler | b607b19 | 2014-06-25 22:10:01 +0200 | [diff] [blame] | 20 | avdd-pexb-supply = <&vdd2_reg>; |
Marcel Ziswiler | b607b19 | 2014-06-25 22:10:01 +0200 | [diff] [blame] | 21 | avdd-pex-pll-supply = <&vdd2_reg>; |
| 22 | avdd-plle-supply = <&ldo6_reg>; |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 23 | hvdd-pex-supply = <®_module_3v3>; |
| 24 | vddio-pex-ctl-supply = <®_module_3v3>; |
Marcel Ziswiler | 4f6b07a | 2018-08-31 18:37:46 +0200 | [diff] [blame] | 25 | vdd-pexa-supply = <&vdd2_reg>; |
| 26 | vdd-pexb-supply = <&vdd2_reg>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 27 | |
Marcel Ziswiler | 7890d78 | 2018-08-31 18:37:47 +0200 | [diff] [blame] | 28 | /* Apalis type specific */ |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 29 | pci@1,0 { |
| 30 | nvidia,num-lanes = <4>; |
| 31 | }; |
| 32 | |
Marcel Ziswiler | 7890d78 | 2018-08-31 18:37:47 +0200 | [diff] [blame] | 33 | /* Apalis PCIe */ |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 34 | pci@2,0 { |
| 35 | nvidia,num-lanes = <1>; |
| 36 | }; |
| 37 | |
Marcel Ziswiler | 7890d78 | 2018-08-31 18:37:47 +0200 | [diff] [blame] | 38 | /* I210/I211 Gigabit Ethernet Controller (on-module) */ |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 39 | pci@3,0 { |
Marcel Ziswiler | 7890d78 | 2018-08-31 18:37:47 +0200 | [diff] [blame] | 40 | status = "okay"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 41 | nvidia,num-lanes = <1>; |
Marcel Ziswiler | 4eb7e5e | 2018-08-31 18:37:53 +0200 | [diff] [blame] | 42 | |
Marcel Ziswiler | 2c87441 | 2018-08-31 18:37:45 +0200 | [diff] [blame] | 43 | pcie@0 { |
| 44 | reg = <0 0 0 0 0>; |
| 45 | local-mac-address = [00 00 00 00 00 00]; |
| 46 | }; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 47 | }; |
| 48 | }; |
| 49 | |
| 50 | host1x@50000000 { |
| 51 | hdmi@54280000 { |
Marcel Ziswiler | a772d28 | 2018-08-31 18:37:48 +0200 | [diff] [blame] | 52 | nvidia,ddc-i2c-bus = <&hdmiddc>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 53 | nvidia,hpd-gpio = |
| 54 | <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 55 | pll-supply = <®_1v8_avdd_hdmi_pll>; |
| 56 | vdd-supply = <®_3v3_avdd_hdmi>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 57 | }; |
| 58 | }; |
| 59 | |
| 60 | pinmux@70000868 { |
| 61 | pinctrl-names = "default"; |
| 62 | pinctrl-0 = <&state_default>; |
| 63 | |
| 64 | state_default: pinmux { |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 65 | /* Analogue Audio (On-module) */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 66 | clk1-out-pw4 { |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 67 | nvidia,pins = "clk1_out_pw4"; |
| 68 | nvidia,function = "extperiph1"; |
| 69 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 70 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 71 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 72 | }; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 73 | dap3-fs-pp0 { |
| 74 | nvidia,pins = "dap3_fs_pp0", |
| 75 | "dap3_sclk_pp3", |
| 76 | "dap3_din_pp1", |
| 77 | "dap3_dout_pp2"; |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 78 | nvidia,function = "i2s2"; |
| 79 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 80 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 81 | }; |
| 82 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 83 | /* Apalis BKL1_ON */ |
| 84 | pv2 { |
| 85 | nvidia,pins = "pv2"; |
| 86 | nvidia,function = "rsvd4"; |
| 87 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 88 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 89 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 90 | }; |
| 91 | |
| 92 | /* Apalis BKL1_PWM */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 93 | uart3-rts-n-pc0 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 94 | nvidia,pins = "uart3_rts_n_pc0"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 95 | nvidia,function = "pwm0"; |
| 96 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 97 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 98 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 99 | }; |
| 100 | /* BKL1_PWM_EN#, disable TPS65911 PMIC PWM backlight */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 101 | uart3-cts-n-pa1 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 102 | nvidia,pins = "uart3_cts_n_pa1"; |
Marcel Ziswiler | 0f44de6 | 2015-08-28 14:42:30 +0200 | [diff] [blame] | 103 | nvidia,function = "rsvd2"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 104 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 105 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 106 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 107 | }; |
| 108 | |
| 109 | /* Apalis CAN1 on SPI6 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 110 | spi2-cs0-n-px3 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 111 | nvidia,pins = "spi2_cs0_n_px3", |
| 112 | "spi2_miso_px1", |
| 113 | "spi2_mosi_px0", |
| 114 | "spi2_sck_px2"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 115 | nvidia,function = "spi6"; |
| 116 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 117 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 118 | }; |
| 119 | /* CAN_INT1 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 120 | spi2-cs1-n-pw2 { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 121 | nvidia,pins = "spi2_cs1_n_pw2"; |
| 122 | nvidia,function = "spi3"; |
| 123 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 124 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 125 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 126 | }; |
| 127 | |
| 128 | /* Apalis CAN2 on SPI4 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 129 | gmi-a16-pj7 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 130 | nvidia,pins = "gmi_a16_pj7", |
| 131 | "gmi_a17_pb0", |
| 132 | "gmi_a18_pb1", |
| 133 | "gmi_a19_pk7"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 134 | nvidia,function = "spi4"; |
| 135 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 136 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 700253e | 2018-07-03 17:03:39 +0200 | [diff] [blame] | 137 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 138 | }; |
| 139 | /* CAN_INT2 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 140 | spi2-cs2-n-pw3 { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 141 | nvidia,pins = "spi2_cs2_n_pw3"; |
| 142 | nvidia,function = "spi3"; |
| 143 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 144 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 145 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 146 | }; |
| 147 | |
Marcel Ziswiler | 4399f40 | 2015-08-28 14:42:32 +0200 | [diff] [blame] | 148 | /* Apalis Digital Audio */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 149 | clk1-req-pee2 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 150 | nvidia,pins = "clk1_req_pee2"; |
Marcel Ziswiler | 4399f40 | 2015-08-28 14:42:32 +0200 | [diff] [blame] | 151 | nvidia,function = "hda"; |
| 152 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 153 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 154 | }; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 155 | clk2-out-pw5 { |
Marcel Ziswiler | 4399f40 | 2015-08-28 14:42:32 +0200 | [diff] [blame] | 156 | nvidia,pins = "clk2_out_pw5"; |
| 157 | nvidia,function = "extperiph2"; |
| 158 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 159 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 160 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 161 | }; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 162 | dap1-fs-pn0 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 163 | nvidia,pins = "dap1_fs_pn0", |
| 164 | "dap1_din_pn1", |
| 165 | "dap1_dout_pn2", |
| 166 | "dap1_sclk_pn3"; |
Marcel Ziswiler | 4399f40 | 2015-08-28 14:42:32 +0200 | [diff] [blame] | 167 | nvidia,function = "hda"; |
| 168 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 169 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 170 | }; |
| 171 | |
Marcel Ziswiler | 368f139 | 2018-08-31 18:38:00 +0200 | [diff] [blame] | 172 | /* Apalis GPIO */ |
| 173 | kb-col0-pq0 { |
| 174 | nvidia,pins = "kb_col0_pq0", |
| 175 | "kb_col1_pq1", |
| 176 | "kb_row10_ps2", |
| 177 | "kb_row11_ps3", |
| 178 | "kb_row12_ps4", |
| 179 | "kb_row13_ps5", |
| 180 | "kb_row14_ps6", |
| 181 | "kb_row15_ps7"; |
| 182 | nvidia,function = "kbc"; |
| 183 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 184 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 185 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 186 | }; |
| 187 | /* Multiplexed and therefore disabled */ |
| 188 | owr { |
| 189 | nvidia,pins = "owr"; |
| 190 | nvidia,function = "rsvd3"; |
| 191 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 192 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 193 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 194 | }; |
| 195 | |
| 196 | /* Apalis HDMI1 */ |
| 197 | hdmi-cec-pee3 { |
| 198 | nvidia,pins = "hdmi_cec_pee3"; |
| 199 | nvidia,function = "cec"; |
| 200 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 201 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 202 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 203 | nvidia,open-drain = <TEGRA_PIN_DISABLE>; |
| 204 | }; |
| 205 | hdmi-int-pn7 { |
| 206 | nvidia,pins = "hdmi_int_pn7"; |
| 207 | nvidia,function = "hdmi"; |
| 208 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 209 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 210 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 211 | }; |
| 212 | |
| 213 | /* Apalis I2C1 */ |
| 214 | gen1-i2c-scl-pc4 { |
| 215 | nvidia,pins = "gen1_i2c_scl_pc4", |
| 216 | "gen1_i2c_sda_pc5"; |
| 217 | nvidia,function = "i2c1"; |
| 218 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 219 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 220 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 221 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
| 222 | }; |
| 223 | |
| 224 | /* Apalis I2C2 (DDC) */ |
| 225 | ddc-scl-pv4 { |
| 226 | nvidia,pins = "ddc_scl_pv4", |
| 227 | "ddc_sda_pv5"; |
| 228 | nvidia,function = "i2c4"; |
| 229 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 230 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 231 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 232 | }; |
| 233 | |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 234 | /* Apalis I2C3 (CAM) */ |
| 235 | cam-i2c-scl-pbb1 { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 236 | nvidia,pins = "cam_i2c_scl_pbb1", |
| 237 | "cam_i2c_sda_pbb2"; |
| 238 | nvidia,function = "i2c3"; |
| 239 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 240 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 241 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 242 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
| 243 | }; |
| 244 | |
Marcel Ziswiler | 368f139 | 2018-08-31 18:38:00 +0200 | [diff] [blame] | 245 | /* Apalis LCD1 */ |
| 246 | lcd-d0-pe0 { |
| 247 | nvidia,pins = "lcd_d0_pe0", |
| 248 | "lcd_d1_pe1", |
| 249 | "lcd_d2_pe2", |
| 250 | "lcd_d3_pe3", |
| 251 | "lcd_d4_pe4", |
| 252 | "lcd_d5_pe5", |
| 253 | "lcd_d6_pe6", |
| 254 | "lcd_d7_pe7", |
| 255 | "lcd_d8_pf0", |
| 256 | "lcd_d9_pf1", |
| 257 | "lcd_d10_pf2", |
| 258 | "lcd_d11_pf3", |
| 259 | "lcd_d12_pf4", |
| 260 | "lcd_d13_pf5", |
| 261 | "lcd_d14_pf6", |
| 262 | "lcd_d15_pf7", |
| 263 | "lcd_d16_pm0", |
| 264 | "lcd_d17_pm1", |
| 265 | "lcd_d18_pm2", |
| 266 | "lcd_d19_pm3", |
| 267 | "lcd_d20_pm4", |
| 268 | "lcd_d21_pm5", |
| 269 | "lcd_d22_pm6", |
| 270 | "lcd_d23_pm7", |
| 271 | "lcd_de_pj1", |
| 272 | "lcd_hsync_pj3", |
| 273 | "lcd_pclk_pb3", |
| 274 | "lcd_vsync_pj4"; |
| 275 | nvidia,function = "displaya"; |
| 276 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 277 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 278 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 279 | }; |
| 280 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 281 | /* Apalis MMC1 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 282 | sdmmc3-clk-pa6 { |
Marcel Ziswiler | 1c997fe | 2018-08-31 18:37:43 +0200 | [diff] [blame] | 283 | nvidia,pins = "sdmmc3_clk_pa6"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 284 | nvidia,function = "sdmmc3"; |
| 285 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 286 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 287 | }; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 288 | sdmmc3-dat0-pb7 { |
Marcel Ziswiler | 1c997fe | 2018-08-31 18:37:43 +0200 | [diff] [blame] | 289 | nvidia,pins = "sdmmc3_cmd_pa7", |
| 290 | "sdmmc3_dat0_pb7", |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 291 | "sdmmc3_dat1_pb6", |
| 292 | "sdmmc3_dat2_pb5", |
| 293 | "sdmmc3_dat3_pb4", |
| 294 | "sdmmc3_dat4_pd1", |
| 295 | "sdmmc3_dat5_pd0", |
| 296 | "sdmmc3_dat6_pd3", |
| 297 | "sdmmc3_dat7_pd4"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 298 | nvidia,function = "sdmmc3"; |
| 299 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 300 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 301 | }; |
| 302 | /* Apalis MMC1_CD# */ |
| 303 | pv3 { |
| 304 | nvidia,pins = "pv3"; |
| 305 | nvidia,function = "rsvd2"; |
Marcel Ziswiler | 055c010 | 2018-08-31 18:37:44 +0200 | [diff] [blame] | 306 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 307 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 308 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 309 | }; |
| 310 | |
Marcel Ziswiler | 368f139 | 2018-08-31 18:38:00 +0200 | [diff] [blame] | 311 | /* Apalis Parallel Camera */ |
| 312 | cam-mclk-pcc0 { |
| 313 | nvidia,pins = "cam_mclk_pcc0"; |
| 314 | nvidia,function = "vi_alt3"; |
| 315 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 316 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 317 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 318 | }; |
| 319 | vi-vsync-pd6 { |
| 320 | nvidia,pins = "vi_d0_pt4", |
| 321 | "vi_d1_pd5", |
| 322 | "vi_d2_pl0", |
| 323 | "vi_d3_pl1", |
| 324 | "vi_d4_pl2", |
| 325 | "vi_d5_pl3", |
| 326 | "vi_d6_pl4", |
| 327 | "vi_d7_pl5", |
| 328 | "vi_d8_pl6", |
| 329 | "vi_d9_pl7", |
| 330 | "vi_d10_pt2", |
| 331 | "vi_d11_pt3", |
| 332 | "vi_hsync_pd7", |
| 333 | "vi_pclk_pt0", |
| 334 | "vi_vsync_pd6"; |
| 335 | nvidia,function = "vi"; |
| 336 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 337 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 338 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 339 | }; |
| 340 | /* Multiplexed and therefore disabled */ |
| 341 | kb-col2-pq2 { |
| 342 | nvidia,pins = "kb_col2_pq2", |
| 343 | "kb_col3_pq3", |
| 344 | "kb_col4_pq4", |
| 345 | "kb_row4_pr4"; |
| 346 | nvidia,function = "rsvd4"; |
| 347 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 348 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 349 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 350 | }; |
| 351 | kb-row0-pr0 { |
| 352 | nvidia,pins = "kb_row0_pr0", |
| 353 | "kb_row1_pr1", |
| 354 | "kb_row2_pr2", |
| 355 | "kb_row3_pr3"; |
| 356 | nvidia,function = "rsvd3"; |
| 357 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 358 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 359 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 360 | }; |
| 361 | kb-row5-pr5 { |
| 362 | nvidia,pins = "kb_row5_pr5", |
| 363 | "kb_row6_pr6", |
| 364 | "kb_row7_pr7"; |
| 365 | nvidia,function = "kbc"; |
| 366 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 367 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 368 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 369 | }; |
| 370 | /* |
| 371 | * VI level-shifter direction |
| 372 | * (pull-down => default direction input) |
| 373 | */ |
| 374 | vi-mclk-pt1 { |
| 375 | nvidia,pins = "vi_mclk_pt1"; |
| 376 | nvidia,function = "vi_alt3"; |
| 377 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 378 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 379 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 380 | }; |
| 381 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 382 | /* Apalis PWM1 */ |
Marcel Ziswiler | 0f44de6 | 2015-08-28 14:42:30 +0200 | [diff] [blame] | 383 | pu6 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 384 | nvidia,pins = "pu6"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 385 | nvidia,function = "pwm3"; |
| 386 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 387 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 388 | }; |
| 389 | |
| 390 | /* Apalis PWM2 */ |
Marcel Ziswiler | 0f44de6 | 2015-08-28 14:42:30 +0200 | [diff] [blame] | 391 | pu5 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 392 | nvidia,pins = "pu5"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 393 | nvidia,function = "pwm2"; |
| 394 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 395 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 396 | }; |
| 397 | |
| 398 | /* Apalis PWM3 */ |
Marcel Ziswiler | 0f44de6 | 2015-08-28 14:42:30 +0200 | [diff] [blame] | 399 | pu4 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 400 | nvidia,pins = "pu4"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 401 | nvidia,function = "pwm1"; |
| 402 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 403 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 404 | }; |
| 405 | |
| 406 | /* Apalis PWM4 */ |
Marcel Ziswiler | 0f44de6 | 2015-08-28 14:42:30 +0200 | [diff] [blame] | 407 | pu3 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 408 | nvidia,pins = "pu3"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 409 | nvidia,function = "pwm0"; |
| 410 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 411 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 412 | }; |
| 413 | |
| 414 | /* Apalis RESET_MOCI# */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 415 | gmi-rst-n-pi4 { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 416 | nvidia,pins = "gmi_rst_n_pi4"; |
| 417 | nvidia,function = "gmi"; |
| 418 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 419 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 420 | }; |
| 421 | |
Marcel Ziswiler | 368f139 | 2018-08-31 18:38:00 +0200 | [diff] [blame] | 422 | /* Apalis SATA1_ACT# */ |
| 423 | pex-l0-prsnt-n-pdd0 { |
| 424 | nvidia,pins = "pex_l0_prsnt_n_pdd0"; |
| 425 | nvidia,function = "rsvd3"; |
| 426 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 427 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 428 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 429 | }; |
| 430 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 431 | /* Apalis SD1 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 432 | sdmmc1-clk-pz0 { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 433 | nvidia,pins = "sdmmc1_clk_pz0"; |
| 434 | nvidia,function = "sdmmc1"; |
| 435 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 436 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 437 | }; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 438 | sdmmc1-cmd-pz1 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 439 | nvidia,pins = "sdmmc1_cmd_pz1", |
| 440 | "sdmmc1_dat0_py7", |
| 441 | "sdmmc1_dat1_py6", |
| 442 | "sdmmc1_dat2_py5", |
| 443 | "sdmmc1_dat3_py4"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 444 | nvidia,function = "sdmmc1"; |
| 445 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 446 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 447 | }; |
| 448 | /* Apalis SD1_CD# */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 449 | clk2-req-pcc5 { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 450 | nvidia,pins = "clk2_req_pcc5"; |
| 451 | nvidia,function = "rsvd2"; |
Marcel Ziswiler | 055c010 | 2018-08-31 18:37:44 +0200 | [diff] [blame] | 452 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 453 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 454 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 455 | }; |
| 456 | |
Marcel Ziswiler | 368f139 | 2018-08-31 18:38:00 +0200 | [diff] [blame] | 457 | /* Apalis SPDIF1 */ |
| 458 | spdif-out-pk5 { |
| 459 | nvidia,pins = "spdif_out_pk5", |
| 460 | "spdif_in_pk6"; |
| 461 | nvidia,function = "spdif"; |
| 462 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 463 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 464 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 465 | }; |
| 466 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 467 | /* Apalis SPI1 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 468 | spi1-sck-px5 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 469 | nvidia,pins = "spi1_sck_px5", |
| 470 | "spi1_mosi_px4", |
| 471 | "spi1_miso_px7", |
| 472 | "spi1_cs0_n_px6"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 473 | nvidia,function = "spi1"; |
| 474 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 475 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 476 | }; |
| 477 | |
| 478 | /* Apalis SPI2 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 479 | lcd-sck-pz4 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 480 | nvidia,pins = "lcd_sck_pz4", |
| 481 | "lcd_sdout_pn5", |
| 482 | "lcd_sdin_pz2", |
| 483 | "lcd_cs0_n_pn4"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 484 | nvidia,function = "spi5"; |
| 485 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 486 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 487 | }; |
| 488 | |
Marcel Ziswiler | 368f139 | 2018-08-31 18:38:00 +0200 | [diff] [blame] | 489 | /* |
| 490 | * Apalis TS (Low-speed type specific) |
| 491 | * pins may be used as GPIOs |
| 492 | */ |
| 493 | kb-col5-pq5 { |
| 494 | nvidia,pins = "kb_col5_pq5"; |
| 495 | nvidia,function = "rsvd4"; |
| 496 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 497 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 498 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 499 | }; |
| 500 | kb-col6-pq6 { |
| 501 | nvidia,pins = "kb_col6_pq6", |
| 502 | "kb_col7_pq7", |
| 503 | "kb_row8_ps0", |
| 504 | "kb_row9_ps1"; |
| 505 | nvidia,function = "kbc"; |
| 506 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 507 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 508 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 509 | }; |
| 510 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 511 | /* Apalis UART1 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 512 | ulpi-data0 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 513 | nvidia,pins = "ulpi_data0_po1", |
| 514 | "ulpi_data1_po2", |
| 515 | "ulpi_data2_po3", |
| 516 | "ulpi_data3_po4", |
| 517 | "ulpi_data4_po5", |
| 518 | "ulpi_data5_po6", |
| 519 | "ulpi_data6_po7", |
| 520 | "ulpi_data7_po0"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 521 | nvidia,function = "uarta"; |
| 522 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 523 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 524 | }; |
| 525 | |
| 526 | /* Apalis UART2 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 527 | ulpi-clk-py0 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 528 | nvidia,pins = "ulpi_clk_py0", |
| 529 | "ulpi_dir_py1", |
| 530 | "ulpi_nxt_py2", |
| 531 | "ulpi_stp_py3"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 532 | nvidia,function = "uartd"; |
| 533 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 534 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 535 | }; |
| 536 | |
| 537 | /* Apalis UART3 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 538 | uart2-rxd-pc3 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 539 | nvidia,pins = "uart2_rxd_pc3", |
| 540 | "uart2_txd_pc2"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 541 | nvidia,function = "uartb"; |
| 542 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 543 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 544 | }; |
| 545 | |
| 546 | /* Apalis UART4 */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 547 | uart3-rxd-pw7 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 548 | nvidia,pins = "uart3_rxd_pw7", |
| 549 | "uart3_txd_pw6"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 550 | nvidia,function = "uartc"; |
| 551 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 552 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 553 | }; |
| 554 | |
Marcel Ziswiler | 368f139 | 2018-08-31 18:38:00 +0200 | [diff] [blame] | 555 | /* Apalis USBH_EN */ |
| 556 | pex-l0-rst-n-pdd1 { |
| 557 | nvidia,pins = "pex_l0_rst_n_pdd1"; |
| 558 | nvidia,function = "rsvd3"; |
| 559 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 560 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 561 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 562 | }; |
| 563 | |
| 564 | /* Apalis USBH_OC# */ |
| 565 | pex-l0-clkreq-n-pdd2 { |
| 566 | nvidia,pins = "pex_l0_clkreq_n_pdd2"; |
| 567 | nvidia,function = "rsvd3"; |
| 568 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 569 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 570 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 571 | }; |
| 572 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 573 | /* Apalis USBO1_EN */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 574 | gen2-i2c-scl-pt5 { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 575 | nvidia,pins = "gen2_i2c_scl_pt5"; |
| 576 | nvidia,function = "rsvd4"; |
| 577 | nvidia,open-drain = <TEGRA_PIN_DISABLE>; |
| 578 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 579 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 580 | }; |
| 581 | |
| 582 | /* Apalis USBO1_OC# */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 583 | gen2-i2c-sda-pt6 { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 584 | nvidia,pins = "gen2_i2c_sda_pt6"; |
| 585 | nvidia,function = "rsvd4"; |
| 586 | nvidia,open-drain = <TEGRA_PIN_DISABLE>; |
| 587 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 588 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 589 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 590 | }; |
| 591 | |
Marcel Ziswiler | 368f139 | 2018-08-31 18:38:00 +0200 | [diff] [blame] | 592 | /* Apalis VGA1 not supported and therefore disabled */ |
| 593 | crt-hsync-pv6 { |
| 594 | nvidia,pins = "crt_hsync_pv6", |
| 595 | "crt_vsync_pv7"; |
| 596 | nvidia,function = "rsvd2"; |
| 597 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 598 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 599 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 600 | }; |
| 601 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 602 | /* Apalis WAKE1_MICO */ |
| 603 | pv1 { |
| 604 | nvidia,pins = "pv1"; |
| 605 | nvidia,function = "rsvd1"; |
| 606 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 607 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 608 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 609 | }; |
| 610 | |
| 611 | /* eMMC (On-module) */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 612 | sdmmc4-clk-pcc4 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 613 | nvidia,pins = "sdmmc4_clk_pcc4", |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 614 | "sdmmc4_cmd_pt7", |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 615 | "sdmmc4_rst_n_pcc3"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 616 | nvidia,function = "sdmmc4"; |
| 617 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 618 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 619 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 620 | }; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 621 | sdmmc4-dat0-paa0 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 622 | nvidia,pins = "sdmmc4_dat0_paa0", |
| 623 | "sdmmc4_dat1_paa1", |
| 624 | "sdmmc4_dat2_paa2", |
| 625 | "sdmmc4_dat3_paa3", |
| 626 | "sdmmc4_dat4_paa4", |
| 627 | "sdmmc4_dat5_paa5", |
| 628 | "sdmmc4_dat6_paa6", |
| 629 | "sdmmc4_dat7_paa7"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 630 | nvidia,function = "sdmmc4"; |
| 631 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 632 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 633 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 634 | }; |
| 635 | |
Marcel Ziswiler | 368f139 | 2018-08-31 18:38:00 +0200 | [diff] [blame] | 636 | /* LAN i210/i211 DEV_OFF_N, PE_RST_N (On-module) */ |
| 637 | pex-l2-prsnt-n-pdd7 { |
| 638 | nvidia,pins = "pex_l2_prsnt_n_pdd7", |
| 639 | "pex_l2_rst_n_pcc6"; |
| 640 | nvidia,function = "pcie"; |
| 641 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 642 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 643 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 644 | }; |
| 645 | /* LAN i210/i211 PE_WAKE_N, SDP3 (On-module) */ |
| 646 | pex-wake-n-pdd3 { |
| 647 | nvidia,pins = "pex_wake_n_pdd3", |
| 648 | "pex_l2_clkreq_n_pcc7"; |
| 649 | nvidia,function = "pcie"; |
| 650 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 651 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 652 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 653 | }; |
| 654 | /* LAN i210/i211 SMB_ALERT_N (On-module) */ |
| 655 | sys-clk-req-pz5 { |
| 656 | nvidia,pins = "sys_clk_req_pz5"; |
| 657 | nvidia,function = "rsvd2"; |
| 658 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 659 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 660 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 661 | }; |
| 662 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 663 | /* LVDS Transceiver Configuration */ |
| 664 | pbb0 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 665 | nvidia,pins = "pbb0", |
| 666 | "pbb7", |
| 667 | "pcc1", |
| 668 | "pcc2"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 669 | nvidia,function = "rsvd2"; |
| 670 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 671 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 672 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 673 | }; |
| 674 | pbb3 { |
Thierry Reding | 40699b92 | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 675 | nvidia,pins = "pbb3", |
| 676 | "pbb4", |
| 677 | "pbb5", |
| 678 | "pbb6"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 679 | nvidia,function = "displayb"; |
| 680 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 681 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 682 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 683 | }; |
| 684 | |
Marcel Ziswiler | 368f139 | 2018-08-31 18:38:00 +0200 | [diff] [blame] | 685 | /* Not connected and therefore disabled */ |
| 686 | clk-32k-out-pa0 { |
| 687 | nvidia,pins = "clk3_out_pee0", |
| 688 | "clk3_req_pee1", |
| 689 | "clk_32k_out_pa0", |
| 690 | "dap4_din_pp5", |
| 691 | "dap4_dout_pp6", |
| 692 | "dap4_fs_pp4", |
| 693 | "dap4_sclk_pp7"; |
| 694 | nvidia,function = "rsvd2"; |
| 695 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 696 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 697 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 698 | }; |
| 699 | dap2-fs-pa2 { |
| 700 | nvidia,pins = "dap2_fs_pa2", |
| 701 | "dap2_sclk_pa3", |
| 702 | "dap2_din_pa4", |
| 703 | "dap2_dout_pa5", |
| 704 | "lcd_dc0_pn6", |
| 705 | "lcd_m1_pw1", |
| 706 | "lcd_pwr1_pc1", |
| 707 | "pex_l1_clkreq_n_pdd6", |
| 708 | "pex_l1_prsnt_n_pdd4", |
| 709 | "pex_l1_rst_n_pdd5"; |
| 710 | nvidia,function = "rsvd3"; |
| 711 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 712 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 713 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 714 | }; |
| 715 | gmi-ad0-pg0 { |
| 716 | nvidia,pins = "gmi_ad0_pg0", |
| 717 | "gmi_ad2_pg2", |
| 718 | "gmi_ad3_pg3", |
| 719 | "gmi_ad4_pg4", |
| 720 | "gmi_ad5_pg5", |
| 721 | "gmi_ad6_pg6", |
| 722 | "gmi_ad7_pg7", |
| 723 | "gmi_ad8_ph0", |
| 724 | "gmi_ad9_ph1", |
| 725 | "gmi_ad10_ph2", |
| 726 | "gmi_ad11_ph3", |
| 727 | "gmi_ad12_ph4", |
| 728 | "gmi_ad13_ph5", |
| 729 | "gmi_ad14_ph6", |
| 730 | "gmi_ad15_ph7", |
| 731 | "gmi_adv_n_pk0", |
| 732 | "gmi_clk_pk1", |
| 733 | "gmi_cs4_n_pk2", |
| 734 | "gmi_cs2_n_pk3", |
| 735 | "gmi_dqs_pi2", |
| 736 | "gmi_iordy_pi5", |
| 737 | "gmi_oe_n_pi1", |
| 738 | "gmi_wait_pi7", |
| 739 | "gmi_wr_n_pi0", |
| 740 | "lcd_cs1_n_pw0", |
| 741 | "pu0", |
| 742 | "pu1", |
| 743 | "pu2"; |
| 744 | nvidia,function = "rsvd4"; |
| 745 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 746 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 747 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 748 | }; |
| 749 | gmi-cs0-n-pj0 { |
| 750 | nvidia,pins = "gmi_cs0_n_pj0", |
| 751 | "gmi_cs1_n_pj2", |
| 752 | "gmi_cs3_n_pk4"; |
| 753 | nvidia,function = "rsvd1"; |
| 754 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 755 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 756 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 757 | }; |
| 758 | gmi-cs6-n-pi3 { |
| 759 | nvidia,pins = "gmi_cs6_n_pi3"; |
| 760 | nvidia,function = "sata"; |
| 761 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 762 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 763 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 764 | }; |
| 765 | gmi-cs7-n-pi6 { |
| 766 | nvidia,pins = "gmi_cs7_n_pi6"; |
| 767 | nvidia,function = "gmi_alt"; |
| 768 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 769 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 770 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 771 | }; |
| 772 | lcd-pwr0-pb2 { |
| 773 | nvidia,pins = "lcd_pwr0_pb2", |
| 774 | "lcd_pwr2_pc6", |
| 775 | "lcd_wr_n_pz3"; |
| 776 | nvidia,function = "hdcp"; |
| 777 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 778 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 779 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 780 | }; |
| 781 | uart2-cts-n-pj5 { |
| 782 | nvidia,pins = "uart2_cts_n_pj5", |
| 783 | "uart2_rts_n_pj6"; |
| 784 | nvidia,function = "gmi"; |
| 785 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 786 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 787 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 788 | }; |
| 789 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 790 | /* Power I2C (On-module) */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 791 | pwr-i2c-scl-pz6 { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 792 | nvidia,pins = "pwr_i2c_scl_pz6", |
| 793 | "pwr_i2c_sda_pz7"; |
| 794 | nvidia,function = "i2cpwr"; |
| 795 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 796 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 797 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 798 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
| 799 | }; |
| 800 | |
| 801 | /* |
| 802 | * THERMD_ALERT#, unlatched I2C address pin of LM95245 |
| 803 | * temperature sensor therefore requires disabling for |
| 804 | * now |
| 805 | */ |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 806 | lcd-dc1-pd2 { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 807 | nvidia,pins = "lcd_dc1_pd2"; |
| 808 | nvidia,function = "rsvd3"; |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 809 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 810 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 811 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 812 | }; |
| 813 | |
Marcel Ziswiler | 727002e | 2018-08-31 18:37:59 +0200 | [diff] [blame] | 814 | /* TOUCH_PEN_INT# (On-module) */ |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 815 | pv0 { |
| 816 | nvidia,pins = "pv0"; |
| 817 | nvidia,function = "rsvd1"; |
| 818 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 819 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 820 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 821 | }; |
| 822 | }; |
| 823 | }; |
| 824 | |
Marcel Ziswiler | e073452 | 2018-08-31 18:37:51 +0200 | [diff] [blame] | 825 | serial@70006040 { |
| 826 | compatible = "nvidia,tegra30-hsuart"; |
| 827 | }; |
| 828 | |
| 829 | serial@70006200 { |
| 830 | compatible = "nvidia,tegra30-hsuart"; |
| 831 | }; |
| 832 | |
| 833 | serial@70006300 { |
| 834 | compatible = "nvidia,tegra30-hsuart"; |
| 835 | }; |
| 836 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 837 | hdmiddc: i2c@7000c700 { |
Marcel Ziswiler | 1c3389e | 2018-02-10 02:36:36 +0100 | [diff] [blame] | 838 | clock-frequency = <10000>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 839 | }; |
| 840 | |
| 841 | /* |
| 842 | * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and |
| 843 | * touch screen controller |
| 844 | */ |
| 845 | i2c@7000d000 { |
| 846 | status = "okay"; |
| 847 | clock-frequency = <100000>; |
| 848 | |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 849 | /* SGTL5000 audio codec */ |
| 850 | sgtl5000: codec@a { |
| 851 | compatible = "fsl,sgtl5000"; |
| 852 | reg = <0x0a>; |
Marcel Ziswiler | 32980cb | 2018-08-31 18:37:50 +0200 | [diff] [blame] | 853 | VDDA-supply = <®_module_3v3_audio>; |
| 854 | VDDD-supply = <®_1v8_vio>; |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 855 | VDDIO-supply = <®_module_3v3>; |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 856 | clocks = <&tegra_car TEGRA30_CLK_EXTERN1>; |
| 857 | }; |
| 858 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 859 | pmic: tps65911@2d { |
| 860 | compatible = "ti,tps65911"; |
| 861 | reg = <0x2d>; |
| 862 | |
| 863 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 864 | #interrupt-cells = <2>; |
| 865 | interrupt-controller; |
| 866 | |
| 867 | ti,system-power-controller; |
| 868 | |
| 869 | #gpio-cells = <2>; |
| 870 | gpio-controller; |
| 871 | |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 872 | vcc1-supply = <®_module_3v3>; |
| 873 | vcc2-supply = <®_module_3v3>; |
| 874 | vcc3-supply = <®_1v8_vio>; |
| 875 | vcc4-supply = <®_module_3v3>; |
| 876 | vcc5-supply = <®_module_3v3>; |
| 877 | vcc6-supply = <®_1v8_vio>; |
| 878 | vcc7-supply = <®_5v0_charge_pump>; |
| 879 | vccio-supply = <®_module_3v3>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 880 | |
| 881 | regulators { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 882 | vdd1_reg: vdd1 { |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 883 | regulator-name = "+V1.35_VDDIO_DDR"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 884 | regulator-min-microvolt = <1350000>; |
| 885 | regulator-max-microvolt = <1350000>; |
| 886 | regulator-always-on; |
| 887 | }; |
| 888 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 889 | vdd2_reg: vdd2 { |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 890 | regulator-name = "+V1.05"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 891 | regulator-min-microvolt = <1050000>; |
| 892 | regulator-max-microvolt = <1050000>; |
| 893 | }; |
| 894 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 895 | vddctrl_reg: vddctrl { |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 896 | regulator-name = "+V1.0_VDD_CPU"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 897 | regulator-min-microvolt = <1150000>; |
| 898 | regulator-max-microvolt = <1150000>; |
| 899 | regulator-always-on; |
| 900 | }; |
| 901 | |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 902 | reg_1v8_vio: vio { |
| 903 | regulator-name = "+V1.8"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 904 | regulator-min-microvolt = <1800000>; |
| 905 | regulator-max-microvolt = <1800000>; |
| 906 | regulator-always-on; |
| 907 | }; |
| 908 | |
| 909 | /* LDO1: unused */ |
| 910 | |
| 911 | /* |
| 912 | * EN_+V3.3 switching via FET: |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 913 | * +V3.3_AUDIO_AVDD_S, +V3.3 |
| 914 | * see also +V3.3 fixed supply |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 915 | */ |
| 916 | ldo2_reg: ldo2 { |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 917 | regulator-name = "EN_+V3.3"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 918 | regulator-min-microvolt = <3300000>; |
| 919 | regulator-max-microvolt = <3300000>; |
| 920 | regulator-always-on; |
| 921 | }; |
| 922 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 923 | ldo3_reg: ldo3 { |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 924 | regulator-name = "+V1.2_CSI"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 925 | regulator-min-microvolt = <1200000>; |
| 926 | regulator-max-microvolt = <1200000>; |
| 927 | }; |
| 928 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 929 | ldo4_reg: ldo4 { |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 930 | regulator-name = "+V1.2_VDD_RTC"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 931 | regulator-min-microvolt = <1200000>; |
| 932 | regulator-max-microvolt = <1200000>; |
| 933 | regulator-always-on; |
| 934 | }; |
| 935 | |
| 936 | /* |
| 937 | * +V2.8_AVDD_VDAC: |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 938 | * only required for (unsupported) analog RGB |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 939 | */ |
| 940 | ldo5_reg: ldo5 { |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 941 | regulator-name = "+V2.8_AVDD_VDAC"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 942 | regulator-min-microvolt = <2800000>; |
| 943 | regulator-max-microvolt = <2800000>; |
| 944 | regulator-always-on; |
| 945 | }; |
| 946 | |
| 947 | /* |
| 948 | * +V1.05_AVDD_PLLE: avdd_plle should be 1.05V |
| 949 | * but LDO6 can't set voltage in 50mV |
| 950 | * granularity |
| 951 | */ |
| 952 | ldo6_reg: ldo6 { |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 953 | regulator-name = "+V1.05_AVDD_PLLE"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 954 | regulator-min-microvolt = <1100000>; |
| 955 | regulator-max-microvolt = <1100000>; |
| 956 | }; |
| 957 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 958 | ldo7_reg: ldo7 { |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 959 | regulator-name = "+V1.2_AVDD_PLL"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 960 | regulator-min-microvolt = <1200000>; |
| 961 | regulator-max-microvolt = <1200000>; |
| 962 | regulator-always-on; |
| 963 | }; |
| 964 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 965 | ldo8_reg: ldo8 { |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 966 | regulator-name = "+V1.0_VDD_DDR_HS"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 967 | regulator-min-microvolt = <1000000>; |
| 968 | regulator-max-microvolt = <1000000>; |
| 969 | regulator-always-on; |
| 970 | }; |
| 971 | }; |
| 972 | }; |
| 973 | |
| 974 | /* STMPE811 touch screen controller */ |
| 975 | stmpe811@41 { |
| 976 | compatible = "st,stmpe811"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 977 | reg = <0x41>; |
Marcel Ziswiler | f38f799 | 2018-08-31 18:38:01 +0200 | [diff] [blame] | 978 | irq-gpio = <&gpio TEGRA_GPIO(V, 0) IRQ_TYPE_LEVEL_LOW>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 979 | interrupt-controller; |
| 980 | id = <0>; |
| 981 | blocks = <0x5>; |
| 982 | irq-trigger = <0x1>; |
| 983 | |
Krzysztof Kozlowski | 35a2122 | 2018-07-09 18:05:18 +0200 | [diff] [blame] | 984 | stmpe_touchscreen { |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 985 | compatible = "st,stmpe-ts"; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 986 | /* 3.25 MHz ADC clock speed */ |
| 987 | st,adc-freq = <1>; |
| 988 | /* 8 sample average control */ |
| 989 | st,ave-ctrl = <3>; |
| 990 | /* 7 length fractional part in z */ |
| 991 | st,fraction-z = <7>; |
| 992 | /* |
| 993 | * 50 mA typical 80 mA max touchscreen drivers |
| 994 | * current limit value |
| 995 | */ |
| 996 | st,i-drive = <1>; |
| 997 | /* 12-bit ADC */ |
| 998 | st,mod-12b = <1>; |
| 999 | /* internal ADC reference */ |
| 1000 | st,ref-sel = <0>; |
| 1001 | /* ADC converstion time: 80 clocks */ |
| 1002 | st,sample-time = <4>; |
| 1003 | /* 1 ms panel driver settling time */ |
| 1004 | st,settling = <3>; |
| 1005 | /* 5 ms touch detect interrupt delay */ |
| 1006 | st,touch-det-delay = <5>; |
| 1007 | }; |
| 1008 | }; |
| 1009 | |
| 1010 | /* |
| 1011 | * LM95245 temperature sensor |
Marcel Ziswiler | 16f53ab | 2018-08-31 18:38:02 +0200 | [diff] [blame] | 1012 | * Note: OVERT1# directly connected to TPS65911 PMIC PWRDN |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1013 | */ |
| 1014 | temp-sensor@4c { |
| 1015 | compatible = "national,lm95245"; |
| 1016 | reg = <0x4c>; |
| 1017 | }; |
| 1018 | |
| 1019 | /* SW: +V1.2_VDD_CORE */ |
| 1020 | tps62362@60 { |
| 1021 | compatible = "ti,tps62362"; |
| 1022 | reg = <0x60>; |
| 1023 | |
| 1024 | regulator-name = "tps62362-vout"; |
| 1025 | regulator-min-microvolt = <900000>; |
| 1026 | regulator-max-microvolt = <1400000>; |
| 1027 | regulator-boot-on; |
| 1028 | regulator-always-on; |
| 1029 | ti,vsel0-state-low; |
| 1030 | /* VSEL1: EN_CORE_DVFS_N low for DVFS */ |
| 1031 | ti,vsel1-state-low; |
| 1032 | }; |
| 1033 | }; |
| 1034 | |
| 1035 | /* SPI4: CAN2 */ |
| 1036 | spi@7000da00 { |
| 1037 | status = "okay"; |
| 1038 | spi-max-frequency = <10000000>; |
| 1039 | |
| 1040 | can@1 { |
| 1041 | compatible = "microchip,mcp2515"; |
| 1042 | reg = <1>; |
| 1043 | clocks = <&clk16m>; |
| 1044 | interrupt-parent = <&gpio>; |
Marcel Ziswiler | b604ef9 | 2018-02-10 02:33:23 +0100 | [diff] [blame] | 1045 | interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_RISING>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1046 | spi-max-frequency = <10000000>; |
| 1047 | }; |
| 1048 | }; |
| 1049 | |
| 1050 | /* SPI6: CAN1 */ |
| 1051 | spi@7000de00 { |
| 1052 | status = "okay"; |
| 1053 | spi-max-frequency = <10000000>; |
| 1054 | |
| 1055 | can@0 { |
| 1056 | compatible = "microchip,mcp2515"; |
| 1057 | reg = <0>; |
| 1058 | clocks = <&clk16m>; |
| 1059 | interrupt-parent = <&gpio>; |
Marcel Ziswiler | b604ef9 | 2018-02-10 02:33:23 +0100 | [diff] [blame] | 1060 | interrupts = <TEGRA_GPIO(W, 2) IRQ_TYPE_EDGE_RISING>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1061 | spi-max-frequency = <10000000>; |
| 1062 | }; |
| 1063 | }; |
| 1064 | |
| 1065 | pmc@7000e400 { |
| 1066 | nvidia,invert-interrupt; |
| 1067 | nvidia,suspend-mode = <1>; |
| 1068 | nvidia,cpu-pwr-good-time = <5000>; |
| 1069 | nvidia,cpu-pwr-off-time = <5000>; |
| 1070 | nvidia,core-pwr-good-time = <3845 3845>; |
| 1071 | nvidia,core-pwr-off-time = <0>; |
| 1072 | nvidia,core-power-req-active-high; |
| 1073 | nvidia,sys-clock-req-active-high; |
Marcel Ziswiler | 5f1fe7b | 2018-08-31 18:38:03 +0200 | [diff] [blame] | 1074 | |
| 1075 | /* Set DEV_OFF bit in DCDC control register of TPS65911 PMIC */ |
| 1076 | i2c-thermtrip { |
| 1077 | nvidia,i2c-controller-id = <4>; |
| 1078 | nvidia,bus-addr = <0x2d>; |
| 1079 | nvidia,reg-addr = <0x3f>; |
| 1080 | nvidia,reg-data = <0x1>; |
| 1081 | }; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1082 | }; |
| 1083 | |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 1084 | ahub@70080000 { |
| 1085 | i2s@70080500 { |
| 1086 | status = "okay"; |
| 1087 | }; |
| 1088 | }; |
| 1089 | |
Marcel Ziswiler | 7be74b0 | 2015-08-28 14:42:31 +0200 | [diff] [blame] | 1090 | /* eMMC */ |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1091 | sdhci@78000600 { |
| 1092 | status = "okay"; |
| 1093 | bus-width = <8>; |
| 1094 | non-removable; |
Marcel Ziswiler | 0f0a383 | 2018-08-31 18:38:04 +0200 | [diff] [blame^] | 1095 | vmmc-supply = <®_module_3v3>; /* VCC */ |
| 1096 | vqmmc-supply = <®_1v8_vio>; /* VCCQ */ |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1097 | }; |
| 1098 | |
| 1099 | clocks { |
| 1100 | compatible = "simple-bus"; |
| 1101 | #address-cells = <1>; |
| 1102 | #size-cells = <0>; |
| 1103 | |
| 1104 | clk32k_in: clk@0 { |
| 1105 | compatible = "fixed-clock"; |
Thierry Reding | 4ec2e60 | 2016-06-10 18:55:24 +0200 | [diff] [blame] | 1106 | reg = <0>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1107 | #clock-cells = <0>; |
| 1108 | clock-frequency = <32768>; |
| 1109 | }; |
Thierry Reding | 4ec2e60 | 2016-06-10 18:55:24 +0200 | [diff] [blame] | 1110 | |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1111 | clk16m: clk@1 { |
| 1112 | compatible = "fixed-clock"; |
Thierry Reding | 4ec2e60 | 2016-06-10 18:55:24 +0200 | [diff] [blame] | 1113 | reg = <1>; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1114 | #clock-cells = <0>; |
| 1115 | clock-frequency = <16000000>; |
| 1116 | clock-output-names = "clk16m"; |
| 1117 | }; |
| 1118 | }; |
| 1119 | |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 1120 | reg_1v8_avdd_hdmi_pll: regulator-1v8-avdd-hdmi-pll { |
| 1121 | compatible = "regulator-fixed"; |
| 1122 | regulator-name = "+V1.8_AVDD_HDMI_PLL"; |
| 1123 | regulator-min-microvolt = <1800000>; |
| 1124 | regulator-max-microvolt = <1800000>; |
| 1125 | enable-active-high; |
| 1126 | gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; |
| 1127 | vin-supply = <®_1v8_vio>; |
| 1128 | }; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1129 | |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 1130 | reg_3v3_avdd_hdmi: regulator-3v3-avdd-hdmi { |
| 1131 | compatible = "regulator-fixed"; |
| 1132 | regulator-name = "+V3.3_AVDD_HDMI"; |
| 1133 | regulator-min-microvolt = <3300000>; |
| 1134 | regulator-max-microvolt = <3300000>; |
| 1135 | enable-active-high; |
| 1136 | gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; |
| 1137 | vin-supply = <®_module_3v3>; |
| 1138 | }; |
Marcel Ziswiler | 654b7d6 | 2015-08-28 14:42:29 +0200 | [diff] [blame] | 1139 | |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 1140 | reg_5v0_charge_pump: regulator-5v0-charge-pump { |
| 1141 | compatible = "regulator-fixed"; |
| 1142 | regulator-name = "+V5.0"; |
| 1143 | regulator-min-microvolt = <5000000>; |
| 1144 | regulator-max-microvolt = <5000000>; |
| 1145 | regulator-always-on; |
| 1146 | }; |
Marcel Ziswiler | caa9eac | 2014-08-22 13:25:10 -0600 | [diff] [blame] | 1147 | |
Marcel Ziswiler | f98439c | 2018-08-31 18:37:49 +0200 | [diff] [blame] | 1148 | reg_module_3v3: regulator-module-3v3 { |
| 1149 | compatible = "regulator-fixed"; |
| 1150 | regulator-name = "+V3.3"; |
| 1151 | regulator-min-microvolt = <3300000>; |
| 1152 | regulator-max-microvolt = <3300000>; |
| 1153 | regulator-always-on; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1154 | }; |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 1155 | |
Marcel Ziswiler | 32980cb | 2018-08-31 18:37:50 +0200 | [diff] [blame] | 1156 | reg_module_3v3_audio: regulator-module-3v3-audio { |
| 1157 | compatible = "regulator-fixed"; |
| 1158 | regulator-name = "+V3.3_AUDIO_AVDD_S"; |
| 1159 | regulator-min-microvolt = <3300000>; |
| 1160 | regulator-max-microvolt = <3300000>; |
| 1161 | regulator-always-on; |
| 1162 | }; |
| 1163 | |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 1164 | sound { |
| 1165 | compatible = "toradex,tegra-audio-sgtl5000-apalis_t30", |
| 1166 | "nvidia,tegra-audio-sgtl5000"; |
| 1167 | nvidia,model = "Toradex Apalis T30"; |
| 1168 | nvidia,audio-routing = |
| 1169 | "Headphone Jack", "HP_OUT", |
| 1170 | "LINE_IN", "Line In Jack", |
| 1171 | "MIC_IN", "Mic Jack"; |
| 1172 | nvidia,i2s-controller = <&tegra_i2s2>; |
| 1173 | nvidia,audio-codec = <&sgtl5000>; |
| 1174 | clocks = <&tegra_car TEGRA30_CLK_PLL_A>, |
| 1175 | <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, |
| 1176 | <&tegra_car TEGRA30_CLK_EXTERN1>; |
| 1177 | clock-names = "pll_a", "pll_a_out0", "mclk"; |
| 1178 | }; |
Marcel Ziswiler | 6d0a067 | 2014-06-10 00:52:46 +0200 | [diff] [blame] | 1179 | }; |