From c413c03b6d245dfa4184d0f7e399db4531772f6c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 19 Jul 2014 13:56:29 -0600 Subject: [PATCH] SAMA5D4-EK: Add PCK pin disambiguation --- configs/sama5d4-ek/include/board.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/sama5d4-ek/include/board.h b/configs/sama5d4-ek/include/board.h index 58da07b46b..b528ed2921 100644 --- a/configs/sama5d4-ek/include/board.h +++ b/configs/sama5d4-ek/include/board.h @@ -227,7 +227,13 @@ #define BOARD_EBICS3_NAND_DATAADDR 0x60000000 -/* PIO configuration ****************************************************************/ +/* Pin disambiguation ***************************************************************/ + +/* PCK0 is provided to the WM8904 audio CODEC via PB26 */ + +#ifdef CONFIG_AUDIO_WM8904 +# define PIO_PMC_PCK0 PIO_PMC_PCK0_1 +#endif /************************************************************************************ * Assembly Language Macros