diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2022-03-04 09:34:18 -0600 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2022-03-04 09:34:18 -0600 |
commit | 072727f53b19e2383998a33fb0f8adb97f4fe8b9 (patch) | |
tree | 20926dd9be7f4a0d1e7673555220f20aae865b6d /mtcdt/pins-0.2.dtso | |
parent | 84cd4767aef1306d835362c115697602ad82137a (diff) | |
parent | 01121a51ea3cbc92485cdba8f05b714effe6ac9e (diff) | |
download | mt-dt-overlay-072727f53b19e2383998a33fb0f8adb97f4fe8b9.tar.gz mt-dt-overlay-072727f53b19e2383998a33fb0f8adb97f4fe8b9.tar.bz2 mt-dt-overlay-072727f53b19e2383998a33fb0f8adb97f4fe8b9.zip |
Merge branch 'master' of gitlab.multitech.net:mirrors/mt-dt-overlay
Diffstat (limited to 'mtcdt/pins-0.2.dtso')
-rw-r--r-- | mtcdt/pins-0.2.dtso | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/mtcdt/pins-0.2.dtso b/mtcdt/pins-0.2.dtso new file mode 100644 index 0000000..0e9ef6a --- /dev/null +++ b/mtcdt/pins-0.2.dtso @@ -0,0 +1,53 @@ +/* + * DTS file for Multi-Tech Systems MTCDT 0.2 Hardware + * + * Copyright (C) 2021 by Multi-Tech Systems, + * + * Licensed under GPLv2 or later. + */ + +/* + * Location(s): + * Put: MTCDT/0.2/pins.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.2"; + compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; + fragment@0 { + target-path = "/mts-io"; + __overlay__ { + AP1_GPIO3-gpios = <GPIO2_PH 10 GPIO_ACTIVE_HIGH>; + AP1_GPIO4-gpios = <GPIO2_PH 11 GPIO_ACTIVE_HIGH>; + AP2_GPIO4-gpios = <GPIO2_PH 29 GPIO_ACTIVE_HIGH>; + AP2_GPIO3-gpios = <GPIO2_PH 30 GPIO_ACTIVE_HIGH>; + + SIG3_LED-gpios = <GPIO4_PCA9557_PH 0 GPIO_ACTIVE_HIGH>; + WIFI_BT_LPWKUP-gpios = <GPIO4_PCA9557_PH 1 GPIO_ACTIVE_HIGH>; + RADIO_STATUS-gpios = <GPIO4_PCA9557_PH 2 GPIO_ACTIVE_HIGH>; + AP1_TDB1-gpios = <GPIO4_PCA9557_PH 3 GPIO_ACTIVE_HIGH>; + AP1_TDB2-gpios = <GPIO4_PCA9557_PH 4 GPIO_ACTIVE_HIGH>; + AP1_TDB3-gpios = <GPIO4_PCA9557_PH 5 GPIO_ACTIVE_HIGH>; + AP1_TDB4-gpios = <GPIO4_PCA9557_PH 6 GPIO_ACTIVE_HIGH>; + AP1_TDB5-gpios = <GPIO4_PCA9557_PH 7 GPIO_ACTIVE_HIGH>; + + CD_LED-gpios = <GPIO5_PCA9557_PH 0 GPIO_ACTIVE_HIGH>; + SIG1_LED-gpios = <GPIO5_PCA9557_PH 1 GPIO_ACTIVE_HIGH>; + SIG2_LED-gpios = <GPIO5_PCA9557_PH 2 GPIO_ACTIVE_HIGH>; + AP2_TDB1-gpios = <GPIO5_PCA9557_PH 3 GPIO_ACTIVE_HIGH>; + AP2_TDB2-gpios = <GPIO5_PCA9557_PH 4 GPIO_ACTIVE_HIGH>; + AP2_TDB3-gpios = <GPIO5_PCA9557_PH 5 GPIO_ACTIVE_HIGH>; + AP2_TDB4-gpios = <GPIO5_PCA9557_PH 6 GPIO_ACTIVE_HIGH>; + AP2_TDB5-gpios = <GPIO5_PCA9557_PH 7 GPIO_ACTIVE_HIGH>; + }; + }; /* fragment@0 */ +}; |