/* * DTS overlay for all MTCDT hardware versions. */ /dts-v1/; /* * AP2 is the same for MTCDT-0.0 through MTCDT-0.2 * Location(s): * Put: MTCDT/0.0/gpiob/ap2-gpiob.dtbo * Link: MTCDT/0.2/gpiob/ap2-gpiob.dtbo * Link: MTCDTIP/0.0/gpiob/ap2-gpiob.dtbo * Link: MTCDTIP/0.1/gpiob/ap2-gpiob.dtbo */ #include #include #include #include #include #include / { compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; model = "Multi-Tech Systems MTCDT-0.0"; fragment@0 { target-path = "/ahb/apb/spi@f0004000"; __overlay__ { status = "okay"; cs-gpios = , , , ; ap2-adc@0 { compatible = "mts-io-ap2-adc"; spi-max-frequency = <0x1312d00>; reg = <0x0>; }; /*ap1-adc*/ ap2-dout@1 { compatible = "mts-io-ap2-dout"; spi-max-frequency = <0xf4240>; reg = <0x1>; }; /*ap1-dout*/ ap2-spi@2 { compatible = "mts,mtac"; 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*/ };