Source is available in GitHub:
https://github.com/ltomov/4-port-usb-hub
Schematic is based on Olimex's Olinuxino:
https://github.com/OLIMEX/OLINUXINO/tree/master/HARDWARE/A13-OLinuXino
Works both in self-powered and bus-powered modes.
PCB is tested and working, however it's quite possible that there's a lot of room for improvements. Suggestions are welcome!
Enjoy!
What is the type, size and values of D1 and D2
Or Manufacturer Part Number even better