Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2016 14:12:07 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        "Ronald Klop" <ronald-lists@klop.ws>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: gpio device not available
Message-ID:  <20160211141207.3777d527a270bc9902301a39@bidouilliste.com>
In-Reply-To: <op.ycn54qu6kndu52@ronaldradial.radialsg.local>
References:  <op.ycn4qq1kkndu52@ronaldradial.radialsg.local> <56BC7F1D.5040809@selasky.org> <op.ycn54qu6kndu52@ronaldradial.radialsg.local>

next in thread | previous in thread | raw e-mail | index | archive | help

 The gpio controller doesn't seems to attach to the gpiobus so there is nothing you can do from userland.

On Thu, 11 Feb 2016 13:54:16 +0100
"Ronald Klop" <ronald-lists@klop.ws> wrote:

> On Thu, 11 Feb 2016 13:31:25 +0100, Hans Petter Selasky <hps@selasky.org>  
> wrote:
> 
> > On 02/11/16 13:24, Ronald Klop wrote:
> >> Hello,
> >>
> >> Running this beast of a machine. :-)
> >> FreeBSD 11.0-CURRENT #15 r294908M: Wed Jan 27 18:46:10 CET 2016
> >>      root@sjakie.klop.ws:/usr/obj-arm/arm.arm/usr/src-arm/sys/SHEEVAPLUG
> >> arm
> >>
> >> I see gpio0 in dmesg:
> >> gpio0: <Marvell Integrated GPIO Controller> mem 0x10100-0x1011f irq
> >> 35,36,37,38,39,40,41 on simplebus0
> >>
> >> But no /dev/gpio* thingy.
> >>
> >> Is it possible to do anything with this gpio on my Sheevaplug?
> >>
> >
> > Hi,
> >
> > kldload gpiobus
> >
> > ???
> >
> > --HPS
> >
> 
> # kldstat -v | grep gpio
>                  13 gpio/ofw_gpiobus
>                  80 simplebus/gpio
>                  12 gpio/gpioc
>                  11 gpio/gpiobus
> 
> Looks like it is embedded in the kernel.
> 
> Regards,
> Ronald.
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"


-- 
Emmanuel Vadot <manu@bidouilliste.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160211141207.3777d527a270bc9902301a39>