/dts-v1/; /plugin/; /* enable spi0 for mts-io */ / { fragment@0 { target-path = "/ahb/apb/spi@f0000000"; __overlay__ { status = "okay"; ap1-cs0@0 { compatible = "mts-io-ap1-adc"; spi-max-frequency = <20000000>; reg = <0>; }; ap1-cs1@1 { compatible = "mts-io-ap1-dout"; spi-max-frequency = <1000000>; reg = <1>; }; ap1-cs2@2 { compatible = "mts-io-ap1-din"; spi-max-frequency = <1000000>; reg = <2>; }; }; }; };