build/patch/kernel/archive/meson64-6.5/overlay/meson-g12a-radxa-zero-gpio-10-led.dts

27 lines
441 B
Plaintext

/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/meson-g12a-gpio.h>
/ {
compatible = "radxa,zero", "amlogic,g12a";
fragment@0 {
target-path = "/";
__overlay__ {
leds {
compatible = "gpio-leds";
led-green {
label = "radxa-zero:green";
gpios = <&gpio_ao GPIOAO_10 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "on";
};
};
};
};
};