Ubiquiti EdgeRouter Lite works multi-user with -CURRENT.

Juli Mallett jmallett at FreeBSD.org
Fri May 17 17:53:09 UTC 2013


On Fri, May 17, 2013 at 10:45 AM, Joe Holden <lists at rewt.org.uk> wrote:
> 16 possible pins on the controller?  There is only one pin on the board, and
> that is the F/D button on the back.

Octeon supports up to 16 GPIO pins and interrupts.  I'd suspect there
are other things connected up with GPIO on-board than GPIO pins
exposed to the outside world, but even if that's not the case, that's
still the number of GPIO pins the SoC supports.

It's possible that the EdgeRouter Lite uses a different pin for its
F/D button.  According to the driver, gonzo used the CAM-0100's pin
assignment as the default.  It should be easy to extract a list of pin
assignments we care about from looking at the patches from Ubiquiti to
the Simple Executive and Linux, but I haven't looked personally.  (I
don't ever use GPIO on Octeon.)

The octeon_gpio_pins array probably needs to be configured at boot
based on board type.  (So it should normally be 16 items (or 16 plus a
terminator) and get filled out by board type, I'd say.)

Thanks,
Juli.


More information about the freebsd-mips mailing list