Semi-working device tree
Thanks to Faryaab