summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mtcdt/ap1-gpiob-0.0.dtso11
-rw-r--r--mtcdt/ap2-gpiob-0.0.dtso12
-rw-r--r--mtcpmhs/ap1-gpiob-0.0.dtso5
-rw-r--r--mtcpmhs/ap2-gpiob-0.0.dtso5
4 files changed, 24 insertions, 9 deletions
diff --git a/mtcdt/ap1-gpiob-0.0.dtso b/mtcdt/ap1-gpiob-0.0.dtso
index dd6c1e1..17b3e78 100644
--- a/mtcdt/ap1-gpiob-0.0.dtso
+++ b/mtcdt/ap1-gpiob-0.0.dtso
@@ -14,14 +14,12 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/at91.h>
-#define AT91_PINCTRL_OUT_INIT_0 (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(0))
-#define AT91_PINCTRL_OUT_INIT_1 (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(1))
/ {
- compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43";
+ compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
fragment@0 {
- target-path = "ahb/apb/spi@f0000000 ";
+ target-path = "/ahb/apb/spi@f0000000 ";
__overlay__ {
ap1-adc@0 {
compatible = "mts-io-ap1-adc";
@@ -38,6 +36,11 @@
spi-max-frequency = <0x1e8480>;
reg = <0x2>;
}; /*ap1-spi*/
+ ap1-din@3 {
+ compatible = "mts-io-ap1-din";
+ spi-max-frequency = <0xf4240>;
+ reg = <0x3>;
+ }; /*ap1-din*/
}; /*overlay*/
}; /*fragment@0*/
};
diff --git a/mtcdt/ap2-gpiob-0.0.dtso b/mtcdt/ap2-gpiob-0.0.dtso
index a30da44..724047c 100644
--- a/mtcdt/ap2-gpiob-0.0.dtso
+++ b/mtcdt/ap2-gpiob-0.0.dtso
@@ -14,14 +14,11 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/at91.h>
-#define AT91_PINCTRL_OUT_INIT_0 (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(0))
-#define AT91_PINCTRL_OUT_INIT_1 (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(1))
-
/ {
- compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43";
+ compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
fragment@0 {
- target-path = "ahb/apb/spi@f0004000";
+ target-path = "/ahb/apb/spi@f0004000";
__overlay__ {
ap2-adc@0 {
compatible = "mts-io-ap2-adc";
@@ -38,6 +35,11 @@
spi-max-frequency = <0x1e8480>;
reg = <0x2>;
}; /*ap2-spi*/
+ ap2-din@3 {
+ compatible = "mts-io-ap2-din";
+ spi-max-frequency = <0xf4240>;
+ reg = <0x3>;
+ }; /*ap2-din*/
}; /*overlay*/
}; /*fragment@0*/
};
diff --git a/mtcpmhs/ap1-gpiob-0.0.dtso b/mtcpmhs/ap1-gpiob-0.0.dtso
index faf9f09..aeea8c4 100644
--- a/mtcpmhs/ap1-gpiob-0.0.dtso
+++ b/mtcpmhs/ap1-gpiob-0.0.dtso
@@ -34,6 +34,11 @@
spi-max-frequency = <0x1e8480>;
reg = <0x2>;
}; /*ap1-spi*/
+ ap1-din@3 {
+ compatible = "mts-io-ap1-din";
+ spi-max-frequency = <0xf4240>;
+ reg = <0x3>;
+ }; /*ap1-din*/
}; /*overlay*/
}; /*fragment@0*/
};
diff --git a/mtcpmhs/ap2-gpiob-0.0.dtso b/mtcpmhs/ap2-gpiob-0.0.dtso
index e1fdef2..47089af 100644
--- a/mtcpmhs/ap2-gpiob-0.0.dtso
+++ b/mtcpmhs/ap2-gpiob-0.0.dtso
@@ -34,6 +34,11 @@
spi-max-frequency = <0x1e8480>;
reg = <0x2>;
}; /*ap2-spi*/
+ ap2-din@3 {
+ compatible = "mts-io-ap2-din";
+ spi-max-frequency = <0xf4240>;
+ reg = <0x3>;
+ };
}; /*overlay*/
}; /*fragment@0*/
};