I want to define an i/o generically in the overlay file, so I did the following:
I want to define an i/o generically in the overlay file, so I did the following:
Hi,
I have tried various combinations as listed below but I am unable to get a binding in any of the overlay definitions. I have also included the binding code... in case I am doing something wrong there.
// &gpio1{
//********************* Code **********************
Hi,
I have tried various combinations as listed below but I am unable to get a binding in any of the overlay definitions. I have also included the binding code... in case I am doing something wrong there.
// &gpio1{
//********************* Code **********************
I got it to work as follows:
//*********** OVERLAY FILE ***********
Is there a way to do it without using
compatible = "gpio-leds";
Maybe use:
Hi Ali
gpio-leds is the way to go for output pins, I did something similar for a hobby project of mine as you can see here.
Any particular reason you don't want to use gpio-leds?
Best regards
Torbjørn