> Date: Fri, 7 Jul 2023 15:30:37 +0200
> From: "Peter J. Philipp" <p...@delphinusdns.org>
> 
> I'm looking into considering adding pins for the mango pi SBC (riscv64) and
> noticed this little file that has no license:
> 
> ------->
> riscv64# head /sys/dev/fdt/sxipio_pins.h
> /* Public Domain */
> 
> 
> const struct sxipio_pin sun4i_a10_pins[] = {
>         { SXIPIO_PIN(A, 0), {
>                 { "gpio_in", 0 },
>                 { "gpio_out", 1 },
>                 { "emac", 2 },
>                 { "spi1", 3 },
>                 { "uart2", 4 },
> <-------
> 
> Where does this file come from?  how is it generated?

https://github.com/kettenis/sxipins

> If anyone also knows the pins for the mango pi D1 in form of
> documentation anywhere (perhaps you're working on it or not) and
> wants to share I'd be grateful.

The docs for the allwinner SoCs tends to be publically available and
contain the information about the pins.

Reply via email to