xref: /freebsd/sys/contrib/device-tree/src/arm/ti/omap/dra72-evm.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot#include "dra72-evm-common.dtsi"
6*f126890aSEmmanuel Vadot#include "dra72x-mmc-iodelay.dtsi"
7*f126890aSEmmanuel Vadot/ {
8*f126890aSEmmanuel Vadot	model = "TI DRA722";
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot	memory@0 {
11*f126890aSEmmanuel Vadot		device_type = "memory";
12*f126890aSEmmanuel Vadot		reg = <0x0 0x80000000 0x0 0x40000000>; /* 1024 MB */
13*f126890aSEmmanuel Vadot	};
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	reserved-memory {
16*f126890aSEmmanuel Vadot		#address-cells = <2>;
17*f126890aSEmmanuel Vadot		#size-cells = <2>;
18*f126890aSEmmanuel Vadot		ranges;
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot		ipu2_memory_region: ipu2-memory@95800000 {
21*f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
22*f126890aSEmmanuel Vadot			reg = <0x0 0x95800000 0x0 0x3800000>;
23*f126890aSEmmanuel Vadot			reusable;
24*f126890aSEmmanuel Vadot			status = "okay";
25*f126890aSEmmanuel Vadot		};
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot		dsp1_memory_region: dsp1-memory@99000000 {
28*f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
29*f126890aSEmmanuel Vadot			reg = <0x0 0x99000000 0x0 0x4000000>;
30*f126890aSEmmanuel Vadot			reusable;
31*f126890aSEmmanuel Vadot			status = "okay";
32*f126890aSEmmanuel Vadot		};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot		ipu1_memory_region: ipu1-memory@9d000000 {
35*f126890aSEmmanuel Vadot			compatible = "shared-dma-pool";
36*f126890aSEmmanuel Vadot			reg = <0x0 0x9d000000 0x0 0x2000000>;
37*f126890aSEmmanuel Vadot			reusable;
38*f126890aSEmmanuel Vadot			status = "okay";
39*f126890aSEmmanuel Vadot		};
40*f126890aSEmmanuel Vadot	};
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot	evm_1v8_sw: fixedregulator-evm_1v8 {
43*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
44*f126890aSEmmanuel Vadot		regulator-name = "evm_1v8";
45*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
46*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
47*f126890aSEmmanuel Vadot		vin-supply = <&smps4_reg>;
48*f126890aSEmmanuel Vadot		regulator-always-on;
49*f126890aSEmmanuel Vadot		regulator-boot-on;
50*f126890aSEmmanuel Vadot	};
51*f126890aSEmmanuel Vadot};
52*f126890aSEmmanuel Vadot
53*f126890aSEmmanuel Vadot&i2c1 {
54*f126890aSEmmanuel Vadot	tps65917: tps65917@58 {
55*f126890aSEmmanuel Vadot		reg = <0x58>;
56*f126890aSEmmanuel Vadot
57*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 2 IRQ_TYPE_NONE>;  /* IRQ_SYS_1N */
58*f126890aSEmmanuel Vadot	};
59*f126890aSEmmanuel Vadot};
60*f126890aSEmmanuel Vadot
61*f126890aSEmmanuel Vadot#include "dra72-evm-tps65917.dtsi"
62*f126890aSEmmanuel Vadot
63*f126890aSEmmanuel Vadot&hdmi {
64*f126890aSEmmanuel Vadot	vdda-supply = <&ldo3_reg>;
65*f126890aSEmmanuel Vadot};
66*f126890aSEmmanuel Vadot
67*f126890aSEmmanuel Vadot&pcf_gpio_21 {
68*f126890aSEmmanuel Vadot	interrupt-parent = <&gpio6>;
69*f126890aSEmmanuel Vadot	interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
70*f126890aSEmmanuel Vadot};
71*f126890aSEmmanuel Vadot
72*f126890aSEmmanuel Vadot&mac_sw {
73*f126890aSEmmanuel Vadot	mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_HIGH>;
74*f126890aSEmmanuel Vadot	status = "okay";
75*f126890aSEmmanuel Vadot};
76*f126890aSEmmanuel Vadot
77*f126890aSEmmanuel Vadot&cpsw_port1 {
78*f126890aSEmmanuel Vadot	phy-handle = <&ethphy0>;
79*f126890aSEmmanuel Vadot	phy-mode = "rgmii";
80*f126890aSEmmanuel Vadot	ti,dual-emac-pvid = <1>;
81*f126890aSEmmanuel Vadot};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot&cpsw_port2 {
84*f126890aSEmmanuel Vadot	status = "disabled";
85*f126890aSEmmanuel Vadot};
86*f126890aSEmmanuel Vadot
87*f126890aSEmmanuel Vadot&davinci_mdio_sw {
88*f126890aSEmmanuel Vadot	ethphy0: ethernet-phy@3 {
89*f126890aSEmmanuel Vadot		reg = <3>;
90*f126890aSEmmanuel Vadot	};
91*f126890aSEmmanuel Vadot};
92*f126890aSEmmanuel Vadot
93*f126890aSEmmanuel Vadot&mmc1 {
94*f126890aSEmmanuel Vadot	pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
95*f126890aSEmmanuel Vadot	pinctrl-0 = <&mmc1_pins_default>;
96*f126890aSEmmanuel Vadot	pinctrl-1 = <&mmc1_pins_hs>;
97*f126890aSEmmanuel Vadot	pinctrl-2 = <&mmc1_pins_sdr12>;
98*f126890aSEmmanuel Vadot	pinctrl-3 = <&mmc1_pins_sdr25>;
99*f126890aSEmmanuel Vadot	pinctrl-4 = <&mmc1_pins_sdr50>;
100*f126890aSEmmanuel Vadot	pinctrl-5 = <&mmc1_pins_ddr50_rev10>;
101*f126890aSEmmanuel Vadot	pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev10_conf>;
102*f126890aSEmmanuel Vadot	vqmmc-supply = <&ldo1_reg>;
103*f126890aSEmmanuel Vadot};
104*f126890aSEmmanuel Vadot
105*f126890aSEmmanuel Vadot&mmc2 {
106*f126890aSEmmanuel Vadot	pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v";
107*f126890aSEmmanuel Vadot	pinctrl-0 = <&mmc2_pins_default>;
108*f126890aSEmmanuel Vadot	pinctrl-1 = <&mmc2_pins_hs>;
109*f126890aSEmmanuel Vadot	pinctrl-2 = <&mmc2_pins_ddr_rev10>;
110*f126890aSEmmanuel Vadot	pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev10_conf>;
111*f126890aSEmmanuel Vadot	vmmc-supply = <&evm_1v8_sw>;
112*f126890aSEmmanuel Vadot};
113*f126890aSEmmanuel Vadot
114*f126890aSEmmanuel Vadot&ipu2 {
115*f126890aSEmmanuel Vadot	status = "okay";
116*f126890aSEmmanuel Vadot	memory-region = <&ipu2_memory_region>;
117*f126890aSEmmanuel Vadot};
118*f126890aSEmmanuel Vadot
119*f126890aSEmmanuel Vadot&ipu1 {
120*f126890aSEmmanuel Vadot	status = "okay";
121*f126890aSEmmanuel Vadot	memory-region = <&ipu1_memory_region>;
122*f126890aSEmmanuel Vadot};
123*f126890aSEmmanuel Vadot
124*f126890aSEmmanuel Vadot&dsp1 {
125*f126890aSEmmanuel Vadot	status = "okay";
126*f126890aSEmmanuel Vadot	memory-region = <&dsp1_memory_region>;
127*f126890aSEmmanuel Vadot};
128