Tom Warren | 6017954 | 2013-04-12 11:20:51 -0700 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | #include "tegra30.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "NVIDIA Beaver"; |
| 7 | compatible = "nvidia,beaver", "nvidia,tegra30"; |
| 8 | |
Simon Glass | c369139 | 2014-09-04 16:27:35 -0600 | [diff] [blame] | 9 | chosen { |
| 10 | stdout-path = &uarta; |
| 11 | }; |
| 12 | |
Tom Warren | 6017954 | 2013-04-12 11:20:51 -0700 | [diff] [blame] | 13 | aliases { |
| 14 | i2c0 = "/i2c@7000d000"; |
| 15 | i2c1 = "/i2c@7000c000"; |
| 16 | i2c2 = "/i2c@7000c400"; |
| 17 | i2c3 = "/i2c@7000c500"; |
| 18 | i2c4 = "/i2c@7000c700"; |
| 19 | sdhci0 = "/sdhci@78000600"; |
| 20 | sdhci1 = "/sdhci@78000000"; |
Simon Glass | d2f60f9 | 2014-10-13 23:42:12 -0600 | [diff] [blame] | 21 | spi0 = "/spi@7000da00"; |
Stephen Warren | e6607cf | 2014-05-29 15:29:40 -0600 | [diff] [blame] | 22 | usb0 = "/usb@7d000000"; |
| 23 | usb1 = "/usb@7d008000"; |
Tom Warren | 6017954 | 2013-04-12 11:20:51 -0700 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | memory { |
| 27 | device_type = "memory"; |
| 28 | reg = <0x80000000 0x7ff00000>; |
| 29 | }; |
| 30 | |
Thierry Reding | affe026 | 2014-12-09 22:25:18 -0700 | [diff] [blame] | 31 | pcie-controller@00003000 { |
| 32 | status = "okay"; |
| 33 | |
| 34 | avdd-pexa-supply = <&ldo1_reg>; |
| 35 | vdd-pexa-supply = <&ldo1_reg>; |
| 36 | avdd-pexb-supply = <&ldo1_reg>; |
| 37 | vdd-pexb-supply = <&ldo1_reg>; |
| 38 | avdd-pex-pll-supply = <&ldo1_reg>; |
| 39 | avdd-plle-supply = <&ldo1_reg>; |
| 40 | vddio-pex-ctl-supply = <&sys_3v3_reg>; |
| 41 | hvdd-pex-supply = <&sys_3v3_pexs_reg>; |
| 42 | |
| 43 | pci@1,0 { |
| 44 | status = "okay"; |
| 45 | nvidia,num-lanes = <2>; |
| 46 | }; |
| 47 | |
| 48 | pci@2,0 { |
| 49 | nvidia,num-lanes = <2>; |
| 50 | }; |
| 51 | |
| 52 | pci@3,0 { |
| 53 | status = "okay"; |
| 54 | nvidia,num-lanes = <2>; |
| 55 | }; |
| 56 | }; |
| 57 | |
Tom Warren | 6017954 | 2013-04-12 11:20:51 -0700 | [diff] [blame] | 58 | i2c@7000c000 { |
| 59 | status = "okay"; |
| 60 | clock-frequency = <100000>; |
| 61 | }; |
| 62 | |
| 63 | i2c@7000c400 { |
| 64 | status = "okay"; |
| 65 | clock-frequency = <100000>; |
| 66 | }; |
| 67 | |
| 68 | i2c@7000c500 { |
| 69 | status = "okay"; |
| 70 | clock-frequency = <100000>; |
| 71 | }; |
| 72 | |
| 73 | i2c@7000c700 { |
| 74 | status = "okay"; |
| 75 | clock-frequency = <100000>; |
| 76 | }; |
| 77 | |
| 78 | i2c@7000d000 { |
| 79 | status = "okay"; |
| 80 | clock-frequency = <100000>; |
Thierry Reding | affe026 | 2014-12-09 22:25:18 -0700 | [diff] [blame] | 81 | |
| 82 | pmic: tps65911@2d { |
| 83 | compatible = "ti,tps65911"; |
| 84 | reg = <0x2d>; |
| 85 | |
| 86 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 87 | #interrupt-cells = <2>; |
| 88 | interrupt-controller; |
| 89 | |
| 90 | ti,system-power-controller; |
| 91 | |
| 92 | #gpio-cells = <2>; |
| 93 | gpio-controller; |
| 94 | |
| 95 | vcc1-supply = <&vdd_5v_in_reg>; |
| 96 | vcc2-supply = <&vdd_5v_in_reg>; |
| 97 | vcc3-supply = <&vio_reg>; |
| 98 | vcc4-supply = <&vdd_5v_in_reg>; |
| 99 | vcc5-supply = <&vdd_5v_in_reg>; |
| 100 | vcc6-supply = <&vdd2_reg>; |
| 101 | vcc7-supply = <&vdd_5v_in_reg>; |
| 102 | vccio-supply = <&vdd_5v_in_reg>; |
| 103 | |
| 104 | regulators { |
| 105 | #address-cells = <1>; |
| 106 | #size-cells = <0>; |
| 107 | |
| 108 | vdd1_reg: vdd1 { |
| 109 | regulator-name = "vddio_ddr_1v2"; |
| 110 | regulator-min-microvolt = <1200000>; |
| 111 | regulator-max-microvolt = <1200000>; |
| 112 | regulator-always-on; |
| 113 | }; |
| 114 | |
| 115 | vdd2_reg: vdd2 { |
| 116 | regulator-name = "vdd_1v5_gen"; |
| 117 | regulator-min-microvolt = <1500000>; |
| 118 | regulator-max-microvolt = <1500000>; |
| 119 | regulator-always-on; |
| 120 | }; |
| 121 | |
| 122 | vddctrl_reg: vddctrl { |
| 123 | regulator-name = "vdd_cpu,vdd_sys"; |
| 124 | regulator-min-microvolt = <1000000>; |
| 125 | regulator-max-microvolt = <1000000>; |
| 126 | regulator-always-on; |
| 127 | }; |
| 128 | |
| 129 | vio_reg: vio { |
| 130 | regulator-name = "vdd_1v8_gen"; |
| 131 | regulator-min-microvolt = <1800000>; |
| 132 | regulator-max-microvolt = <1800000>; |
| 133 | regulator-always-on; |
| 134 | }; |
| 135 | |
| 136 | ldo1_reg: ldo1 { |
| 137 | regulator-name = "vdd_pexa,vdd_pexb"; |
| 138 | regulator-min-microvolt = <1050000>; |
| 139 | regulator-max-microvolt = <1050000>; |
| 140 | }; |
| 141 | |
| 142 | ldo2_reg: ldo2 { |
| 143 | regulator-name = "vdd_sata,avdd_plle"; |
| 144 | regulator-min-microvolt = <1050000>; |
| 145 | regulator-max-microvolt = <1050000>; |
| 146 | }; |
| 147 | |
| 148 | /* LDO3 is not connected to anything */ |
| 149 | |
| 150 | ldo4_reg: ldo4 { |
| 151 | regulator-name = "vdd_rtc"; |
| 152 | regulator-min-microvolt = <1200000>; |
| 153 | regulator-max-microvolt = <1200000>; |
| 154 | regulator-always-on; |
| 155 | }; |
| 156 | |
| 157 | ldo5_reg: ldo5 { |
| 158 | regulator-name = "vddio_sdmmc,avdd_vdac"; |
| 159 | regulator-min-microvolt = <3300000>; |
| 160 | regulator-max-microvolt = <3300000>; |
| 161 | regulator-always-on; |
| 162 | }; |
| 163 | |
| 164 | ldo6_reg: ldo6 { |
| 165 | regulator-name = "avdd_dsi_csi,pwrdet_mipi"; |
| 166 | regulator-min-microvolt = <1200000>; |
| 167 | regulator-max-microvolt = <1200000>; |
| 168 | }; |
| 169 | |
| 170 | ldo7_reg: ldo7 { |
| 171 | regulator-name = "vdd_pllm,x,u,a_p_c_s"; |
| 172 | regulator-min-microvolt = <1200000>; |
| 173 | regulator-max-microvolt = <1200000>; |
| 174 | regulator-always-on; |
| 175 | }; |
| 176 | |
| 177 | ldo8_reg: ldo8 { |
| 178 | regulator-name = "vdd_ddr_hs"; |
| 179 | regulator-min-microvolt = <1000000>; |
| 180 | regulator-max-microvolt = <1000000>; |
| 181 | regulator-always-on; |
| 182 | }; |
| 183 | }; |
| 184 | }; |
Tom Warren | 6017954 | 2013-04-12 11:20:51 -0700 | [diff] [blame] | 185 | }; |
| 186 | |
| 187 | spi@7000da00 { |
| 188 | status = "okay"; |
| 189 | spi-max-frequency = <25000000>; |
| 190 | spi-flash@1 { |
| 191 | compatible = "winbond,w25q32"; |
| 192 | reg = <1>; |
| 193 | spi-max-frequency = <20000000>; |
| 194 | }; |
| 195 | }; |
| 196 | |
| 197 | sdhci@78000000 { |
| 198 | status = "okay"; |
Simon Glass | 2b2b50b | 2015-01-05 20:05:41 -0700 | [diff] [blame] | 199 | cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; |
| 200 | wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>; |
| 201 | power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>; |
Tom Warren | 6017954 | 2013-04-12 11:20:51 -0700 | [diff] [blame] | 202 | bus-width = <4>; |
| 203 | }; |
| 204 | |
| 205 | sdhci@78000600 { |
| 206 | status = "okay"; |
| 207 | bus-width = <8>; |
| 208 | }; |
Jim Lin | 56867d8 | 2013-06-21 19:05:46 +0800 | [diff] [blame] | 209 | |
Stephen Warren | e6607cf | 2014-05-29 15:29:40 -0600 | [diff] [blame] | 210 | usb@7d000000 { |
| 211 | status = "okay"; |
| 212 | dr_mode = "otg"; |
Simon Glass | 2b2b50b | 2015-01-05 20:05:41 -0700 | [diff] [blame] | 213 | nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; |
Stephen Warren | e6607cf | 2014-05-29 15:29:40 -0600 | [diff] [blame] | 214 | }; |
| 215 | |
Jim Lin | 56867d8 | 2013-06-21 19:05:46 +0800 | [diff] [blame] | 216 | usb@7d008000 { |
Simon Glass | 2b2b50b | 2015-01-05 20:05:41 -0700 | [diff] [blame] | 217 | nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; |
Jim Lin | 56867d8 | 2013-06-21 19:05:46 +0800 | [diff] [blame] | 218 | status = "okay"; |
| 219 | }; |
Thierry Reding | affe026 | 2014-12-09 22:25:18 -0700 | [diff] [blame] | 220 | |
| 221 | regulators { |
| 222 | compatible = "simple-bus"; |
| 223 | #address-cells = <1>; |
| 224 | #size-cells = <0>; |
| 225 | |
| 226 | vdd_5v_in_reg: regulator@0 { |
| 227 | compatible = "regulator-fixed"; |
| 228 | reg = <0>; |
| 229 | regulator-name = "vdd_5v_in"; |
| 230 | regulator-min-microvolt = <5000000>; |
| 231 | regulator-max-microvolt = <5000000>; |
| 232 | regulator-always-on; |
| 233 | }; |
| 234 | |
| 235 | chargepump_5v_reg: regulator@1 { |
| 236 | compatible = "regulator-fixed"; |
| 237 | reg = <1>; |
| 238 | regulator-name = "chargepump_5v"; |
| 239 | regulator-min-microvolt = <5000000>; |
| 240 | regulator-max-microvolt = <5000000>; |
| 241 | regulator-boot-on; |
| 242 | regulator-always-on; |
| 243 | enable-active-high; |
| 244 | gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; |
| 245 | }; |
| 246 | |
| 247 | ddr_reg: regulator@2 { |
| 248 | compatible = "regulator-fixed"; |
| 249 | reg = <2>; |
| 250 | regulator-name = "vdd_ddr"; |
| 251 | regulator-min-microvolt = <1500000>; |
| 252 | regulator-max-microvolt = <1500000>; |
| 253 | regulator-always-on; |
| 254 | regulator-boot-on; |
| 255 | enable-active-high; |
| 256 | gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; |
| 257 | vin-supply = <&vdd_5v_in_reg>; |
| 258 | }; |
| 259 | |
| 260 | vdd_5v_sata_reg: regulator@3 { |
| 261 | compatible = "regulator-fixed"; |
| 262 | reg = <3>; |
| 263 | regulator-name = "vdd_5v_sata"; |
| 264 | regulator-min-microvolt = <5000000>; |
| 265 | regulator-max-microvolt = <5000000>; |
| 266 | regulator-always-on; |
| 267 | regulator-boot-on; |
| 268 | enable-active-high; |
| 269 | gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>; |
| 270 | vin-supply = <&vdd_5v_in_reg>; |
| 271 | }; |
| 272 | |
| 273 | usb1_vbus_reg: regulator@4 { |
| 274 | compatible = "regulator-fixed"; |
| 275 | reg = <4>; |
| 276 | regulator-name = "usb1_vbus"; |
| 277 | regulator-min-microvolt = <5000000>; |
| 278 | regulator-max-microvolt = <5000000>; |
| 279 | enable-active-high; |
| 280 | gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; |
| 281 | gpio-open-drain; |
| 282 | vin-supply = <&vdd_5v_in_reg>; |
| 283 | }; |
| 284 | |
| 285 | usb3_vbus_reg: regulator@5 { |
| 286 | compatible = "regulator-fixed"; |
| 287 | reg = <5>; |
| 288 | regulator-name = "usb3_vbus"; |
| 289 | regulator-min-microvolt = <5000000>; |
| 290 | regulator-max-microvolt = <5000000>; |
| 291 | enable-active-high; |
| 292 | gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; |
| 293 | gpio-open-drain; |
| 294 | vin-supply = <&vdd_5v_in_reg>; |
| 295 | }; |
| 296 | |
| 297 | sys_3v3_reg: regulator@6 { |
| 298 | compatible = "regulator-fixed"; |
| 299 | reg = <6>; |
| 300 | regulator-name = "sys_3v3,vdd_3v3_alw"; |
| 301 | regulator-min-microvolt = <3300000>; |
| 302 | regulator-max-microvolt = <3300000>; |
| 303 | regulator-always-on; |
| 304 | regulator-boot-on; |
| 305 | enable-active-high; |
| 306 | gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; |
| 307 | vin-supply = <&vdd_5v_in_reg>; |
| 308 | }; |
| 309 | |
| 310 | sys_3v3_pexs_reg: regulator@7 { |
| 311 | compatible = "regulator-fixed"; |
| 312 | reg = <7>; |
| 313 | regulator-name = "sys_3v3_pexs"; |
| 314 | regulator-min-microvolt = <3300000>; |
| 315 | regulator-max-microvolt = <3300000>; |
| 316 | regulator-always-on; |
| 317 | regulator-boot-on; |
| 318 | enable-active-high; |
| 319 | gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>; |
| 320 | vin-supply = <&sys_3v3_reg>; |
| 321 | }; |
| 322 | |
| 323 | vdd_5v0_hdmi: regulator@8 { |
| 324 | compatible = "regulator-fixed"; |
| 325 | reg = <8>; |
| 326 | regulator-name = "+VDD_5V_HDMI"; |
| 327 | regulator-min-microvolt = <5000000>; |
| 328 | regulator-max-microvolt = <5000000>; |
| 329 | regulator-always-on; |
| 330 | regulator-boot-on; |
| 331 | vin-supply = <&sys_3v3_reg>; |
| 332 | }; |
| 333 | }; |
Tom Warren | 6017954 | 2013-04-12 11:20:51 -0700 | [diff] [blame] | 334 | }; |