xref: /openbmc/u-boot/arch/arm/dts/dra72-evm.dts (revision 78a88f79)
1/*
2 * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8#include "dra72-evm-common.dtsi"
9#include "dra72x-mmc-iodelay.dtsi"
10/ {
11	model = "TI DRA722";
12
13	memory@0 {
14		device_type = "memory";
15		reg = <0x0 0x80000000 0x0 0x40000000>; /* 1024 MB */
16	};
17
18	evm_1v8_sw: fixedregulator-evm_1v8 {
19		compatible = "regulator-fixed";
20		regulator-name = "evm_1v8";
21		regulator-min-microvolt = <1800000>;
22		regulator-max-microvolt = <1800000>;
23		vin-supply = <&smps4_reg>;
24		regulator-always-on;
25		regulator-boot-on;
26	};
27};
28
29&i2c1 {
30	tps65917: tps65917@58 {
31		reg = <0x58>;
32
33		interrupts = <GIC_SPI 2 IRQ_TYPE_NONE>;  /* IRQ_SYS_1N */
34	};
35};
36
37#include "dra72-evm-tps65917.dtsi"
38
39&hdmi {
40	vdda-supply = <&ldo3_reg>;
41};
42
43&pcf_gpio_21 {
44	interrupt-parent = <&gpio6>;
45	interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
46};
47
48&mac {
49	slaves = <1>;
50	mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_HIGH>;
51};
52
53&cpsw_emac0 {
54	phy_id = <&davinci_mdio>, <3>;
55	phy-mode = "rgmii";
56};
57
58&mmc1 {
59	pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
60	pinctrl-0 = <&mmc1_pins_default>;
61	pinctrl-1 = <&mmc1_pins_hs>;
62	pinctrl-2 = <&mmc1_pins_sdr12>;
63	pinctrl-3 = <&mmc1_pins_sdr25>;
64	pinctrl-4 = <&mmc1_pins_sdr50>;
65	pinctrl-5 = <&mmc1_pins_ddr50_rev10>;
66	pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev10_conf>;
67	vqmmc-supply = <&ldo1_reg>;
68};
69
70&mmc2 {
71	pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v";
72	pinctrl-0 = <&mmc2_pins_default>;
73	pinctrl-1 = <&mmc2_pins_hs>;
74	pinctrl-2 = <&mmc2_pins_ddr_rev10>;
75	pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev10_conf>;
76	vmmc-supply = <&evm_1v8_sw>;
77};
78