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