huangliang 4b7a0684d9 first debug version 5 months ago
..
test 4b7a0684d9 first debug version 5 months ago
.gitignore 4b7a0684d9 first debug version 5 months ago
README.rst 4b7a0684d9 first debug version 5 months ago
__init__.py 4b7a0684d9 first debug version 5 months ago
dtb_platdata.py 4b7a0684d9 first debug version 5 months ago
dtoc 4b7a0684d9 first debug version 5 months ago
fdt.py 4b7a0684d9 first debug version 5 months ago
fdt_util.py 4b7a0684d9 first debug version 5 months ago
main.py 4b7a0684d9 first debug version 5 months ago
pyproject.toml 4b7a0684d9 first debug version 5 months ago
setup.py 4b7a0684d9 first debug version 5 months ago
src_scan.py 4b7a0684d9 first debug version 5 months ago
test_dtoc.py 4b7a0684d9 first debug version 5 months ago
test_fdt 4b7a0684d9 first debug version 5 months ago
test_fdt.py 4b7a0684d9 first debug version 5 months ago
test_src_scan.py 4b7a0684d9 first debug version 5 months ago

README.rst

.. SPDX-License-Identifier: GPL-2.0+

Devicetree-to-C generator
=========================

This is a Python program and associated utilities, which supports converting
devicetree files into C code. It generates header files containing struct
definitions, as well as C files containing the data. It does not require any
modification of the devicetree files.

Some high-level libraries are provided for working with devicetree. These may
be useful in other projects.

This package also includes some U-Boot-specific features, such as creating
`struct udevice` and `struct uclass` entries for devicetree nodes.