diff options
| -rw-r--r-- | arch/arm/boot/dts/omap3-h1-ev1.dts | 52 | 
1 files changed, 36 insertions, 16 deletions
| diff --git a/arch/arm/boot/dts/omap3-h1-ev1.dts b/arch/arm/boot/dts/omap3-h1-ev1.dts index 980c510d559..fc8a507b855 100644 --- a/arch/arm/boot/dts/omap3-h1-ev1.dts +++ b/arch/arm/boot/dts/omap3-h1-ev1.dts @@ -1,7 +1,7 @@  /*   * Copyright (C) 2014 Olio Devices, Inc.   * Authors: Evan Wilson <evan@oliodevices.com> - *			Mattis Fjallstrom <mattis@oliodevices.com> + *	    Mattis Fjallstrom <mattis@oliodevices.com>   *   * Modified from omap3-beagle-xm.dts   * @@ -12,26 +12,46 @@  /dts-v1/;  /include/ "omap36xx.dtsi" -  / {  	model = "Olio OMAP3 H1 Board";  	compatible = "olio,omap3-h1", "ti,omap3"; -	cpus { -		cpu@0 { -			cpu0-supply = <&dummy>; -		}; -	}; -	 -	memory { -		device_type = "memory"; -		reg = <0x80000000 0x20000000>; /* 512 MB */ +	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>;  	}; -	 -	dummy: fixedregulator@0 { -		compatible = "regulator-fixed"; -		regulator-name = "dummy"; -		regulator-boot-on; + +    /* 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>; + +}; |