FDT Support for GPIO (gpiobus and friends)

Warner Losh imp at bsdimp.com
Tue Dec 4 20:27:58 UTC 2012


Does this implement the standard DTS info for these things? Linux has extensive support for all things GPIO that tends to be reflected in the FDT standards...  I'm interested in getting support for pinctl and pinmux, for example...

Regardless, this is cool!

Warner

On Dec 4, 2012, at 12:19 PM, Luiz Otavio O Souza wrote:

> Hi,
> 
> I've been playing with GPIO on RPi and found the missing support of FDT on gpiobus very annoying.
> 
> The following patch (gpio-fdt.diff) adds FDT support to GPIO (gpiobus, gpioc, gpioled).
> 
> The bcm2835_gpio.c.fdt.diff will add (a better) support of FDT on RPi GPIO controller and the bcm2835.dts.diff has my changes on the RPi dts for adding support of gpioled on 'ok' led (pin 16).
> 
> Comments ?
> 
> Thanks,
> Luiz
> 
> <gpio-fdt.diff><bcm2835_gpio.c.fdt.diff><bcm2835.dts.diff>_______________________________________________
> freebsd-arch at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"



More information about the freebsd-arch mailing list