DIR-825B1 iicbus thing

Luiz Otavio O Souza lists.br at gmail.com
Fri Sep 6 19:26:49 UTC 2013


On 6 September 2013 16:21, Luiz Otavio O Souza <lists.br at gmail.com> wrote:

> Sean,
>
> I've looked at your changes and found this:
>
> +# GPIO I2C bus
> +hint.gpioiic.0.at="gpiobus0"
> +hint.gpioiic.0.pins=0x00a0
>
>
Humm and 0x00a0 also seems wrong for DIR825:

+# Pin 5  - WPS (LED blue)     --> works
+# Pin 6  - RTL8366RB switch data line
+# Pin 7  - Planet (LED orange)--> works
+# Pin 8  - RTL8366RB switch clock line

 If i'm not mistaken the correct mask is 0x140 (for pin 6 and pin 8) and
then set the correct pin index for sda and scl.

Luiz


More information about the freebsd-embedded mailing list