15ab502cbSMasahiro Yamada/dts-v1/; 25ab502cbSMasahiro Yamada 35ab502cbSMasahiro Yamada#include "tegra30.dtsi" 45ab502cbSMasahiro Yamada 55ab502cbSMasahiro Yamada/ { 65ab502cbSMasahiro Yamada model = "NVIDIA Beaver"; 75ab502cbSMasahiro Yamada compatible = "nvidia,beaver", "nvidia,tegra30"; 85ab502cbSMasahiro Yamada 9c3691392SSimon Glass chosen { 10c3691392SSimon Glass stdout-path = &uarta; 11c3691392SSimon Glass }; 12c3691392SSimon Glass 135ab502cbSMasahiro Yamada aliases { 145ab502cbSMasahiro Yamada i2c0 = "/i2c@7000d000"; 155ab502cbSMasahiro Yamada i2c1 = "/i2c@7000c000"; 165ab502cbSMasahiro Yamada i2c2 = "/i2c@7000c400"; 175ab502cbSMasahiro Yamada i2c3 = "/i2c@7000c500"; 185ab502cbSMasahiro Yamada i2c4 = "/i2c@7000c700"; 195ab502cbSMasahiro Yamada sdhci0 = "/sdhci@78000600"; 205ab502cbSMasahiro Yamada sdhci1 = "/sdhci@78000000"; 21d2f60f93SSimon Glass spi0 = "/spi@7000da00"; 22e6607cffSStephen Warren usb0 = "/usb@7d000000"; 23e6607cffSStephen Warren usb1 = "/usb@7d008000"; 245ab502cbSMasahiro Yamada }; 255ab502cbSMasahiro Yamada 265ab502cbSMasahiro Yamada memory { 275ab502cbSMasahiro Yamada device_type = "memory"; 285ab502cbSMasahiro Yamada reg = <0x80000000 0x7ff00000>; 295ab502cbSMasahiro Yamada }; 305ab502cbSMasahiro Yamada 31affe0269SThierry Reding pcie-controller@00003000 { 32affe0269SThierry Reding status = "okay"; 33affe0269SThierry Reding 34affe0269SThierry Reding avdd-pexa-supply = <&ldo1_reg>; 35affe0269SThierry Reding vdd-pexa-supply = <&ldo1_reg>; 36affe0269SThierry Reding avdd-pexb-supply = <&ldo1_reg>; 37affe0269SThierry Reding vdd-pexb-supply = <&ldo1_reg>; 38affe0269SThierry Reding avdd-pex-pll-supply = <&ldo1_reg>; 39affe0269SThierry Reding avdd-plle-supply = <&ldo1_reg>; 40affe0269SThierry Reding vddio-pex-ctl-supply = <&sys_3v3_reg>; 41affe0269SThierry Reding hvdd-pex-supply = <&sys_3v3_pexs_reg>; 42affe0269SThierry Reding 43affe0269SThierry Reding pci@1,0 { 44affe0269SThierry Reding status = "okay"; 45affe0269SThierry Reding nvidia,num-lanes = <2>; 46affe0269SThierry Reding }; 47affe0269SThierry Reding 48affe0269SThierry Reding pci@2,0 { 49affe0269SThierry Reding nvidia,num-lanes = <2>; 50affe0269SThierry Reding }; 51affe0269SThierry Reding 52affe0269SThierry Reding pci@3,0 { 53affe0269SThierry Reding status = "okay"; 54affe0269SThierry Reding nvidia,num-lanes = <2>; 55affe0269SThierry Reding }; 56affe0269SThierry Reding }; 57affe0269SThierry Reding 585ab502cbSMasahiro Yamada i2c@7000c000 { 595ab502cbSMasahiro Yamada status = "okay"; 605ab502cbSMasahiro Yamada clock-frequency = <100000>; 615ab502cbSMasahiro Yamada }; 625ab502cbSMasahiro Yamada 635ab502cbSMasahiro Yamada i2c@7000c400 { 645ab502cbSMasahiro Yamada status = "okay"; 655ab502cbSMasahiro Yamada clock-frequency = <100000>; 665ab502cbSMasahiro Yamada }; 675ab502cbSMasahiro Yamada 685ab502cbSMasahiro Yamada i2c@7000c500 { 695ab502cbSMasahiro Yamada status = "okay"; 705ab502cbSMasahiro Yamada clock-frequency = <100000>; 715ab502cbSMasahiro Yamada }; 725ab502cbSMasahiro Yamada 735ab502cbSMasahiro Yamada i2c@7000c700 { 745ab502cbSMasahiro Yamada status = "okay"; 755ab502cbSMasahiro Yamada clock-frequency = <100000>; 765ab502cbSMasahiro Yamada }; 775ab502cbSMasahiro Yamada 785ab502cbSMasahiro Yamada i2c@7000d000 { 795ab502cbSMasahiro Yamada status = "okay"; 805ab502cbSMasahiro Yamada clock-frequency = <100000>; 81affe0269SThierry Reding 82affe0269SThierry Reding pmic: tps65911@2d { 83affe0269SThierry Reding compatible = "ti,tps65911"; 84affe0269SThierry Reding reg = <0x2d>; 85affe0269SThierry Reding 86affe0269SThierry Reding interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 87affe0269SThierry Reding #interrupt-cells = <2>; 88affe0269SThierry Reding interrupt-controller; 89affe0269SThierry Reding 90affe0269SThierry Reding ti,system-power-controller; 91affe0269SThierry Reding 92affe0269SThierry Reding #gpio-cells = <2>; 93affe0269SThierry Reding gpio-controller; 94affe0269SThierry Reding 95affe0269SThierry Reding vcc1-supply = <&vdd_5v_in_reg>; 96affe0269SThierry Reding vcc2-supply = <&vdd_5v_in_reg>; 97affe0269SThierry Reding vcc3-supply = <&vio_reg>; 98affe0269SThierry Reding vcc4-supply = <&vdd_5v_in_reg>; 99affe0269SThierry Reding vcc5-supply = <&vdd_5v_in_reg>; 100affe0269SThierry Reding vcc6-supply = <&vdd2_reg>; 101affe0269SThierry Reding vcc7-supply = <&vdd_5v_in_reg>; 102affe0269SThierry Reding vccio-supply = <&vdd_5v_in_reg>; 103affe0269SThierry Reding 104affe0269SThierry Reding regulators { 105affe0269SThierry Reding #address-cells = <1>; 106affe0269SThierry Reding #size-cells = <0>; 107affe0269SThierry Reding 108affe0269SThierry Reding vdd1_reg: vdd1 { 109affe0269SThierry Reding regulator-name = "vddio_ddr_1v2"; 110affe0269SThierry Reding regulator-min-microvolt = <1200000>; 111affe0269SThierry Reding regulator-max-microvolt = <1200000>; 112affe0269SThierry Reding regulator-always-on; 113affe0269SThierry Reding }; 114affe0269SThierry Reding 115affe0269SThierry Reding vdd2_reg: vdd2 { 116affe0269SThierry Reding regulator-name = "vdd_1v5_gen"; 117affe0269SThierry Reding regulator-min-microvolt = <1500000>; 118affe0269SThierry Reding regulator-max-microvolt = <1500000>; 119affe0269SThierry Reding regulator-always-on; 120affe0269SThierry Reding }; 121affe0269SThierry Reding 122affe0269SThierry Reding vddctrl_reg: vddctrl { 123affe0269SThierry Reding regulator-name = "vdd_cpu,vdd_sys"; 124affe0269SThierry Reding regulator-min-microvolt = <1000000>; 125affe0269SThierry Reding regulator-max-microvolt = <1000000>; 126affe0269SThierry Reding regulator-always-on; 127affe0269SThierry Reding }; 128affe0269SThierry Reding 129affe0269SThierry Reding vio_reg: vio { 130affe0269SThierry Reding regulator-name = "vdd_1v8_gen"; 131affe0269SThierry Reding regulator-min-microvolt = <1800000>; 132affe0269SThierry Reding regulator-max-microvolt = <1800000>; 133affe0269SThierry Reding regulator-always-on; 134affe0269SThierry Reding }; 135affe0269SThierry Reding 136affe0269SThierry Reding ldo1_reg: ldo1 { 137affe0269SThierry Reding regulator-name = "vdd_pexa,vdd_pexb"; 138affe0269SThierry Reding regulator-min-microvolt = <1050000>; 139affe0269SThierry Reding regulator-max-microvolt = <1050000>; 140affe0269SThierry Reding }; 141affe0269SThierry Reding 142affe0269SThierry Reding ldo2_reg: ldo2 { 143affe0269SThierry Reding regulator-name = "vdd_sata,avdd_plle"; 144affe0269SThierry Reding regulator-min-microvolt = <1050000>; 145affe0269SThierry Reding regulator-max-microvolt = <1050000>; 146affe0269SThierry Reding }; 147affe0269SThierry Reding 148affe0269SThierry Reding /* LDO3 is not connected to anything */ 149affe0269SThierry Reding 150affe0269SThierry Reding ldo4_reg: ldo4 { 151affe0269SThierry Reding regulator-name = "vdd_rtc"; 152affe0269SThierry Reding regulator-min-microvolt = <1200000>; 153affe0269SThierry Reding regulator-max-microvolt = <1200000>; 154affe0269SThierry Reding regulator-always-on; 155affe0269SThierry Reding }; 156affe0269SThierry Reding 157affe0269SThierry Reding ldo5_reg: ldo5 { 158affe0269SThierry Reding regulator-name = "vddio_sdmmc,avdd_vdac"; 159affe0269SThierry Reding regulator-min-microvolt = <3300000>; 160affe0269SThierry Reding regulator-max-microvolt = <3300000>; 161affe0269SThierry Reding regulator-always-on; 162affe0269SThierry Reding }; 163affe0269SThierry Reding 164affe0269SThierry Reding ldo6_reg: ldo6 { 165affe0269SThierry Reding regulator-name = "avdd_dsi_csi,pwrdet_mipi"; 166affe0269SThierry Reding regulator-min-microvolt = <1200000>; 167affe0269SThierry Reding regulator-max-microvolt = <1200000>; 168affe0269SThierry Reding }; 169affe0269SThierry Reding 170affe0269SThierry Reding ldo7_reg: ldo7 { 171affe0269SThierry Reding regulator-name = "vdd_pllm,x,u,a_p_c_s"; 172affe0269SThierry Reding regulator-min-microvolt = <1200000>; 173affe0269SThierry Reding regulator-max-microvolt = <1200000>; 174affe0269SThierry Reding regulator-always-on; 175affe0269SThierry Reding }; 176affe0269SThierry Reding 177affe0269SThierry Reding ldo8_reg: ldo8 { 178affe0269SThierry Reding regulator-name = "vdd_ddr_hs"; 179affe0269SThierry Reding regulator-min-microvolt = <1000000>; 180affe0269SThierry Reding regulator-max-microvolt = <1000000>; 181affe0269SThierry Reding regulator-always-on; 182affe0269SThierry Reding }; 183affe0269SThierry Reding }; 184affe0269SThierry Reding }; 1855ab502cbSMasahiro Yamada }; 1865ab502cbSMasahiro Yamada 1875ab502cbSMasahiro Yamada spi@7000da00 { 1885ab502cbSMasahiro Yamada status = "okay"; 1895ab502cbSMasahiro Yamada spi-max-frequency = <25000000>; 1905ab502cbSMasahiro Yamada spi-flash@1 { 1915ab502cbSMasahiro Yamada compatible = "winbond,w25q32"; 1925ab502cbSMasahiro Yamada reg = <1>; 1935ab502cbSMasahiro Yamada spi-max-frequency = <20000000>; 1945ab502cbSMasahiro Yamada }; 1955ab502cbSMasahiro Yamada }; 1965ab502cbSMasahiro Yamada 1975ab502cbSMasahiro Yamada sdhci@78000000 { 1985ab502cbSMasahiro Yamada status = "okay"; 199*2b2b50bcSSimon Glass cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; 200*2b2b50bcSSimon Glass wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>; 201*2b2b50bcSSimon Glass power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>; 2025ab502cbSMasahiro Yamada bus-width = <4>; 2035ab502cbSMasahiro Yamada }; 2045ab502cbSMasahiro Yamada 2055ab502cbSMasahiro Yamada sdhci@78000600 { 2065ab502cbSMasahiro Yamada status = "okay"; 2075ab502cbSMasahiro Yamada bus-width = <8>; 2085ab502cbSMasahiro Yamada }; 2095ab502cbSMasahiro Yamada 210e6607cffSStephen Warren usb@7d000000 { 211e6607cffSStephen Warren status = "okay"; 212e6607cffSStephen Warren dr_mode = "otg"; 213*2b2b50bcSSimon Glass nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; 214e6607cffSStephen Warren }; 215e6607cffSStephen Warren 2165ab502cbSMasahiro Yamada usb@7d008000 { 217*2b2b50bcSSimon Glass nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; 2185ab502cbSMasahiro Yamada status = "okay"; 2195ab502cbSMasahiro Yamada }; 220affe0269SThierry Reding 221affe0269SThierry Reding regulators { 222affe0269SThierry Reding compatible = "simple-bus"; 223affe0269SThierry Reding #address-cells = <1>; 224affe0269SThierry Reding #size-cells = <0>; 225affe0269SThierry Reding 226affe0269SThierry Reding vdd_5v_in_reg: regulator@0 { 227affe0269SThierry Reding compatible = "regulator-fixed"; 228affe0269SThierry Reding reg = <0>; 229affe0269SThierry Reding regulator-name = "vdd_5v_in"; 230affe0269SThierry Reding regulator-min-microvolt = <5000000>; 231affe0269SThierry Reding regulator-max-microvolt = <5000000>; 232affe0269SThierry Reding regulator-always-on; 233affe0269SThierry Reding }; 234affe0269SThierry Reding 235affe0269SThierry Reding chargepump_5v_reg: regulator@1 { 236affe0269SThierry Reding compatible = "regulator-fixed"; 237affe0269SThierry Reding reg = <1>; 238affe0269SThierry Reding regulator-name = "chargepump_5v"; 239affe0269SThierry Reding regulator-min-microvolt = <5000000>; 240affe0269SThierry Reding regulator-max-microvolt = <5000000>; 241affe0269SThierry Reding regulator-boot-on; 242affe0269SThierry Reding regulator-always-on; 243affe0269SThierry Reding enable-active-high; 244affe0269SThierry Reding gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 245affe0269SThierry Reding }; 246affe0269SThierry Reding 247affe0269SThierry Reding ddr_reg: regulator@2 { 248affe0269SThierry Reding compatible = "regulator-fixed"; 249affe0269SThierry Reding reg = <2>; 250affe0269SThierry Reding regulator-name = "vdd_ddr"; 251affe0269SThierry Reding regulator-min-microvolt = <1500000>; 252affe0269SThierry Reding regulator-max-microvolt = <1500000>; 253affe0269SThierry Reding regulator-always-on; 254affe0269SThierry Reding regulator-boot-on; 255affe0269SThierry Reding enable-active-high; 256affe0269SThierry Reding gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; 257affe0269SThierry Reding vin-supply = <&vdd_5v_in_reg>; 258affe0269SThierry Reding }; 259affe0269SThierry Reding 260affe0269SThierry Reding vdd_5v_sata_reg: regulator@3 { 261affe0269SThierry Reding compatible = "regulator-fixed"; 262affe0269SThierry Reding reg = <3>; 263affe0269SThierry Reding regulator-name = "vdd_5v_sata"; 264affe0269SThierry Reding regulator-min-microvolt = <5000000>; 265affe0269SThierry Reding regulator-max-microvolt = <5000000>; 266affe0269SThierry Reding regulator-always-on; 267affe0269SThierry Reding regulator-boot-on; 268affe0269SThierry Reding enable-active-high; 269affe0269SThierry Reding gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>; 270affe0269SThierry Reding vin-supply = <&vdd_5v_in_reg>; 271affe0269SThierry Reding }; 272affe0269SThierry Reding 273affe0269SThierry Reding usb1_vbus_reg: regulator@4 { 274affe0269SThierry Reding compatible = "regulator-fixed"; 275affe0269SThierry Reding reg = <4>; 276affe0269SThierry Reding regulator-name = "usb1_vbus"; 277affe0269SThierry Reding regulator-min-microvolt = <5000000>; 278affe0269SThierry Reding regulator-max-microvolt = <5000000>; 279affe0269SThierry Reding enable-active-high; 280affe0269SThierry Reding gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; 281affe0269SThierry Reding gpio-open-drain; 282affe0269SThierry Reding vin-supply = <&vdd_5v_in_reg>; 283affe0269SThierry Reding }; 284affe0269SThierry Reding 285affe0269SThierry Reding usb3_vbus_reg: regulator@5 { 286affe0269SThierry Reding compatible = "regulator-fixed"; 287affe0269SThierry Reding reg = <5>; 288affe0269SThierry Reding regulator-name = "usb3_vbus"; 289affe0269SThierry Reding regulator-min-microvolt = <5000000>; 290affe0269SThierry Reding regulator-max-microvolt = <5000000>; 291affe0269SThierry Reding enable-active-high; 292affe0269SThierry Reding gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; 293affe0269SThierry Reding gpio-open-drain; 294affe0269SThierry Reding vin-supply = <&vdd_5v_in_reg>; 295affe0269SThierry Reding }; 296affe0269SThierry Reding 297affe0269SThierry Reding sys_3v3_reg: regulator@6 { 298affe0269SThierry Reding compatible = "regulator-fixed"; 299affe0269SThierry Reding reg = <6>; 300affe0269SThierry Reding regulator-name = "sys_3v3,vdd_3v3_alw"; 301affe0269SThierry Reding regulator-min-microvolt = <3300000>; 302affe0269SThierry Reding regulator-max-microvolt = <3300000>; 303affe0269SThierry Reding regulator-always-on; 304affe0269SThierry Reding regulator-boot-on; 305affe0269SThierry Reding enable-active-high; 306affe0269SThierry Reding gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; 307affe0269SThierry Reding vin-supply = <&vdd_5v_in_reg>; 308affe0269SThierry Reding }; 309affe0269SThierry Reding 310affe0269SThierry Reding sys_3v3_pexs_reg: regulator@7 { 311affe0269SThierry Reding compatible = "regulator-fixed"; 312affe0269SThierry Reding reg = <7>; 313affe0269SThierry Reding regulator-name = "sys_3v3_pexs"; 314affe0269SThierry Reding regulator-min-microvolt = <3300000>; 315affe0269SThierry Reding regulator-max-microvolt = <3300000>; 316affe0269SThierry Reding regulator-always-on; 317affe0269SThierry Reding regulator-boot-on; 318affe0269SThierry Reding enable-active-high; 319affe0269SThierry Reding gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>; 320affe0269SThierry Reding vin-supply = <&sys_3v3_reg>; 321affe0269SThierry Reding }; 322affe0269SThierry Reding 323affe0269SThierry Reding vdd_5v0_hdmi: regulator@8 { 324affe0269SThierry Reding compatible = "regulator-fixed"; 325affe0269SThierry Reding reg = <8>; 326affe0269SThierry Reding regulator-name = "+VDD_5V_HDMI"; 327affe0269SThierry Reding regulator-min-microvolt = <5000000>; 328affe0269SThierry Reding regulator-max-microvolt = <5000000>; 329affe0269SThierry Reding regulator-always-on; 330affe0269SThierry Reding regulator-boot-on; 331affe0269SThierry Reding vin-supply = <&sys_3v3_reg>; 332affe0269SThierry Reding }; 333affe0269SThierry Reding }; 3345ab502cbSMasahiro Yamada}; 335