Skip to content

Device Tree: Adding Alias for GPIO Controller Node causes DTC Warning #89268

Answered by ldomaigne
Jannik-M91 asked this question in Q&A
Discussion options

You must be logged in to vote

Properties xxx-gpio and xxx-gpios have a special meaning ( ie. defines GPIOs ). Consider renaming your property my-gpio to mygpio (without dash) for instance, and see if that helps:

aliases {
	mygpio = &gpio0;
};

You need to change your code accordingly when accessing the alias.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Jannik-M91
Comment options

@ldomaigne
Comment options

Answer selected by Jannik-M91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants