/* * Copyright (C) 2014 Olio Devices, Inc. * Authors: Evan Wilson * Mattis Fjallstrom * * 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>; };