1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * See craneboard.org for more details
4 *
5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
6 */
7/dts-v1/;
8
9#include "am3517.dtsi"
10
11/ {
12	model = "TI AM3517 CraneBoard (TMDSEVM3517)";
13	compatible = "ti,am3517-craneboard", "ti,am3517", "ti,omap3";
14
15	memory@80000000 {
16		device_type = "memory";
17		reg = <0x80000000 0x10000000>;	/* 256 MB */
18	};
19
20	vbat: fixedregulator {
21		compatible = "regulator-fixed";
22		regulator-name = "vbat";
23		regulator-min-microvolt = <5000000>;
24		regulator-max-microvolt = <5000000>;
25		regulator-boot-on;
26	};
27};
28
29&davinci_emac {
30	status = "okay";
31};
32
33&davinci_mdio {
34	status = "okay";
35};
36
37&i2c1 {
38	clock-frequency = <2600000>;
39
40	tps: tps@2d {
41		reg = <0x2d>;
42	};
43};
44
45&i2c2 {
46	clock-frequency = <400000>;
47	/* goes to expansion connector */
48	status = "disabled";
49};
50
51&i2c3 {
52	clock-frequency = <400000>;
53	/* goes to expansion connector */
54	status = "disabled";
55};
56
57&mmc1 {
58	vmmc-supply = <&vdd2_reg>;
59	bus-width = <8>;
60};
61
62&mmc2 {
63	/* goes to expansion connector */
64	status = "disabled";
65};
66
67&mmc3 {
68	/* goes to expansion connector */
69	status = "disabled";
70};
71
72#include "../../tps65910.dtsi"
73
74&omap3_pmx_core {
75	tps_pins: tps-pins {
76		pinctrl-single,pins = <
77			OMAP3_CORE1_IOPAD(0x21e0, PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq.sys_nirq */
78		>;
79	};
80};
81
82&tps {
83	pinctrl-names = "default";
84	pinctrl-0 = <&tps_pins>;
85
86	interrupts = <7>; /* SYS_NIRQ cascaded to intc */
87	interrupt-parent = <&intc>;
88
89	ti,en-ck32k-xtal;
90
91	vcc1-supply = <&vbat>;
92	vcc2-supply = <&vbat>;
93	vcc3-supply = <&vbat>;
94	vcc4-supply = <&vbat>;
95	vcc5-supply = <&vbat>;
96	vcc6-supply = <&vbat>;
97	vcc7-supply = <&vbat>;
98	vccio-supply = <&vbat>;
99
100	regulators {
101		vrtc_reg: regulator@0 {
102			regulator-always-on;
103		};
104
105		vio_reg: regulator@1 {
106			regulator-always-on;
107		};
108
109		/*
110		 * Unused:
111		 * VDIG1=2.7V,300mA max
112		 * VDIG2=1.8V,300mA max
113		 */
114
115		vpll_reg: regulator@7 {
116			/* VDDS_DPLL_1V8 */
117			regulator-min-microvolt = <1800000>;
118			regulator-max-microvolt = <1800000>;
119			regulator-always-on;
120		};
121
122		vaux1_reg: regulator@9 {
123			/* VDDS_SRAM_1V8 */
124			regulator-min-microvolt = <1800000>;
125			regulator-max-microvolt = <1800000>;
126			regulator-always-on;
127		};
128
129		vaux2_reg: regulator@10 {
130			/* VDDA1P8V_USBPHY */
131			regulator-min-microvolt = <1800000>;
132			regulator-max-microvolt = <1800000>;
133			regulator-always-on;
134		};
135
136		/* VAUX33 unused */
137
138		vdac_reg: regulator@8 {
139			/* VDDA_DAC_1V8 */
140			regulator-min-microvolt = <1800000>;
141			regulator-max-microvolt = <1800000>;
142			regulator-always-on;
143		};
144
145		vmmc_reg: regulator@12 {
146			/* VDDA3P3V_USBPHY */
147			regulator-min-microvolt = <3300000>;
148			regulator-max-microvolt = <3300000>;
149			regulator-always-on;
150		};
151
152		vdd1_reg: regulator@2 {
153			/* VDD_CORE */
154			regulator-name = "vdd_core";
155			regulator-min-microvolt = <1200000>;
156			regulator-max-microvolt = <1200000>;
157			regulator-boot-on;
158			regulator-always-on;
159		};
160
161		vdd2_reg: regulator@3 {
162			/* VDDSHV_3V3 */
163			regulator-name = "vdd_shv";
164			regulator-min-microvolt = <3300000>;
165			regulator-max-microvolt = <3300000>;
166			regulator-always-on;
167		};
168
169		/* VDD3 unused */
170	};
171};
172