From owner-freebsd-embedded@FreeBSD.ORG Thu May 22 04:32:09 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3985B28; Thu, 22 May 2014 04:32:08 +0000 (UTC) Received: from felyko.com (felyko.com [IPv6:2001:470:1:2d5:26:3:1337:ca7]) by mx1.freebsd.org (Postfix) with ESMTP id D4FA9230A; Thu, 22 May 2014 04:32:08 +0000 (UTC) Received: from [IPv6:2601:9:8280:426:4442:e054:8003:6e68] (unknown [IPv6:2601:9:8280:426:4442:e054:8003:6e68]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by felyko.com (Postfix) with ESMTPSA id 236B634A9E7; Wed, 21 May 2014 21:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=felyko.com; s=mail; t=1400733128; bh=YJ1XMiIGqTOjnwDslVUZWOPkSzMfRZaIgYOrIOFT2XU=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=dkVYSHsajD7kAJnZlYdxUlgJtb12Ph8CvnQl96xxhbI68jYbFQci6cloXrtTjD0Yc pa53ZjwVFECRipSw/dCcqQg6QUtFGTIO/yAHa+p1wvdUb8WiZTen7g3k7mnn6cF/H+ YtBx1n71yH5oSBAkZ0eZEWppzWdxx1HG5Xsg4Yfw= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: BeagleBone-black GPIO pins use on FreeBSD From: Rui Paulo In-Reply-To: Date: Wed, 21 May 2014 21:32:05 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <5C8FC523-0FB1-4C84-8276-D297373874BB@felyko.com> References: To: Luiz Otavio O Souza X-Mailer: Apple Mail (2.1878.2) Cc: freebsd-arm@freebsd.org, "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 04:32:09 -0000 On May 21, 2014, at 20:45, Luiz Otavio O Souza = wrote: > Hi, >=20 > I've updated the BeagleBone-black Wiki page > (https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack) with the > default settings for the GPIO expansion headers on FreeBSD. >=20 > It has all the pins used for ADC (AIN), I2C, PWMs and MMC1. >=20 > Please let me know if i have missed something. >=20 > I hope this saves some time for people who is going to work with GPIO. This is good, but I always wished some information was present on dmesg. = This could be added to the FDT and printed automatically, e.g.: i2c1 {=20 location =3D "SDA header P9 pin 18, SCL header P9 pin 17"; }; That would print: ti_i2c1: SDA header P9 pin 18, SCL header P9 pin 17 If we don't want to put this in the kernel, we could at least put it in = a man page. However, a lot of embedded systems don't even have man = pages... -- Rui Paulo