xref: /linux/arch/arm/boot/dts/ti/omap/omap3-evm-37xx.dts (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
4 */
5/dts-v1/;
6
7#include "omap36xx.dtsi"
8#include "omap3-evm-common.dtsi"
9#include "omap3-evm-processor-common.dtsi"
10
11/ {
12	model = "TI OMAP37XX EVM (TMDSEVM3730)";
13	compatible = "ti,omap3-evm-37xx", "ti,omap3630", "ti,omap3";
14};
15
16&omap3_pmx_core2 {
17	pinctrl-names = "default";
18	pinctrl-0 = <&hsusb2_2_pins>;
19
20	ehci_phy_pins: ehci-phy-pins {
21		pinctrl-single,pins = <
22
23		/* EHCI PHY reset GPIO etk_d7.gpio_21 */
24		OMAP3630_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4)
25
26		/* EHCI VBUS etk_d8.gpio_22 */
27		OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4)
28		>;
29	};
30
31	/* Used by OHCI and EHCI. OHCI won't work without external phy */
32	hsusb2_2_pins: hsusb2-2-pins {
33		pinctrl-single,pins = <
34
35		/* etk_d10.hsusb2_clk */
36		OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3)
37
38		/* etk_d11.hsusb2_stp */
39		OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3)
40
41		/* etk_d12.hsusb2_dir */
42		OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3)
43
44		/* etk_d13.hsusb2_nxt */
45		OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3)
46
47		/* etk_d14.hsusb2_data0 */
48		OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3)
49
50		/* etk_d15.hsusb2_data1 */
51		OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3)
52		>;
53	};
54};
55
56&gpmc {
57	nand@0,0 {
58		compatible = "ti,omap2-nand";
59		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
60		interrupt-parent = <&gpmc>;
61		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
62			     <1 IRQ_TYPE_NONE>;	/* termcount */
63		nand-bus-width = <16>;
64		gpmc,device-width = <2>;
65		ti,nand-ecc-opt = "bch8";
66
67		gpmc,sync-clk-ps = <0>;
68		gpmc,cs-on-ns = <0>;
69		gpmc,cs-rd-off-ns = <44>;
70		gpmc,cs-wr-off-ns = <44>;
71		gpmc,adv-on-ns = <6>;
72		gpmc,adv-rd-off-ns = <34>;
73		gpmc,adv-wr-off-ns = <44>;
74		gpmc,we-off-ns = <40>;
75		gpmc,oe-off-ns = <54>;
76		gpmc,access-ns = <64>;
77		gpmc,rd-cycle-ns = <82>;
78		gpmc,wr-cycle-ns = <82>;
79		gpmc,wr-access-ns = <40>;
80		gpmc,wr-data-mux-bus-ns = <0>;
81
82		#address-cells = <1>;
83		#size-cells = <1>;
84
85		partition@0 {
86			label = "X-Loader";
87			reg = <0 0x80000>;
88		};
89		partition@80000 {
90			label = "U-Boot";
91			reg = <0x80000 0x1c0000>;
92		};
93		partition@1c0000 {
94			label = "Environment";
95			reg = <0x240000 0x40000>;
96		};
97		partition@280000 {
98			label = "Kernel";
99			reg = <0x280000 0x500000>;
100		};
101		partition@780000 {
102			label = "Filesystem";
103			reg = <0x780000 0x1f880000>;
104		};
105	};
106};
107