Files
counter/dtoverlay/counter.dts
2025-05-31 21:27:50 +01:00

25 lines
519 B
Plaintext

/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target = <&gpio>;
__overlay__ {
gpio_led_blue: gpio_led_blue {
brcm,pins = <26>;
brcm,function = <1>; // output
brcm,pull = <0>; // no pull
};
gpio_led_red: gpio_led_red {
brcm,pins = <21>;
brcm,function = <1>; // output
brcm,pull = <0>; // no pull
};
};
};
};