summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-02-26 15:12:18 -0800
committermattis fjallstrom <mattis@acm.org>2015-02-26 15:12:18 -0800
commit21f25ee9f72b0d05b88c1817050364c553f283c2 (patch)
treedde0c040a006e2a4cd20a42a77a71d28194e8e16
parentfa7bb9d0cae32e3c6ad94723e37d00d82d7f790e (diff)
downloadolio-linux-3.10-21f25ee9f72b0d05b88c1817050364c553f283c2.tar.xz
olio-linux-3.10-21f25ee9f72b0d05b88c1817050364c553f283c2.zip
Some more updates to our device tree, should we ever decide to use that instead of a board file
Change-Id: Iccaf43f2142e2fb64b80ead463f846580d369734
-rw-r--r--arch/arm/boot/dts/omap3-h1-ev1.dts52
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>;
+
+};