Joseph Lo | a1425d4 | 2013-10-08 12:50:06 +0800 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Thierry Reding | 146db0e | 2013-12-19 17:06:19 +0100 | [diff] [blame] | 3 | #include <dt-bindings/input/input.h> |
Joseph Lo | a1425d4 | 2013-10-08 12:50:06 +0800 | [diff] [blame] | 4 | #include "tegra124.dtsi" |
| 5 | |
| 6 | / { |
| 7 | model = "NVIDIA Tegra124 Venice2"; |
| 8 | compatible = "nvidia,venice2", "nvidia,tegra124"; |
| 9 | |
Stephen Warren | b1afa78 | 2013-12-19 11:32:15 -0700 | [diff] [blame] | 10 | aliases { |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 11 | rtc0 = "/i2c@0,7000d000/pmic@40"; |
| 12 | rtc1 = "/rtc@0,7000e000"; |
Olof Johansson | c4574aa | 2014-11-11 12:49:30 -0800 | [diff] [blame] | 13 | serial0 = &uarta; |
Stephen Warren | b1afa78 | 2013-12-19 11:32:15 -0700 | [diff] [blame] | 14 | }; |
| 15 | |
Joseph Lo | a1425d4 | 2013-10-08 12:50:06 +0800 | [diff] [blame] | 16 | memory { |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 17 | reg = <0x0 0x80000000 0x0 0x80000000>; |
Joseph Lo | a1425d4 | 2013-10-08 12:50:06 +0800 | [diff] [blame] | 18 | }; |
| 19 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 20 | host1x@0,50000000 { |
Thierry Reding | 329c39f | 2014-04-25 17:44:46 +0200 | [diff] [blame] | 21 | hdmi@0,54280000 { |
| 22 | status = "okay"; |
| 23 | |
| 24 | vdd-supply = <&vdd_3v3_hdmi>; |
| 25 | pll-supply = <&vdd_hdmi_pll>; |
| 26 | hdmi-supply = <&vdd_5v0_hdmi>; |
| 27 | |
| 28 | nvidia,ddc-i2c-bus = <&hdmi_ddc>; |
| 29 | nvidia,hpd-gpio = |
| 30 | <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; |
| 31 | }; |
| 32 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 33 | sor@0,54540000 { |
Thierry Reding | 40e231c | 2014-02-28 17:40:24 +0100 | [diff] [blame] | 34 | status = "okay"; |
| 35 | |
| 36 | nvidia,dpaux = <&dpaux>; |
| 37 | nvidia,panel = <&panel>; |
| 38 | }; |
| 39 | |
Dylan Reid | edfbad0 | 2014-09-04 15:20:34 -0700 | [diff] [blame] | 40 | dpaux@0,545c0000 { |
Thierry Reding | 40e231c | 2014-02-28 17:40:24 +0100 | [diff] [blame] | 41 | vdd-supply = <&vdd_3v3_panel>; |
| 42 | status = "okay"; |
| 43 | }; |
| 44 | }; |
| 45 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 46 | pinmux: pinmux@0,70000868 { |
Stephen Warren | 6dbaff2 | 2014-09-03 09:42:06 -0600 | [diff] [blame] | 47 | pinctrl-names = "boot"; |
| 48 | pinctrl-0 = <&pinmux_boot>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 49 | |
Stephen Warren | 6dbaff2 | 2014-09-03 09:42:06 -0600 | [diff] [blame] | 50 | pinmux_boot: common { |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 51 | dap_mclk1_pw4 { |
| 52 | nvidia,pins = "dap_mclk1_pw4"; |
| 53 | nvidia,function = "extperiph1"; |
| 54 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 55 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 56 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 57 | }; |
| 58 | dap1_din_pn1 { |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 59 | nvidia,pins = "dap1_din_pn1"; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 60 | nvidia,function = "i2s0"; |
| 61 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 62 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 63 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 64 | }; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 65 | dap1_dout_pn2 { |
| 66 | nvidia,pins = "dap1_dout_pn2", |
| 67 | "dap1_fs_pn0", |
| 68 | "dap1_sclk_pn3"; |
| 69 | nvidia,function = "i2s0"; |
| 70 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 71 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 72 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 73 | }; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 74 | dap2_din_pa4 { |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 75 | nvidia,pins = "dap2_din_pa4"; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 76 | nvidia,function = "i2s1"; |
| 77 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 78 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
Stephen Warren | 4ffb938 | 2013-12-12 14:40:30 -0700 | [diff] [blame] | 79 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 80 | }; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 81 | dap2_dout_pa5 { |
| 82 | nvidia,pins = "dap2_dout_pa5", |
| 83 | "dap2_fs_pa2", |
| 84 | "dap2_sclk_pa3"; |
| 85 | nvidia,function = "i2s1"; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 86 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 87 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 88 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 89 | }; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 90 | dvfs_pwm_px0 { |
| 91 | nvidia,pins = "dvfs_pwm_px0", |
| 92 | "dvfs_clk_px2"; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 93 | nvidia,function = "cldvfs"; |
| 94 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 95 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 96 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 97 | }; |
| 98 | ulpi_clk_py0 { |
| 99 | nvidia,pins = "ulpi_clk_py0", |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 100 | "ulpi_nxt_py2", |
| 101 | "ulpi_stp_py3"; |
| 102 | nvidia,function = "spi1"; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 103 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 104 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 105 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 106 | }; |
| 107 | ulpi_dir_py1 { |
| 108 | nvidia,pins = "ulpi_dir_py1"; |
| 109 | nvidia,function = "spi1"; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 110 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 111 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 112 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 113 | }; |
| 114 | cam_i2c_scl_pbb1 { |
| 115 | nvidia,pins = "cam_i2c_scl_pbb1", |
| 116 | "cam_i2c_sda_pbb2"; |
| 117 | nvidia,function = "i2c3"; |
| 118 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 119 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 120 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 121 | nvidia,lock = <TEGRA_PIN_DISABLE>; |
| 122 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
| 123 | }; |
| 124 | gen2_i2c_scl_pt5 { |
| 125 | nvidia,pins = "gen2_i2c_scl_pt5", |
| 126 | "gen2_i2c_sda_pt6"; |
| 127 | nvidia,function = "i2c2"; |
| 128 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 129 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 130 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 131 | nvidia,lock = <TEGRA_PIN_DISABLE>; |
| 132 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
| 133 | }; |
| 134 | pg4 { |
| 135 | nvidia,pins = "pg4", |
| 136 | "pg5", |
| 137 | "pg6", |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 138 | "pi3"; |
| 139 | nvidia,function = "spi4"; |
| 140 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 141 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 142 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 143 | }; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 144 | pg7 { |
| 145 | nvidia,pins = "pg7"; |
| 146 | nvidia,function = "spi4"; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 147 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 148 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 149 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 150 | }; |
| 151 | ph1 { |
| 152 | nvidia,pins = "ph1"; |
| 153 | nvidia,function = "pwm1"; |
| 154 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 155 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 156 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 157 | }; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 158 | pk0 { |
| 159 | nvidia,pins = "pk0", |
| 160 | "kb_row15_ps7", |
| 161 | "clk_32k_out_pa0"; |
| 162 | nvidia,function = "soc"; |
| 163 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
Thierry Reding | f5cb19b | 2013-12-13 17:25:04 +0100 | [diff] [blame] | 164 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 165 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Thierry Reding | f5cb19b | 2013-12-13 17:25:04 +0100 | [diff] [blame] | 166 | }; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 167 | sdmmc1_clk_pz0 { |
Stephen Warren | bf5fd5b | 2014-03-20 18:06:01 -0600 | [diff] [blame] | 168 | nvidia,pins = "sdmmc1_clk_pz0"; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 169 | nvidia,function = "sdmmc1"; |
Stephen Warren | bf5fd5b | 2014-03-20 18:06:01 -0600 | [diff] [blame] | 170 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 171 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 172 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 173 | }; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 174 | sdmmc1_cmd_pz1 { |
| 175 | nvidia,pins = "sdmmc1_cmd_pz1", |
| 176 | "sdmmc1_dat0_py7", |
| 177 | "sdmmc1_dat1_py6", |
| 178 | "sdmmc1_dat2_py5", |
| 179 | "sdmmc1_dat3_py4"; |
| 180 | nvidia,function = "sdmmc1"; |
| 181 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 182 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 183 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 184 | }; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 185 | sdmmc3_clk_pa6 { |
| 186 | nvidia,pins = "sdmmc3_clk_pa6"; |
| 187 | nvidia,function = "sdmmc3"; |
| 188 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 189 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 190 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 191 | }; |
| 192 | sdmmc3_cmd_pa7 { |
| 193 | nvidia,pins = "sdmmc3_cmd_pa7", |
| 194 | "sdmmc3_dat0_pb7", |
| 195 | "sdmmc3_dat1_pb6", |
| 196 | "sdmmc3_dat2_pb5", |
| 197 | "sdmmc3_dat3_pb4", |
| 198 | "sdmmc3_clk_lb_out_pee4", |
| 199 | "sdmmc3_clk_lb_in_pee5"; |
| 200 | nvidia,function = "sdmmc3"; |
| 201 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 202 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 203 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 204 | }; |
| 205 | sdmmc4_clk_pcc4 { |
| 206 | nvidia,pins = "sdmmc4_clk_pcc4"; |
| 207 | nvidia,function = "sdmmc4"; |
| 208 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 209 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 210 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 211 | }; |
| 212 | sdmmc4_cmd_pt7 { |
| 213 | nvidia,pins = "sdmmc4_cmd_pt7", |
| 214 | "sdmmc4_dat0_paa0", |
| 215 | "sdmmc4_dat1_paa1", |
| 216 | "sdmmc4_dat2_paa2", |
| 217 | "sdmmc4_dat3_paa3", |
| 218 | "sdmmc4_dat4_paa4", |
| 219 | "sdmmc4_dat5_paa5", |
| 220 | "sdmmc4_dat6_paa6", |
| 221 | "sdmmc4_dat7_paa7"; |
| 222 | nvidia,function = "sdmmc4"; |
| 223 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 224 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 225 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 226 | }; |
| 227 | pwr_i2c_scl_pz6 { |
| 228 | nvidia,pins = "pwr_i2c_scl_pz6", |
| 229 | "pwr_i2c_sda_pz7"; |
| 230 | nvidia,function = "i2cpwr"; |
| 231 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 232 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 233 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 234 | nvidia,lock = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 235 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
| 236 | }; |
| 237 | jtag_rtck { |
| 238 | nvidia,pins = "jtag_rtck"; |
| 239 | nvidia,function = "rtck"; |
| 240 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 241 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 242 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 243 | }; |
| 244 | clk_32k_in { |
| 245 | nvidia,pins = "clk_32k_in"; |
| 246 | nvidia,function = "clk"; |
| 247 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 248 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 249 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 250 | }; |
| 251 | core_pwr_req { |
| 252 | nvidia,pins = "core_pwr_req"; |
| 253 | nvidia,function = "pwron"; |
| 254 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 255 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 256 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 257 | }; |
| 258 | cpu_pwr_req { |
| 259 | nvidia,pins = "cpu_pwr_req"; |
| 260 | nvidia,function = "cpu"; |
| 261 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 262 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 263 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 264 | }; |
| 265 | pwr_int_n { |
| 266 | nvidia,pins = "pwr_int_n"; |
| 267 | nvidia,function = "pmi"; |
| 268 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 269 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 270 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 271 | }; |
| 272 | reset_out_n { |
| 273 | nvidia,pins = "reset_out_n"; |
| 274 | nvidia,function = "reset_out_n"; |
| 275 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 276 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 277 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 278 | }; |
| 279 | clk3_out_pee0 { |
| 280 | nvidia,pins = "clk3_out_pee0"; |
| 281 | nvidia,function = "extperiph3"; |
| 282 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 283 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 284 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 285 | }; |
| 286 | dap4_din_pp5 { |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 287 | nvidia,pins = "dap4_din_pp5"; |
| 288 | nvidia,function = "i2s3"; |
| 289 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 290 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 291 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 292 | }; |
| 293 | dap4_dout_pp6 { |
| 294 | nvidia,pins = "dap4_dout_pp6", |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 295 | "dap4_fs_pp4", |
| 296 | "dap4_sclk_pp7"; |
| 297 | nvidia,function = "i2s3"; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 298 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 299 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 300 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 301 | }; |
| 302 | gen1_i2c_sda_pc5 { |
| 303 | nvidia,pins = "gen1_i2c_sda_pc5", |
| 304 | "gen1_i2c_scl_pc4"; |
| 305 | nvidia,function = "i2c1"; |
| 306 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 307 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 308 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 309 | nvidia,lock = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 310 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 311 | }; |
| 312 | uart2_cts_n_pj5 { |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 313 | nvidia,pins = "uart2_cts_n_pj5"; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 314 | nvidia,function = "uartb"; |
| 315 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 316 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 317 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 318 | }; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 319 | uart2_rts_n_pj6 { |
| 320 | nvidia,pins = "uart2_rts_n_pj6"; |
| 321 | nvidia,function = "uartb"; |
| 322 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 323 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 324 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 325 | }; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 326 | uart2_rxd_pc3 { |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 327 | nvidia,pins = "uart2_rxd_pc3"; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 328 | nvidia,function = "irda"; |
| 329 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 330 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 331 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 332 | }; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 333 | uart2_txd_pc2 { |
| 334 | nvidia,pins = "uart2_txd_pc2"; |
| 335 | nvidia,function = "irda"; |
| 336 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 337 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 338 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 339 | }; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 340 | uart3_cts_n_pa1 { |
| 341 | nvidia,pins = "uart3_cts_n_pa1", |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 342 | "uart3_rxd_pw7"; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 343 | nvidia,function = "uartc"; |
| 344 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 345 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 346 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 347 | }; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 348 | uart3_rts_n_pc0 { |
| 349 | nvidia,pins = "uart3_rts_n_pc0", |
| 350 | "uart3_txd_pw6"; |
| 351 | nvidia,function = "uartc"; |
| 352 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 353 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 354 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 355 | }; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 356 | hdmi_cec_pee3 { |
| 357 | nvidia,pins = "hdmi_cec_pee3"; |
| 358 | nvidia,function = "cec"; |
| 359 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 360 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 361 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 362 | nvidia,lock = <TEGRA_PIN_DISABLE>; |
| 363 | nvidia,open-drain = <TEGRA_PIN_DISABLE>; |
| 364 | }; |
| 365 | hdmi_int_pn7 { |
| 366 | nvidia,pins = "hdmi_int_pn7"; |
| 367 | nvidia,function = "rsvd1"; |
| 368 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 369 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 370 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 371 | }; |
| 372 | ddc_scl_pv4 { |
| 373 | nvidia,pins = "ddc_scl_pv4", |
| 374 | "ddc_sda_pv5"; |
| 375 | nvidia,function = "i2c4"; |
| 376 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 377 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 378 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 379 | nvidia,lock = <TEGRA_PIN_DISABLE>; |
| 380 | nvidia,rcv-sel = <TEGRA_PIN_ENABLE>; |
| 381 | }; |
| 382 | pj7 { |
| 383 | nvidia,pins = "pj7", |
| 384 | "pk7"; |
| 385 | nvidia,function = "uartd"; |
| 386 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 387 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 388 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 389 | }; |
| 390 | pb0 { |
| 391 | nvidia,pins = "pb0", |
| 392 | "pb1"; |
| 393 | nvidia,function = "uartd"; |
| 394 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 395 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 396 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 397 | }; |
| 398 | ph0 { |
| 399 | nvidia,pins = "ph0"; |
| 400 | nvidia,function = "pwm0"; |
| 401 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 402 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 403 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 404 | }; |
| 405 | kb_row10_ps2 { |
| 406 | nvidia,pins = "kb_row10_ps2"; |
| 407 | nvidia,function = "uarta"; |
| 408 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 409 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 410 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 411 | }; |
| 412 | kb_row9_ps1 { |
| 413 | nvidia,pins = "kb_row9_ps1"; |
| 414 | nvidia,function = "uarta"; |
| 415 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 416 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 417 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 418 | }; |
| 419 | kb_row6_pr6 { |
| 420 | nvidia,pins = "kb_row6_pr6"; |
| 421 | nvidia,function = "displaya_alt"; |
| 422 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 423 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 424 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 425 | }; |
| 426 | usb_vbus_en0_pn4 { |
Thierry Reding | fa15ffa | 2014-02-25 16:45:04 +0100 | [diff] [blame] | 427 | nvidia,pins = "usb_vbus_en0_pn4", |
| 428 | "usb_vbus_en1_pn5"; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 429 | nvidia,function = "usb"; |
| 430 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Thierry Reding | fa15ffa | 2014-02-25 16:45:04 +0100 | [diff] [blame] | 431 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 432 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 433 | nvidia,lock = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 434 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 435 | }; |
| 436 | drive_sdio1 { |
| 437 | nvidia,pins = "drive_sdio1"; |
| 438 | nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; |
| 439 | nvidia,schmitt = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 440 | nvidia,pull-down-strength = <32>; |
| 441 | nvidia,pull-up-strength = <42>; |
| 442 | nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; |
| 443 | nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; |
| 444 | }; |
| 445 | drive_sdio3 { |
| 446 | nvidia,pins = "drive_sdio3"; |
| 447 | nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; |
| 448 | nvidia,schmitt = <TEGRA_PIN_DISABLE>; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 449 | nvidia,pull-down-strength = <20>; |
| 450 | nvidia,pull-up-strength = <36>; |
| 451 | nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; |
| 452 | nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; |
| 453 | }; |
| 454 | drive_gma { |
| 455 | nvidia,pins = "drive_gma"; |
| 456 | nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; |
| 457 | nvidia,schmitt = <TEGRA_PIN_DISABLE>; |
| 458 | nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>; |
| 459 | nvidia,pull-down-strength = <1>; |
| 460 | nvidia,pull-up-strength = <2>; |
| 461 | nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; |
| 462 | nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; |
| 463 | nvidia,drive-type = <1>; |
| 464 | }; |
Laxman Dewangan | 365c483 | 2013-12-18 18:22:58 +0530 | [diff] [blame] | 465 | als_irq_l { |
| 466 | nvidia,pins = "gpio_x3_aud_px3"; |
| 467 | nvidia,function = "gmi"; |
| 468 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 469 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 470 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 471 | }; |
| 472 | codec_irq_l { |
| 473 | nvidia,pins = "ph4"; |
| 474 | nvidia,function = "gmi"; |
| 475 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 476 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 477 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 478 | }; |
| 479 | lcd_bl_en { |
| 480 | nvidia,pins = "ph2"; |
| 481 | nvidia,function = "gmi"; |
| 482 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 483 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 484 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 485 | }; |
| 486 | touch_irq_l { |
| 487 | nvidia,pins = "gpio_w3_aud_pw3"; |
| 488 | nvidia,function = "spi6"; |
| 489 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 490 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 491 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 492 | }; |
| 493 | tpm_davint_l { |
| 494 | nvidia,pins = "ph6"; |
| 495 | nvidia,function = "gmi"; |
| 496 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 497 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 498 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 499 | }; |
| 500 | ts_irq_l { |
| 501 | nvidia,pins = "pk2"; |
| 502 | nvidia,function = "gmi"; |
| 503 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 504 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 505 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 506 | }; |
| 507 | ts_reset_l { |
| 508 | nvidia,pins = "pk4"; |
| 509 | nvidia,function = "gmi"; |
| 510 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 511 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 512 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 513 | }; |
| 514 | ts_shdn_l { |
| 515 | nvidia,pins = "pk1"; |
| 516 | nvidia,function = "gmi"; |
| 517 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 518 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 519 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 520 | }; |
| 521 | ph7 { |
| 522 | nvidia,pins = "ph7"; |
| 523 | nvidia,function = "gmi"; |
| 524 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 525 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 526 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 527 | }; |
| 528 | kb_col0_ap { |
| 529 | nvidia,pins = "kb_col0_pq0"; |
| 530 | nvidia,function = "rsvd4"; |
| 531 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 532 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 533 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 534 | }; |
| 535 | lid_open { |
| 536 | nvidia,pins = "kb_row4_pr4"; |
| 537 | nvidia,function = "rsvd3"; |
| 538 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 539 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 540 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 541 | }; |
| 542 | en_vdd_sd { |
| 543 | nvidia,pins = "kb_row0_pr0"; |
| 544 | nvidia,function = "rsvd4"; |
| 545 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 546 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 547 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 548 | }; |
| 549 | ac_ok { |
| 550 | nvidia,pins = "pj0"; |
| 551 | nvidia,function = "gmi"; |
| 552 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 553 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 554 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 555 | }; |
| 556 | sensor_irq_l { |
| 557 | nvidia,pins = "pi6"; |
| 558 | nvidia,function = "gmi"; |
| 559 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 560 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 561 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 562 | }; |
| 563 | wifi_en { |
| 564 | nvidia,pins = "gpio_x7_aud_px7"; |
| 565 | nvidia,function = "rsvd4"; |
| 566 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 567 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 568 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 569 | }; |
| 570 | wifi_rst_l { |
| 571 | nvidia,pins = "clk2_req_pcc5"; |
| 572 | nvidia,function = "dap"; |
| 573 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 574 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 575 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 576 | }; |
| 577 | hp_det_l { |
| 578 | nvidia,pins = "ulpi_data1_po2"; |
| 579 | nvidia,function = "spi3"; |
| 580 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 581 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 582 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 583 | }; |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 584 | }; |
| 585 | }; |
| 586 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 587 | serial@0,70006000 { |
Joseph Lo | a1425d4 | 2013-10-08 12:50:06 +0800 | [diff] [blame] | 588 | status = "okay"; |
| 589 | }; |
| 590 | |
Dylan Reid | edfbad0 | 2014-09-04 15:20:34 -0700 | [diff] [blame] | 591 | pwm@0,7000a000 { |
Thierry Reding | e013485 | 2013-11-18 17:00:35 +0100 | [diff] [blame] | 592 | status = "okay"; |
| 593 | }; |
| 594 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 595 | i2c@0,7000c000 { |
Stephen Warren | 9d5b250 | 2013-12-03 16:44:35 -0700 | [diff] [blame] | 596 | status = "okay"; |
| 597 | clock-frequency = <100000>; |
Stephen Warren | b0e1cae | 2013-12-03 17:26:12 -0700 | [diff] [blame] | 598 | |
| 599 | acodec: audio-codec@10 { |
| 600 | compatible = "maxim,max98090"; |
| 601 | reg = <0x10>; |
| 602 | interrupt-parent = <&gpio>; |
| 603 | interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>; |
| 604 | }; |
Stephen Warren | 9d5b250 | 2013-12-03 16:44:35 -0700 | [diff] [blame] | 605 | }; |
| 606 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 607 | i2c@0,7000c400 { |
Stephen Warren | 9d5b250 | 2013-12-03 16:44:35 -0700 | [diff] [blame] | 608 | status = "okay"; |
| 609 | clock-frequency = <100000>; |
Stephen Warren | bf8f039 | 2014-09-02 09:57:09 -0600 | [diff] [blame] | 610 | |
| 611 | trackpad@4b { |
| 612 | compatible = "atmel,maxtouch"; |
| 613 | reg = <0x4b>; |
| 614 | interrupt-parent = <&gpio>; |
| 615 | interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>; |
| 616 | linux,gpio-keymap = <0 0 0 BTN_LEFT>; |
| 617 | }; |
Stephen Warren | 9d5b250 | 2013-12-03 16:44:35 -0700 | [diff] [blame] | 618 | }; |
| 619 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 620 | i2c@0,7000c500 { |
Stephen Warren | 9d5b250 | 2013-12-03 16:44:35 -0700 | [diff] [blame] | 621 | status = "okay"; |
| 622 | clock-frequency = <100000>; |
| 623 | }; |
| 624 | |
Thierry Reding | 329c39f | 2014-04-25 17:44:46 +0200 | [diff] [blame] | 625 | hdmi_ddc: i2c@0,7000c700 { |
Stephen Warren | 9d5b250 | 2013-12-03 16:44:35 -0700 | [diff] [blame] | 626 | status = "okay"; |
| 627 | clock-frequency = <100000>; |
| 628 | }; |
| 629 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 630 | i2c@0,7000d000 { |
Stephen Warren | 9d5b250 | 2013-12-03 16:44:35 -0700 | [diff] [blame] | 631 | status = "okay"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 632 | clock-frequency = <400000>; |
| 633 | |
Thierry Reding | fdc44f9 | 2014-02-28 17:40:28 +0100 | [diff] [blame] | 634 | pmic: pmic@40 { |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 635 | compatible = "ams,as3722"; |
| 636 | reg = <0x40>; |
| 637 | interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>; |
| 638 | |
Laxman Dewangan | 7be75df | 2014-01-09 16:31:48 +0530 | [diff] [blame] | 639 | ams,system-power-controller; |
| 640 | |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 641 | #interrupt-cells = <2>; |
| 642 | interrupt-controller; |
| 643 | |
| 644 | gpio-controller; |
| 645 | #gpio-cells = <2>; |
| 646 | |
| 647 | pinctrl-names = "default"; |
| 648 | pinctrl-0 = <&as3722_default>; |
| 649 | |
| 650 | as3722_default: pinmux { |
| 651 | gpio0 { |
| 652 | pins = "gpio0"; |
| 653 | function = "gpio"; |
| 654 | bias-pull-down; |
| 655 | }; |
| 656 | |
| 657 | gpio1_2_4_7 { |
| 658 | pins = "gpio1", "gpio2", "gpio4", "gpio7"; |
| 659 | function = "gpio"; |
| 660 | bias-pull-up; |
| 661 | }; |
| 662 | |
| 663 | gpio3_6 { |
| 664 | pins = "gpio3", "gpio6"; |
| 665 | bias-high-impedance; |
| 666 | }; |
| 667 | |
| 668 | gpio5 { |
| 669 | pins = "gpio5"; |
| 670 | function = "clk32k-out"; |
| 671 | }; |
| 672 | }; |
| 673 | |
| 674 | regulators { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 675 | vsup-sd2-supply = <&vdd_5v0_sys>; |
| 676 | vsup-sd3-supply = <&vdd_5v0_sys>; |
| 677 | vsup-sd4-supply = <&vdd_5v0_sys>; |
| 678 | vsup-sd5-supply = <&vdd_5v0_sys>; |
| 679 | vin-ldo0-supply = <&vdd_1v35_lp0>; |
| 680 | vin-ldo1-6-supply = <&vdd_3v3_run>; |
| 681 | vin-ldo2-5-7-supply = <&vddio_1v8>; |
| 682 | vin-ldo3-4-supply = <&vdd_3v3_sys>; |
| 683 | vin-ldo9-10-supply = <&vdd_5v0_sys>; |
| 684 | vin-ldo11-supply = <&vdd_3v3_run>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 685 | |
| 686 | sd0 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 687 | regulator-name = "+VDD_CPU_AP"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 688 | regulator-min-microvolt = <700000>; |
| 689 | regulator-max-microvolt = <1400000>; |
| 690 | regulator-min-microamp = <3500000>; |
| 691 | regulator-max-microamp = <3500000>; |
| 692 | regulator-always-on; |
| 693 | regulator-boot-on; |
Tuomas Tynkkynen | ee913f7 | 2014-07-09 21:53:17 +0300 | [diff] [blame] | 694 | ams,ext-control = <2>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 695 | }; |
| 696 | |
| 697 | sd1 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 698 | regulator-name = "+VDD_CORE"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 699 | regulator-min-microvolt = <700000>; |
| 700 | regulator-max-microvolt = <1350000>; |
| 701 | regulator-min-microamp = <2500000>; |
| 702 | regulator-max-microamp = <2500000>; |
| 703 | regulator-always-on; |
| 704 | regulator-boot-on; |
Tuomas Tynkkynen | ee913f7 | 2014-07-09 21:53:17 +0300 | [diff] [blame] | 705 | ams,ext-control = <1>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 706 | }; |
| 707 | |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 708 | vdd_1v35_lp0: sd2 { |
| 709 | regulator-name = "+1.35V_LP0(sd2)"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 710 | regulator-min-microvolt = <1350000>; |
| 711 | regulator-max-microvolt = <1350000>; |
| 712 | regulator-always-on; |
| 713 | regulator-boot-on; |
| 714 | }; |
| 715 | |
| 716 | sd3 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 717 | regulator-name = "+1.35V_LP0(sd3)"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 718 | regulator-min-microvolt = <1350000>; |
| 719 | regulator-max-microvolt = <1350000>; |
| 720 | regulator-always-on; |
| 721 | regulator-boot-on; |
| 722 | }; |
| 723 | |
Thierry Reding | 329c39f | 2014-04-25 17:44:46 +0200 | [diff] [blame] | 724 | vdd_1v05_run: sd4 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 725 | regulator-name = "+1.05V_RUN"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 726 | regulator-min-microvolt = <1050000>; |
| 727 | regulator-max-microvolt = <1050000>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 728 | }; |
| 729 | |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 730 | vddio_1v8: sd5 { |
| 731 | regulator-name = "+1.8V_VDDIO"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 732 | regulator-min-microvolt = <1800000>; |
| 733 | regulator-max-microvolt = <1800000>; |
| 734 | regulator-boot-on; |
| 735 | regulator-always-on; |
| 736 | }; |
| 737 | |
| 738 | sd6 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 739 | regulator-name = "+VDD_GPU_AP"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 740 | regulator-min-microvolt = <650000>; |
| 741 | regulator-max-microvolt = <1200000>; |
| 742 | regulator-min-microamp = <3500000>; |
| 743 | regulator-max-microamp = <3500000>; |
| 744 | regulator-boot-on; |
| 745 | regulator-always-on; |
| 746 | }; |
| 747 | |
| 748 | ldo0 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 749 | regulator-name = "+1.05V_RUN_AVDD"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 750 | regulator-min-microvolt = <1050000>; |
| 751 | regulator-max-microvolt = <1050000>; |
| 752 | regulator-boot-on; |
| 753 | regulator-always-on; |
Tuomas Tynkkynen | ee913f7 | 2014-07-09 21:53:17 +0300 | [diff] [blame] | 754 | ams,ext-control = <1>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 755 | }; |
| 756 | |
| 757 | ldo1 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 758 | regulator-name = "+1.8V_RUN_CAM"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 759 | regulator-min-microvolt = <1800000>; |
| 760 | regulator-max-microvolt = <1800000>; |
| 761 | }; |
| 762 | |
| 763 | ldo2 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 764 | regulator-name = "+1.2V_GEN_AVDD"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 765 | regulator-min-microvolt = <1200000>; |
| 766 | regulator-max-microvolt = <1200000>; |
| 767 | regulator-boot-on; |
| 768 | regulator-always-on; |
| 769 | }; |
| 770 | |
| 771 | ldo3 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 772 | regulator-name = "+1.00V_LP0_VDD_RTC"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 773 | regulator-min-microvolt = <1000000>; |
| 774 | regulator-max-microvolt = <1000000>; |
| 775 | regulator-boot-on; |
| 776 | regulator-always-on; |
| 777 | ams,enable-tracking; |
| 778 | }; |
| 779 | |
Thierry Reding | 431b7be | 2014-02-28 17:40:26 +0100 | [diff] [blame] | 780 | vdd_run_cam: ldo4 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 781 | regulator-name = "+3.3V_RUN_CAM"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 782 | regulator-min-microvolt = <2800000>; |
| 783 | regulator-max-microvolt = <2800000>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 784 | }; |
| 785 | |
| 786 | ldo5 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 787 | regulator-name = "+1.2V_RUN_CAM_FRONT"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 788 | regulator-min-microvolt = <1200000>; |
| 789 | regulator-max-microvolt = <1200000>; |
| 790 | }; |
| 791 | |
Thierry Reding | 4989b43 | 2014-02-28 17:40:21 +0100 | [diff] [blame] | 792 | vddio_sdmmc3: ldo6 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 793 | regulator-name = "+VDDIO_SDMMC3"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 794 | regulator-min-microvolt = <1800000>; |
| 795 | regulator-max-microvolt = <3300000>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 796 | }; |
| 797 | |
| 798 | ldo7 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 799 | regulator-name = "+1.05V_RUN_CAM_REAR"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 800 | regulator-min-microvolt = <1050000>; |
| 801 | regulator-max-microvolt = <1050000>; |
| 802 | }; |
| 803 | |
| 804 | ldo9 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 805 | regulator-name = "+2.8V_RUN_TOUCH"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 806 | regulator-min-microvolt = <2800000>; |
| 807 | regulator-max-microvolt = <2800000>; |
| 808 | }; |
| 809 | |
| 810 | ldo10 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 811 | regulator-name = "+2.8V_RUN_CAM_AF"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 812 | regulator-min-microvolt = <2800000>; |
| 813 | regulator-max-microvolt = <2800000>; |
| 814 | }; |
| 815 | |
| 816 | ldo11 { |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 817 | regulator-name = "+1.8V_RUN_VPP_FUSE"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 818 | regulator-min-microvolt = <1800000>; |
| 819 | regulator-max-microvolt = <1800000>; |
| 820 | }; |
| 821 | }; |
| 822 | }; |
Stephen Warren | 9d5b250 | 2013-12-03 16:44:35 -0700 | [diff] [blame] | 823 | }; |
| 824 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 825 | spi@0,7000d400 { |
Thierry Reding | 146db0e | 2013-12-19 17:06:19 +0100 | [diff] [blame] | 826 | status = "okay"; |
| 827 | |
Doug Anderson | f01dd55 | 2014-06-04 15:20:19 -0700 | [diff] [blame] | 828 | cros_ec: cros-ec@0 { |
Thierry Reding | 146db0e | 2013-12-19 17:06:19 +0100 | [diff] [blame] | 829 | compatible = "google,cros-ec-spi"; |
| 830 | spi-max-frequency = <4000000>; |
| 831 | interrupt-parent = <&gpio>; |
| 832 | interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>; |
| 833 | reg = <0>; |
| 834 | |
| 835 | google,cros-ec-spi-msg-delay = <2000>; |
Doug Anderson | 72ceddd | 2014-04-30 10:44:10 -0700 | [diff] [blame] | 836 | |
| 837 | i2c-tunnel { |
| 838 | compatible = "google,cros-ec-i2c-tunnel"; |
| 839 | #address-cells = <1>; |
| 840 | #size-cells = <0>; |
| 841 | |
| 842 | google,remote-bus = <0>; |
| 843 | |
| 844 | charger: bq24735@9 { |
| 845 | compatible = "ti,bq24735"; |
| 846 | reg = <0x9>; |
| 847 | interrupt-parent = <&gpio>; |
| 848 | interrupts = <TEGRA_GPIO(J, 0) |
| 849 | GPIO_ACTIVE_HIGH>; |
| 850 | ti,ac-detect-gpios = <&gpio |
| 851 | TEGRA_GPIO(J, 0) |
| 852 | GPIO_ACTIVE_HIGH>; |
| 853 | }; |
| 854 | |
| 855 | battery: sbs-battery@b { |
| 856 | compatible = "sbs,sbs-battery"; |
| 857 | reg = <0xb>; |
| 858 | sbs,i2c-retry-count = <2>; |
| 859 | sbs,poll-retry-count = <1>; |
| 860 | }; |
| 861 | }; |
Thierry Reding | 146db0e | 2013-12-19 17:06:19 +0100 | [diff] [blame] | 862 | }; |
| 863 | }; |
| 864 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 865 | spi@0,7000da00 { |
Stephen Warren | 11e5b4f | 2014-02-18 15:03:21 -0700 | [diff] [blame] | 866 | status = "okay"; |
| 867 | spi-max-frequency = <25000000>; |
| 868 | spi-flash@0 { |
| 869 | compatible = "winbond,w25q32dw"; |
| 870 | reg = <0>; |
| 871 | spi-max-frequency = <20000000>; |
| 872 | }; |
| 873 | }; |
| 874 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 875 | pmc@0,7000e400 { |
Joseph Lo | a1425d4 | 2013-10-08 12:50:06 +0800 | [diff] [blame] | 876 | nvidia,invert-interrupt; |
Joseph Lo | 6ec1d12 | 2013-10-11 17:58:39 +0800 | [diff] [blame] | 877 | nvidia,suspend-mode = <1>; |
| 878 | nvidia,cpu-pwr-good-time = <500>; |
| 879 | nvidia,cpu-pwr-off-time = <300>; |
| 880 | nvidia,core-pwr-good-time = <641 3845>; |
| 881 | nvidia,core-pwr-off-time = <61036>; |
| 882 | nvidia,core-power-req-active-high; |
| 883 | nvidia,sys-clock-req-active-high; |
Joseph Lo | a1425d4 | 2013-10-08 12:50:06 +0800 | [diff] [blame] | 884 | }; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 885 | |
Dylan Reid | 0f3d3bf | 2014-05-19 19:35:46 -0700 | [diff] [blame] | 886 | hda@0,70030000 { |
| 887 | status = "okay"; |
| 888 | }; |
| 889 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 890 | sdhci@0,700b0400 { |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 891 | cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; |
| 892 | power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>; |
Stephen Warren | 2be8f4a | 2014-04-28 12:10:26 -0600 | [diff] [blame] | 893 | wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 894 | status = "okay"; |
| 895 | bus-width = <4>; |
Andrew Bresticker | 49228ca | 2014-04-16 16:08:39 -0700 | [diff] [blame] | 896 | vqmmc-supply = <&vddio_sdmmc3>; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 897 | }; |
| 898 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 899 | sdhci@0,700b0600 { |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 900 | status = "okay"; |
| 901 | bus-width = <8>; |
| 902 | }; |
| 903 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 904 | ahub@0,70300000 { |
| 905 | i2s@0,70301100 { |
Stephen Warren | b0e1cae | 2013-12-03 17:26:12 -0700 | [diff] [blame] | 906 | status = "okay"; |
| 907 | }; |
| 908 | }; |
| 909 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 910 | usb@0,7d000000 { |
Thierry Reding | 431b7be | 2014-02-28 17:40:26 +0100 | [diff] [blame] | 911 | status = "okay"; |
| 912 | }; |
| 913 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 914 | usb-phy@0,7d000000 { |
Thierry Reding | 431b7be | 2014-02-28 17:40:26 +0100 | [diff] [blame] | 915 | status = "okay"; |
| 916 | vbus-supply = <&vdd_usb1_vbus>; |
| 917 | }; |
| 918 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 919 | usb@0,7d004000 { |
Thierry Reding | 431b7be | 2014-02-28 17:40:26 +0100 | [diff] [blame] | 920 | status = "okay"; |
| 921 | }; |
| 922 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 923 | usb-phy@0,7d004000 { |
Thierry Reding | 431b7be | 2014-02-28 17:40:26 +0100 | [diff] [blame] | 924 | status = "okay"; |
| 925 | vbus-supply = <&vdd_run_cam>; |
| 926 | }; |
| 927 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 928 | usb@0,7d008000 { |
Thierry Reding | 431b7be | 2014-02-28 17:40:26 +0100 | [diff] [blame] | 929 | status = "okay"; |
| 930 | }; |
| 931 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 932 | usb-phy@0,7d008000 { |
Thierry Reding | 431b7be | 2014-02-28 17:40:26 +0100 | [diff] [blame] | 933 | status = "okay"; |
| 934 | vbus-supply = <&vdd_usb3_vbus>; |
| 935 | }; |
| 936 | |
Thierry Reding | 40e231c | 2014-02-28 17:40:24 +0100 | [diff] [blame] | 937 | backlight: backlight { |
| 938 | compatible = "pwm-backlight"; |
| 939 | |
| 940 | enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; |
| 941 | power-supply = <&vdd_led>; |
| 942 | pwms = <&pwm 1 1000000>; |
| 943 | |
| 944 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 945 | default-brightness-level = <6>; |
| 946 | }; |
| 947 | |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 948 | clocks { |
| 949 | compatible = "simple-bus"; |
| 950 | #address-cells = <1>; |
| 951 | #size-cells = <0>; |
| 952 | |
| 953 | clk32k_in: clock@0 { |
| 954 | compatible = "fixed-clock"; |
Thierry Reding | 4b35660 | 2014-02-28 17:40:27 +0100 | [diff] [blame] | 955 | reg = <0>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 956 | #clock-cells = <0>; |
| 957 | clock-frequency = <32768>; |
| 958 | }; |
| 959 | }; |
Stephen Warren | b0e1cae | 2013-12-03 17:26:12 -0700 | [diff] [blame] | 960 | |
Thierry Reding | 3f748d4 | 2013-12-19 17:06:20 +0100 | [diff] [blame] | 961 | gpio-keys { |
| 962 | compatible = "gpio-keys"; |
| 963 | |
| 964 | power { |
| 965 | label = "Power"; |
| 966 | gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>; |
| 967 | linux,code = <KEY_POWER>; |
| 968 | debounce-interval = <10>; |
| 969 | gpio-key,wakeup; |
| 970 | }; |
| 971 | }; |
| 972 | |
Thierry Reding | 40e231c | 2014-02-28 17:40:24 +0100 | [diff] [blame] | 973 | panel: panel { |
| 974 | compatible = "lg,lp129qe", "simple-panel"; |
| 975 | |
| 976 | backlight = <&backlight>; |
| 977 | ddc-i2c-bus = <&dpaux>; |
| 978 | }; |
| 979 | |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 980 | regulators { |
| 981 | compatible = "simple-bus"; |
| 982 | #address-cells = <1>; |
| 983 | #size-cells = <0>; |
| 984 | |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 985 | vdd_mux: regulator@0 { |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 986 | compatible = "regulator-fixed"; |
| 987 | reg = <0>; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 988 | regulator-name = "+VDD_MUX"; |
| 989 | regulator-min-microvolt = <12000000>; |
| 990 | regulator-max-microvolt = <12000000>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 991 | regulator-always-on; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 992 | regulator-boot-on; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 993 | }; |
| 994 | |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 995 | vdd_5v0_sys: regulator@1 { |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 996 | compatible = "regulator-fixed"; |
| 997 | reg = <1>; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 998 | regulator-name = "+5V_SYS"; |
| 999 | regulator-min-microvolt = <5000000>; |
| 1000 | regulator-max-microvolt = <5000000>; |
| 1001 | regulator-always-on; |
| 1002 | regulator-boot-on; |
| 1003 | vin-supply = <&vdd_mux>; |
| 1004 | }; |
| 1005 | |
| 1006 | vdd_3v3_sys: regulator@2 { |
| 1007 | compatible = "regulator-fixed"; |
| 1008 | reg = <2>; |
| 1009 | regulator-name = "+3.3V_SYS"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1010 | regulator-min-microvolt = <3300000>; |
| 1011 | regulator-max-microvolt = <3300000>; |
| 1012 | regulator-always-on; |
| 1013 | regulator-boot-on; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1014 | vin-supply = <&vdd_mux>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1015 | }; |
| 1016 | |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1017 | vdd_3v3_run: regulator@3 { |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1018 | compatible = "regulator-fixed"; |
| 1019 | reg = <3>; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1020 | regulator-name = "+3.3V_RUN"; |
| 1021 | regulator-min-microvolt = <3300000>; |
| 1022 | regulator-max-microvolt = <3300000>; |
Stephen Warren | c7fe767 | 2014-04-15 16:27:01 -0600 | [diff] [blame] | 1023 | regulator-always-on; |
| 1024 | regulator-boot-on; |
Thierry Reding | fdc44f9 | 2014-02-28 17:40:28 +0100 | [diff] [blame] | 1025 | gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1026 | enable-active-high; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1027 | vin-supply = <&vdd_3v3_sys>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1028 | }; |
| 1029 | |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1030 | vdd_3v3_hdmi: regulator@4 { |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1031 | compatible = "regulator-fixed"; |
| 1032 | reg = <4>; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1033 | regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1034 | regulator-min-microvolt = <3300000>; |
| 1035 | regulator-max-microvolt = <3300000>; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1036 | vin-supply = <&vdd_3v3_run>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1037 | }; |
| 1038 | |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1039 | vdd_led: regulator@5 { |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1040 | compatible = "regulator-fixed"; |
| 1041 | reg = <5>; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1042 | regulator-name = "+VDD_LED"; |
| 1043 | gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1044 | enable-active-high; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1045 | vin-supply = <&vdd_mux>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1046 | }; |
| 1047 | |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1048 | vdd_5v0_ts: regulator@6 { |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1049 | compatible = "regulator-fixed"; |
| 1050 | reg = <6>; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1051 | regulator-name = "+5V_VDD_TS_SW"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1052 | regulator-min-microvolt = <5000000>; |
| 1053 | regulator-max-microvolt = <5000000>; |
| 1054 | regulator-boot-on; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1055 | gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1056 | enable-active-high; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1057 | vin-supply = <&vdd_5v0_sys>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1058 | }; |
| 1059 | |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1060 | vdd_usb1_vbus: regulator@7 { |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1061 | compatible = "regulator-fixed"; |
| 1062 | reg = <7>; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1063 | regulator-name = "+5V_USB_HS"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1064 | regulator-min-microvolt = <5000000>; |
| 1065 | regulator-max-microvolt = <5000000>; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1066 | gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1067 | enable-active-high; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1068 | gpio-open-drain; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1069 | vin-supply = <&vdd_5v0_sys>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1070 | }; |
| 1071 | |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1072 | vdd_usb3_vbus: regulator@8 { |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1073 | compatible = "regulator-fixed"; |
| 1074 | reg = <8>; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1075 | regulator-name = "+5V_USB_SS"; |
| 1076 | regulator-min-microvolt = <5000000>; |
| 1077 | regulator-max-microvolt = <5000000>; |
| 1078 | gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; |
| 1079 | enable-active-high; |
| 1080 | gpio-open-drain; |
| 1081 | vin-supply = <&vdd_5v0_sys>; |
| 1082 | }; |
| 1083 | |
| 1084 | vdd_3v3_panel: regulator@9 { |
| 1085 | compatible = "regulator-fixed"; |
| 1086 | reg = <9>; |
| 1087 | regulator-name = "+3.3V_PANEL"; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1088 | regulator-min-microvolt = <3300000>; |
| 1089 | regulator-max-microvolt = <3300000>; |
Thierry Reding | fdc44f9 | 2014-02-28 17:40:28 +0100 | [diff] [blame] | 1090 | gpio = <&pmic 4 GPIO_ACTIVE_HIGH>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1091 | enable-active-high; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1092 | vin-supply = <&vdd_3v3_run>; |
| 1093 | }; |
| 1094 | |
| 1095 | vdd_3v3_lp0: regulator@10 { |
| 1096 | compatible = "regulator-fixed"; |
| 1097 | reg = <10>; |
| 1098 | regulator-name = "+3.3V_LP0"; |
| 1099 | regulator-min-microvolt = <3300000>; |
| 1100 | regulator-max-microvolt = <3300000>; |
| 1101 | /* |
| 1102 | * TODO: find a way to wire this up with the USB EHCI |
| 1103 | * controllers so that it can be enabled on demand. |
| 1104 | */ |
| 1105 | regulator-always-on; |
Thierry Reding | fdc44f9 | 2014-02-28 17:40:28 +0100 | [diff] [blame] | 1106 | gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; |
Thierry Reding | af144b8 | 2014-02-28 17:40:20 +0100 | [diff] [blame] | 1107 | enable-active-high; |
| 1108 | vin-supply = <&vdd_3v3_sys>; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1109 | }; |
Thierry Reding | 329c39f | 2014-04-25 17:44:46 +0200 | [diff] [blame] | 1110 | |
| 1111 | vdd_hdmi_pll: regulator@11 { |
| 1112 | compatible = "regulator-fixed"; |
| 1113 | reg = <11>; |
| 1114 | regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; |
| 1115 | regulator-min-microvolt = <1050000>; |
| 1116 | regulator-max-microvolt = <1050000>; |
| 1117 | gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; |
| 1118 | vin-supply = <&vdd_1v05_run>; |
| 1119 | }; |
| 1120 | |
| 1121 | vdd_5v0_hdmi: regulator@12 { |
| 1122 | compatible = "regulator-fixed"; |
| 1123 | reg = <12>; |
| 1124 | regulator-name = "+5V_HDMI_CON"; |
| 1125 | regulator-min-microvolt = <5000000>; |
| 1126 | regulator-max-microvolt = <5000000>; |
| 1127 | gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; |
| 1128 | enable-active-high; |
| 1129 | vin-supply = <&vdd_5v0_sys>; |
| 1130 | }; |
Laxman Dewangan | fcacaba | 2013-12-18 18:22:59 +0530 | [diff] [blame] | 1131 | }; |
| 1132 | |
Stephen Warren | b0e1cae | 2013-12-03 17:26:12 -0700 | [diff] [blame] | 1133 | sound { |
| 1134 | compatible = "nvidia,tegra-audio-max98090-venice2", |
| 1135 | "nvidia,tegra-audio-max98090"; |
| 1136 | nvidia,model = "NVIDIA Tegra Venice2"; |
| 1137 | |
| 1138 | nvidia,audio-routing = |
| 1139 | "Headphones", "HPR", |
| 1140 | "Headphones", "HPL", |
| 1141 | "Speakers", "SPKR", |
| 1142 | "Speakers", "SPKL", |
| 1143 | "Mic Jack", "MICBIAS", |
| 1144 | "IN34", "Mic Jack"; |
| 1145 | |
| 1146 | nvidia,i2s-controller = <&tegra_i2s1>; |
| 1147 | nvidia,audio-codec = <&acodec>; |
| 1148 | |
| 1149 | clocks = <&tegra_car TEGRA124_CLK_PLL_A>, |
| 1150 | <&tegra_car TEGRA124_CLK_PLL_A_OUT0>, |
| 1151 | <&tegra_car TEGRA124_CLK_EXTERN1>; |
| 1152 | clock-names = "pll_a", "pll_a_out0", "mclk"; |
| 1153 | }; |
Joseph Lo | a1425d4 | 2013-10-08 12:50:06 +0800 | [diff] [blame] | 1154 | }; |
Doug Anderson | f01dd55 | 2014-06-04 15:20:19 -0700 | [diff] [blame] | 1155 | |
| 1156 | #include "cros-ec-keyboard.dtsi" |