History log of /src/sys/dev/fdt/usbnode.c
Revision Date Author Comments
# 1.3 17-Jan-2026 skrll

fdt: add basic usb nodes support.

The Odriod-C1 has an internal USB node with a reset GPIO. The USB node
support here detects the usb node (in this case a device) and {,de-}asserts
the GPIO pin.

The Linux device tree specification for this is less than ideal.

Done correctly with the "fdt" interface attribute on the dwctwo_fdt
attachment now that this is supported in the config(5) system.

With a big thankyou to Jason.


# 1.2 15-Jan-2026 skrll

Revert previous


# 1.1 14-Jan-2026 skrll

fdt: add basic usb nodes support.

The Odriod-C1 has an internal USB node with a reset GPIO. The USB node
support here detects the usb node (in this case a device) and {,de-}asserts
the GPIO pin.

The Linux device tree specification for this is less than ideal.

To quote Jason

The "fdt" interface attribute should really go on the dwctwo_fdt
attachment, but that doesn't work in the config(5) system; interface
attributes can only go onto devices.