diff options
Diffstat (limited to 'mtcdt/leds-0.0.dtso')
-rw-r--r-- | mtcdt/leds-0.0.dtso | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/mtcdt/leds-0.0.dtso b/mtcdt/leds-0.0.dtso new file mode 100644 index 0000000..57885a9 --- /dev/null +++ b/mtcdt/leds-0.0.dtso @@ -0,0 +1,49 @@ +/* + * DTS file for Multi-Tech Systems MTCDT 0.0 Hardware + * + * Copyright (C) 2021 by Multi-Tech Systems, + * + * Licensed under GPLv2 or later. + */ + +/* + * Location(s): + * Put: MTCDT/0.0/leds.dtbo + */ + +#include <dt-bindings/dma/at91.h> +#include <dt-bindings/pinctrl/at91.h> +#include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/clock/at91.h> +#include <dt-bindings/gpio/mt-at91.h> // Explicit PHandles + +/dts-v1/; + +/ { + model = "Multi-Tech Systems MTCDT-0.0"; + compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; + fragment@0 { + target-path = "/leds"; + __overlay__ { + status = "okay"; + led-a { + label = "led-a"; // LED5 + gpios = <GPIO0_PH 25 GPIO_ACTIVE_LOW>; + }; + led-b { + label = "led-b"; // LED1 + gpios = <GPIO0_PH 26 GPIO_ACTIVE_LOW>; + }; + led-c { + label = "led-c"; // LED4 + gpios = <GPIO0_PH 27 GPIO_ACTIVE_LOW>; + }; + led-d { + label = "led-d"; //LED3 + gpios = <GPIO0_PH 28 GPIO_ACTIVE_LOW>; + }; + + }; + }; /* fragment@0 */ +}; |