Simon Glass bbbf04cc7d Revert "binman: Add a temporary hack for duplicate phandles" 9 months ago
..
test 7155646b22 dtoc: Make properties dirty when purging them 10 months ago
.gitignore ec564b47da dm: Add a library to provide simple device-tree access 8 years ago
README.rst 77b3ccb89a dtoc: Add support for building a dtoc PyPi package 1 year ago
__init__.py c761cf778f tools: Add init files for Python tools 2 years ago
dtb_platdata.py 0a06d71061 dm: doc: Move to new driver model schema 1 year ago
dtoc 4d25fe2d95 dtoc: Rename the main module 4 years ago
fdt.py bbbf04cc7d Revert "binman: Add a temporary hack for duplicate phandles" 9 months ago
fdt_util.py 4583c00236 patman: Move library functions into a library directory 1 year ago
main.py b3f5474077 dtoc: Move the main code into a function 1 year ago
pyproject.toml 77b3ccb89a dtoc: Add support for building a dtoc PyPi package 1 year ago
setup.py 946ec85037 dtoc: Add a setup script for Python 3 years ago
src_scan.py 43ba492670 dtoc: Detect drivers which do not parse correctly 2 years ago
test_dtoc.py 1688d6ca0e dtoc: Use pathlib to find the test directory 1 year ago
test_fdt 2ba9875312 dtoc: Add some tests for the fdt module 5 years ago
test_fdt.py 589c2d9e51 fdt: Allow copying phandles into templates 10 months ago
test_src_scan.py 4583c00236 patman: Move library functions into a library directory 1 year 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.