/* * DTS overlay for MTCDT 0.0 and 0.1 hardware version. */ /dts-v1/; /* * Location(s): * Put: MTCDT/0.0/gpiob/ap1-gpiob.dtbo * Link: MTCDTIP/0.0/gpiob/ap1-gpiob.dtbo */ #include #include #include #include #include #include // Explicit PHandles / { 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 = , , , ; 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*/ };