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