From 84cd4767aef1306d835362c115697602ad82137a Mon Sep 17 00:00:00 2001 From: sharma-mts <86847754+sharma-mts@users.noreply.github.com> Date: Fri, 14 Jan 2022 13:16:49 -0600 Subject: Moved gpio sets to overlay --- mtcdt/ahb-0.0.dtso | 57 ++++++++++++++++++++++++++++++++++++++++++++ mtcdt/ahb-0.2.dtso | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 mtcdt/ahb-0.0.dtso create mode 100644 mtcdt/ahb-0.2.dtso diff --git a/mtcdt/ahb-0.0.dtso b/mtcdt/ahb-0.0.dtso new file mode 100644 index 0000000..c9da596 --- /dev/null +++ b/mtcdt/ahb-0.0.dtso @@ -0,0 +1,57 @@ +/* + * DTS file for Multi-Tech Systems MTCDT-0.0 Hardware + * + * Copyright (C) 2022 by Multi-Tech Systems, + * + * Licensed under GPLv2 or later. + */ +/* + * Location(s): + * Put: MTCDT/0.0/ahb.dtbo + * Link: MTCDTIP/0.1/ahb.dtbo + */ +/dts-v1/; +/ { + model = "Multi-Tech Systems MTCDT-0.0"; + compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; + fragment@1 { // pioA + target-path = "/ahb/apb/pinctrl@fffff400/gpio@fffff400"; + __overlay__ { + gpio-line-names = "tbd_0","","","","","","","", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + status = "okay"; + }; + }; /* fragment@1 */ + fragment@2 { // pioB + target-path = "/ahb/apb/pinctrl@fffff400/gpio@fffff600"; + __overlay__ { + gpio-line-names = "","","","","","","","", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + status = "okay"; + }; + }; /* fragment@2 */ + fragment@3 { // pioC + target-path = "/ahb/apb/pinctrl@fffff400/gpio@fffff800"; + __overlay__ { + gpio-line-names = "","","","","","","","", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + status = "okay"; + }; + }; /* fragment@3 */ + fragment@4 { // pioD + target-path = "/ahb/apb/pinctrl@fffff400/gpio@fffffa00"; + __overlay__ { + gpio-line-names = "","","","","","","","", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + status = "okay"; + }; + }; /* fragment@4 */ +}; diff --git a/mtcdt/ahb-0.2.dtso b/mtcdt/ahb-0.2.dtso new file mode 100644 index 0000000..8abec3f --- /dev/null +++ b/mtcdt/ahb-0.2.dtso @@ -0,0 +1,70 @@ +/* + * DTS file for Multi-Tech Systems MTCDT-0.0 Hardware + * + * Copyright (C) 2022 by Multi-Tech Systems, + * + * Licensed under GPLv2 or later. + */ +/* + * Location(s): + * Put: MTCDT/0.2/ahb.dtbo + */ +/dts-v1/; +/ { + model = "Multi-Tech Systems MTCDT-0.2"; + compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; + fragment@1 { // pioA + target-path = "/ahb/apb/pinctrl@fffff400/gpio@fffff400"; + __overlay__ { + gpio-line-names = "tbd_0","","","","","","","", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + status = "okay"; + }; + }; /* fragment@1 */ + fragment@2 { // pioB + target-path = "/ahb/apb/pinctrl@fffff400/gpio@fffff600"; + __overlay__ { + gpio-line-names = "","","","","","","","", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + status = "okay"; + }; + }; /* fragment@2 */ + fragment@3 { // pioC + target-path = "/ahb/apb/pinctrl@fffff400/gpio@fffff800"; + __overlay__ { + gpio-line-names = "","","","","","","","", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + status = "okay"; + }; + }; /* fragment@3 */ + fragment@4 { // pioD + target-path = "/ahb/apb/pinctrl@fffff400/gpio@fffffa00"; + __overlay__ { + gpio-line-names = "","","","","","","","", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + status = "okay"; + }; + }; /* fragment@4 */ + fragment@5 { //gpio4 + target-path = "/i2c-gpio-0/pca9557@18"; + __overlay__ { + gpio-line-names = "","","","","","","",""; + status = "okay"; + }; + }; /* fragment@5 */ + fragment@6 { //gpio5 + target-path = "/i2c-gpio-0/pca9557@19"; + __overlay__ { // + gpio-line-names = "","","","","","","",""; + status = "okay"; + }; + }; /* fragment@6 */ +}; -- cgit v1.2.3