gpioiic FDT overlays for sun8i-h3
Nick Kostirya
nikolay.kostirya at i11.co
Thu Nov 28 13:29:11 UTC 2019
Hello.
I want use gpioiic on Nanopi NEO with PA0 and PA2 pins.
Nanopi NEO will be master.
Help me, please, to write overlay.
I write:
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun8i-h3";
};
&{/soc/} {
gpio: gpio {
gpio-controller;
gpioiic0 {
compatible = "gpioiic";
gpios = <&gpio 00 1 0 &gpio 02 1 0>; /* Attach to GPIO pins 00 and 02. Set them initially as inputs. */
scl = <0>; /* GPIO pin 00 (PA0) */
sda = <1>; /* GPIO pin 02 (PA2) */
};
};
};
But it is not worked.
Tell me, please, where I was wrong.
More information about the freebsd-arm
mailing list