summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/omap3-h1-ev1.dts
blob: fc8a507b855f7380f76b0b45443df1c6bdb55a01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
 * Copyright (C) 2014 Olio Devices, Inc.
 * Authors: Evan Wilson <evan@oliodevices.com>
 *	    Mattis Fjallstrom <mattis@oliodevices.com>
 *
 * Modified from omap3-beagle-xm.dts
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
/dts-v1/;

/include/ "omap36xx.dtsi"
/ {
	model = "Olio OMAP3 H1 Board";
	compatible = "olio,omap3-h1", "ti,omap3";

	tusb_phy: tusb-usb@0 {
		compatible = "ti,tusb-usb";
		gpios = <&gpio5 14 0x1>;  /* IRQ gpio-142    GPIOF_DIR_OUT|GPIOF_INIT_HIGH */
		gpio-names = "tusb-cs";
		clk_in = "periph_26mhz";  /* external 26MHz clock */
		reg = <0 0>;
	};

    /* Needs to be modified for Olio H1 */

	/* Consider setting up pad-wkup here, like in Minnow */

    
};

/* Lots of pinmux in the board file, as well */

&omap3_pmx_core {
	pinctrl-names = "default";
	pinctrl-0 = <&usb_phy_pins>;

	usb_phy_pins: pinmux_usb_phy_pins {
		pinctrl-single,pins = <
			0x140 0x4104     /* MCBSP3_CLKX, MODE4 (GPIO-142) | INPUT | OFFWAKEUP */
			0x5ae 0x004     /* ETK_D1, MODE4 (GPIO_15) | OUTPUT */
			0x5b0 0x004     /* ETK_D2, MODE4 (GPIO_16) | OUTPUT */
			0x5c6 0x004     /* EDK_D13, MODE4 (GPIO_27) | OUTPUT */
		>;
	};
};


&usb_otg_hs {
	interface-type = <0>;
	usb-phy = <&tusb_phy>;
	mode = <3>;
	power = <50>;

};