/* * DTS overlay for MTCPM 0.0 hardware version. */ /dts-v1/; /* * Location(s): * Put: MTCPM/0.0/gpiob/ap2-gpiob.dtbo */ #include "am4372.dtsi" #include #include #include / { compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43"; fragment@0 { target-path = "/ocp@44000000/spi@481a2000"; __overlay__ { status = "okay"; dmas = <&edma_xbar 42 0 16>, <&edma_xbar 43 0 17>; dma-names = "tx0", "rx0"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&spi2_pins_default>; pinctrl-1 = <&spi2_pins_sleep>; ti,spi-num-cs = <4>; ti,pindir-d0-out-d1-in; 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>; }; }; /*overlay*/ }; /*fragment@0*/ };