xref: /openbmc/u-boot/arch/arm/dts/dra72-evm-revc.dts (revision 4ddaa6ce28e6528e00d32bcdfc7905df2dbbbb06)
1e8131386SMugunthan V N/*
2e8131386SMugunthan V N * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
3e8131386SMugunthan V N *
4e8131386SMugunthan V N * This program is free software; you can redistribute it and/or modify
5e8131386SMugunthan V N * it under the terms of the GNU General Public License version 2 as
6e8131386SMugunthan V N * published by the Free Software Foundation.
7e8131386SMugunthan V N */
8e8131386SMugunthan V N#include "dra72-evm-common.dtsi"
9*4ddaa6ceSLokesh Vutla#include "dra72x-mmc-iodelay.dtsi"
10e8131386SMugunthan V N#include <dt-bindings/net/ti-dp83867.h>
11e8131386SMugunthan V N
12e8131386SMugunthan V N/ {
13e8131386SMugunthan V N	model = "TI DRA722 Rev C EVM";
14e8131386SMugunthan V N
157aa1a408SLokesh Vutla	memory@0 {
16e8131386SMugunthan V N		device_type = "memory";
17e8131386SMugunthan V N		reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */
18e8131386SMugunthan V N	};
19*4ddaa6ceSLokesh Vutla
20*4ddaa6ceSLokesh Vutla	evm_1v8_sw: fixedregulator-evm_1v8 {
21*4ddaa6ceSLokesh Vutla		compatible = "regulator-fixed";
22*4ddaa6ceSLokesh Vutla		regulator-name = "evm_1v8";
23*4ddaa6ceSLokesh Vutla		regulator-min-microvolt = <1800000>;
24*4ddaa6ceSLokesh Vutla		regulator-max-microvolt = <1800000>;
25*4ddaa6ceSLokesh Vutla		vin-supply = <&smps4_reg>;
26*4ddaa6ceSLokesh Vutla		regulator-always-on;
27*4ddaa6ceSLokesh Vutla		regulator-boot-on;
28*4ddaa6ceSLokesh Vutla	};
29e8131386SMugunthan V N};
30e8131386SMugunthan V N
317aa1a408SLokesh Vutla&i2c1 {
327aa1a408SLokesh Vutla	tps65917: tps65917@58 {
337aa1a408SLokesh Vutla		reg = <0x58>;
347aa1a408SLokesh Vutla
357aa1a408SLokesh Vutla		interrupts = <GIC_SPI 2 IRQ_TYPE_NONE>;  /* IRQ_SYS_1N */
36e8131386SMugunthan V N	};
37e8131386SMugunthan V N};
38e8131386SMugunthan V N
397aa1a408SLokesh Vutla#include "dra72-evm-tps65917.dtsi"
407aa1a408SLokesh Vutla
417aa1a408SLokesh Vutla&ldo2_reg {
427aa1a408SLokesh Vutla	/* LDO2_OUT --> VDDA_1V8_PHY2 */
437aa1a408SLokesh Vutla	regulator-always-on;
447aa1a408SLokesh Vutla	regulator-boot-on;
457aa1a408SLokesh Vutla};
467aa1a408SLokesh Vutla
47e8131386SMugunthan V N&hdmi {
487aa1a408SLokesh Vutla	vdda-supply = <&ldo2_reg>;
497aa1a408SLokesh Vutla};
507aa1a408SLokesh Vutla
517aa1a408SLokesh Vutla&pcf_gpio_21 {
527aa1a408SLokesh Vutla	interrupt-parent = <&gpio3>;
537aa1a408SLokesh Vutla	interrupts = <30 IRQ_TYPE_EDGE_FALLING>;
54e8131386SMugunthan V N};
55e8131386SMugunthan V N
56e8131386SMugunthan V N&mac {
57e8131386SMugunthan V N	mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_LOW>,
58e8131386SMugunthan V N		     <&pcf_hdmi 9 GPIO_ACTIVE_LOW>,	/* P11 */
59e8131386SMugunthan V N		     <&pcf_hdmi 10 GPIO_ACTIVE_LOW>;	/* P12 */
60e8131386SMugunthan V N	dual_emac;
61e8131386SMugunthan V N};
62e8131386SMugunthan V N
63e8131386SMugunthan V N&cpsw_emac0 {
64*4ddaa6ceSLokesh Vutla	phy_id = <&davinci_mdio>, <2>;
65e8131386SMugunthan V N	phy-mode = "rgmii-id";
66e8131386SMugunthan V N	dual_emac_res_vlan = <1>;
67e8131386SMugunthan V N};
68e8131386SMugunthan V N
69e8131386SMugunthan V N&cpsw_emac1 {
70*4ddaa6ceSLokesh Vutla	phy_id = <&davinci_mdio>, <3>;
71e8131386SMugunthan V N	phy-mode = "rgmii-id";
72e8131386SMugunthan V N	dual_emac_res_vlan = <2>;
73e8131386SMugunthan V N};
74e8131386SMugunthan V N
75e8131386SMugunthan V N&davinci_mdio {
76e8131386SMugunthan V N	dp83867_0: ethernet-phy@2 {
77e8131386SMugunthan V N		reg = <2>;
78e8131386SMugunthan V N		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
79e8131386SMugunthan V N		ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
80e8131386SMugunthan V N		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
8164631700SMugunthan V N		ti,min-output-impedance;
82*4ddaa6ceSLokesh Vutla		interrupt-parent = <&gpio6>;
83*4ddaa6ceSLokesh Vutla		interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
84*4ddaa6ceSLokesh Vutla		ti,dp83867-rxctrl-strap-quirk;
85e8131386SMugunthan V N	};
86e8131386SMugunthan V N
87e8131386SMugunthan V N	dp83867_1: ethernet-phy@3 {
88e8131386SMugunthan V N		reg = <3>;
89e8131386SMugunthan V N		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
90e8131386SMugunthan V N		ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
91e8131386SMugunthan V N		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
9264631700SMugunthan V N		ti,min-output-impedance;
93*4ddaa6ceSLokesh Vutla		interrupt-parent = <&gpio6>;
94*4ddaa6ceSLokesh Vutla		interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
95*4ddaa6ceSLokesh Vutla		ti,dp83867-rxctrl-strap-quirk;
96e8131386SMugunthan V N	};
97e8131386SMugunthan V N};
98*4ddaa6ceSLokesh Vutla
99*4ddaa6ceSLokesh Vutla&mmc1 {
100*4ddaa6ceSLokesh Vutla	pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
101*4ddaa6ceSLokesh Vutla	pinctrl-0 = <&mmc1_pins_default>;
102*4ddaa6ceSLokesh Vutla	pinctrl-1 = <&mmc1_pins_hs>;
103*4ddaa6ceSLokesh Vutla	pinctrl-2 = <&mmc1_pins_sdr12>;
104*4ddaa6ceSLokesh Vutla	pinctrl-3 = <&mmc1_pins_sdr25>;
105*4ddaa6ceSLokesh Vutla	pinctrl-4 = <&mmc1_pins_sdr50>;
106*4ddaa6ceSLokesh Vutla	pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>;
107*4ddaa6ceSLokesh Vutla	pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
108*4ddaa6ceSLokesh Vutla	vqmmc-supply = <&ldo1_reg>;
109*4ddaa6ceSLokesh Vutla};
110*4ddaa6ceSLokesh Vutla
111*4ddaa6ceSLokesh Vutla&mmc2 {
112*4ddaa6ceSLokesh Vutla	pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v";
113*4ddaa6ceSLokesh Vutla	pinctrl-0 = <&mmc2_pins_default>;
114*4ddaa6ceSLokesh Vutla	pinctrl-1 = <&mmc2_pins_hs>;
115*4ddaa6ceSLokesh Vutla	pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
116*4ddaa6ceSLokesh Vutla	pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev20_conf>;
117*4ddaa6ceSLokesh Vutla	vmmc-supply = <&evm_1v8_sw>;
118*4ddaa6ceSLokesh Vutla};
119