Date: Tue, 14 May 2013 12:20:08 -0600 From: Tom Everett <tom@khubla.com> To: Aleksandr Rybalko <ray@freebsd.org> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: RS-232 driver for GPIO Message-ID: <CAB3ij4DLEBe_R1ydVJ0T-V0-ufizMHERNnPuzO_DY8iOE=1kSQ@mail.gmail.com> In-Reply-To: <20130514192448.7b48e095.ray@freebsd.org> References: <CAB3ij4AzL8B6nS1kFa%2BgjmAVEOE8qO7UwPv_vBzRPn1sUNYuDQ@mail.gmail.com> <CAJ-Vmo=ZzAOyy9hWzMDw7bt9=nxsEzyAJnScgL-3NFfzcf7RXA@mail.gmail.com> <20130514192448.7b48e095.ray@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
ok so the FDT definition would have to be added here? http://svnweb.freebsd.org/base/head/sys/boot/fdt/dts/bcm2835-rpi-b.dts?view=markup On Tue, May 14, 2013 at 10:24 AM, Aleksandr Rybalko <ray@freebsd.org> wrote: > On Tue, 14 May 2013 09:06:44 -0700 > Adrian Chadd <adrian@freebsd.org> wrote: > > > ... the r-pi actually has an RS232 port exposed via GPIO. It's only > > 3.3v but it's there. > > > > Someone just needs to write up an SIO driver for it and then put the > > GPIO pins in question into RS232 "mode". > > we have it already :) (console works on uart) > only FDT definition is required. > And maybe some fixes for boudrate setting and/or format setup > (bits/parity/stop bits/etc) > > > > > Yay multi-function GPIO pins! > > > > > > > > adrian > > > > > > On 14 May 2013 08:58, Tom Everett <tom@khubla.com> wrote: > > > Good morning ARM mailing list. > > > > > > I've been running FreeBSD on my Pi, and I've now got two XBee Pros > > > which I hope to connect. XBee's communicate over RS-232. > > > > > > https://www.sparkfun.com/products/8742 > > > > > > I see from the source tree that it was possible to attach the iic > > > driver to GPIO pins in software: > > > > > > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > > > > > > I'm wondering, it is possible to connect the FreeBSD serial driver > > > for RS-2332 to GPIO in a similar way to how iic was connected? > > > > > > > > > > > > -- > > > A better world shall emerge based on faith and understanding - > > > Douglas MacArthur > > > _______________________________________________ > > > freebsd-arm@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > To unsubscribe, send any mail to > > > "freebsd-arm-unsubscribe@freebsd.org" > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > > -- > Aleksandr Rybalko <ray@freebsd.org> > -- A better world shall emerge based on faith and understanding - Douglas MacArthur
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB3ij4DLEBe_R1ydVJ0T-V0-ufizMHERNnPuzO_DY8iOE=1kSQ>