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