Commit 4ec582e9 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Sekhar Nori

ARM: DTS: da850-evm: Enable McASP via DT boot

Add pinctrl nodes for the McASP0 pins and configure McASP to the desired
mode for the board.
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent db74904e
...@@ -17,6 +17,18 @@ / { ...@@ -17,6 +17,18 @@ / {
soc { soc {
pmx_core: pinmux@1c14120 { pmx_core: pinmux@1c14120 {
status = "okay"; status = "okay";
mcasp0_pins: pinmux_mcasp0_pins {
pinctrl-single,bits = <
/*
* AHCLKX, ACLKX, AFSX, AHCLKR, ACLKR,
* AFSR, AMUTE
*/
0x00 0x11111111 0xffffffff
/* AXR11, AXR12 */
0x04 0x00011000 0x000ff000
>;
};
}; };
serial0: serial@1c42000 { serial0: serial@1c42000 {
status = "okay"; status = "okay";
...@@ -170,3 +182,21 @@ ldo2_reg: regulator@4 { ...@@ -170,3 +182,21 @@ ldo2_reg: regulator@4 {
}; };
}; };
}; };
&mcasp0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&mcasp0_pins>;
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;
/* 4 serializer */
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
0 0 0 0
0 0 0 0
0 0 0 1
2 0 0 0
>;
tx-num-evt = <32>;
rx-num-evt = <32>;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment