save
This commit is contained in:
@ -19,6 +19,28 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@1 {
|
||||
target-path = "/";
|
||||
__overlay__ {
|
||||
mygpioleds {
|
||||
compatible = "my,gpio-led-controller";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gpio_led_blue &gpio_led_red>;
|
||||
|
||||
led-blue {
|
||||
gpios = <&gpio 26 0>;
|
||||
label = "led-blue";
|
||||
};
|
||||
|
||||
led-red {
|
||||
gpios = <&gpio 21 0>;
|
||||
label = "led-red";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user