From owner-freebsd-arm@FreeBSD.ORG Wed Dec 31 11:55:39 2014 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5754B231 for ; Wed, 31 Dec 2014 11:55:39 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2554864F72 for ; Wed, 31 Dec 2014 11:55:39 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBVBtdtx038722 for ; Wed, 31 Dec 2014 11:55:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 196398] New: [patch] Add new board - Gumstix Duovero Date: Wed, 31 Dec 2014 11:55:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: scott@jumpnowtek.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2014 11:55:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196398 Bug ID: 196398 Summary: [patch] Add new board - Gumstix Duovero Product: Base System Version: 11.0-CURRENT Hardware: arm OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: scott@jumpnowtek.com I'd like to get the Duovero board accepted into the FreeBSD tree. The Duovero is another OMAP4 board. There is more commonality that can be factored out. This is just a start. The first 3 patches remove the need for USB Host initializtion in pandaboard/pandboard.c and attempt to make it more generic so that at least the Duovero can use it as well. Most of the work the pandaboard.c code does is already handled in other places. 1) Muxing the gpio and clock pins (u-boot, tested with v2014.10) 2) Configuring the pins to use (FDT, pandaboard.dts) 3) Ability to use reset pins from FDT (sys/arm/ti/usb/omap_ehci.c) The two things that aren't handled are 1) A second reset pin for the ethernet hub 2) Enabling the AUX3 clock part of the SCRM module to feed the USB phy The Duovero does not need the second 'reset' pin since it doesn't have the ethernet hub, but it does need the AUX3 clock to enable the USB PHY. I'm using it now with USB wifi dongles. The following patches were tested against r276468 0001 Adds AUX clock support to the OMAP4 PRCM code https://github.com/scottellis/duovero-freebsd/blob/master/patches/0001-omap4-add-aux-clks-to-prcm.patch 0002 Allows either 1 or 2 gpio reset pins for TI ehci reset. 1 reset pin is still okay. That's all the Duovero uses. https://github.com/scottellis/duovero-freebsd/blob/master/patches/0002-ti-ehci-add-support-for-2-gpio-reset-pins.patch 0003 Uses the new AUX clock/reset pins for the PandaBoard. Removes need for pandaboard.c, though this patch does not remove it. https://github.com/scottellis/duovero-freebsd/blob/master/patches/0003-pandaboard-usb-let-ehci-driver-initialize-usb-phy.patch 0004 Adds Duovero support. https://github.com/scottellis/duovero-freebsd/blob/master/patches/0004-add-duovero-support.patch -- You are receiving this mail because: You are the assignee for the bug.