Update getdevicetree.py