diff options
Diffstat (limited to 'mtcdt/ap1-gpiob-0.2.dtso')
-rw-r--r-- | mtcdt/ap1-gpiob-0.2.dtso | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/mtcdt/ap1-gpiob-0.2.dtso b/mtcdt/ap1-gpiob-0.2.dtso new file mode 100644 index 0000000..e92a61d --- /dev/null +++ b/mtcdt/ap1-gpiob-0.2.dtso @@ -0,0 +1,49 @@ +/* + * DTS overlay for MTCDT 0.2 hardware version. + */ + +/dts-v1/; + +/* + * Location(s): + * Put: MTCDT/0.2/ap1-gpiob.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> + +/ { + compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; + model = "Multi-Tech Systems MTCDT-0.0"; + fragment@0 { + target-path = "/ahb/apb/spi@f0000000"; + __overlay__ { + status = "okay"; + cs-gpios = <GPIO0_PH 4 0>, <GPIO0_PH 2 0>, <GPIO0_PH 3 0>, <GPIO0_PH 28 0>; + ap1-adc@0 { + compatible = "mts-io-ap1-adc"; + spi-max-frequency = <0x1312d00>; + reg = <0x0>; + }; /*ap1-adc*/ + ap1-dout@1 { + compatible = "mts-io-ap1-dout"; + spi-max-frequency = <0xf4240>; + reg = <0x1>; + }; /*ap1-dout*/ + ap1-spi@2 { + compatible = "mts,mtac"; + 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*/ +}; |