This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EVMK2G: setting McBSP to device tree

Part Number: EVMK2G
Other Parts Discussed in Thread: 66AK2G02

Hi, i'm using 66AK2G02 (K2G) Evaluation Module. And i will setting McBSP interface to receive data from same ADC.

  1. First step configure McBSP pins

	mcbsp_pins: pinmux_mcbsp_pins {
		pinctrl-single,pins = <
			K2G_CORE_IOPAD(0x135c) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE2) 	/* PR1_PRU1_GPO14.MCBSP_CLKR */
			K2G_CORE_IOPAD(0x1354) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE2) 	/* PR1_PRU1_GPO12.MCBSP_CLKX */
			K2G_CORE_IOPAD(0x1348) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE2) 	/* PR1_PRU1_GPO9.MCBSP_DR */
			K2G_CORE_IOPAD(0x1358) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE2) 	/* PR1_PRU1_GPO13.MCBSP_FSR */
		>;
	};

2. i want to use McBSP in frame sync mode. How to configure McBSP in this mode? and which driver should i specify

&mcbsp {
	pinctrl-names = "default";
	pinctrl-0 = <&mcbsp_pins>;
	compatible = "ti,???";

    ????

	status = "okay";

    ????
};