zephyr/dts/arm/atmel/sam3x-pinctrl.dtsi
Kumar Gala 6ae8664889 drivers: i2s: i2s_sam_ssc: Convert to devicetree
Convert i2s_sam_ssc driver to utilize devicetree.  We replace Kconfig
options for specifying the DMA configuration (channel, DMA device name)
with getting that from devicetree.  We also get pincfg from devicetree,
however we still have Kconfig sybmols to specify if the RF or RK pin is
enabled.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-05-07 22:24:58 -05:00

53 lines
1.6 KiB
Plaintext

/*
* Copyright (c) 2020 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "pinctrl_atmel_sam.h"
/ {
soc {
pinctrl@400e0e00 {
/* instance, signal, pio, pin, peripheral */
DT_ATMEL_PIN(spi0, miso, a, 25, a);
DT_ATMEL_PIN(spi0, mosi, a, 26, a);
DT_ATMEL_PIN(spi0, npcs0, a, 28, a);
DT_ATMEL_PIN(spi0, npcs1, a, 29, a);
DT_ATMEL_PIN(spi0, npcs1, b, 20, b);
DT_ATMEL_PIN(spi0, npcs2, a, 30, a);
DT_ATMEL_PIN(spi0, npcs2, b, 21, b);
DT_ATMEL_PIN(spi0, npcs3, a, 31, a);
DT_ATMEL_PIN(spi0, npcs3, b, 23, b);
DT_ATMEL_PIN(spi0, spck, a, 27, a);
DT_ATMEL_PIN(ssc, rd, b, 18, a);
DT_ATMEL_PIN(ssc, rf, b, 17, a);
DT_ATMEL_PIN(ssc, rk, b, 19, a);
DT_ATMEL_PIN(ssc, td, a, 16, b);
DT_ATMEL_PIN(ssc, tf, a, 15, b);
DT_ATMEL_PIN(ssc, tk, a, 14, b);
DT_ATMEL_PIN(twi0, twck0, a, 18, a);
DT_ATMEL_PIN(twi0, twd0, a, 17, a);
DT_ATMEL_PIN(twi1, twck1, b, 13, a);
DT_ATMEL_PIN(twi1, twd1, b, 12, a);
DT_ATMEL_PIN(uart, urxd, a, 8, a);
DT_ATMEL_PIN(uart, utxd, a, 9, a);
DT_ATMEL_PIN(usart0, cts0, b, 26, a);
DT_ATMEL_PIN(usart0, rts0, b, 25, a);
DT_ATMEL_PIN(usart0, rxd0, a, 10, a);
DT_ATMEL_PIN(usart0, sck0, a, 17, b);
DT_ATMEL_PIN(usart0, txd0, a, 11, a);
DT_ATMEL_PIN(usart1, cts1, a, 15, a);
DT_ATMEL_PIN(usart1, rts1, a, 14, a);
DT_ATMEL_PIN(usart1, rxd1, a, 12, a);
DT_ATMEL_PIN(usart1, sck1, a, 16, a);
DT_ATMEL_PIN(usart1, txd1, a, 13, a);
DT_ATMEL_PIN(usart2, cts2, b, 23, a);
DT_ATMEL_PIN(usart2, rts2, b, 22, a);
DT_ATMEL_PIN(usart2, rxd2, b, 21, a);
DT_ATMEL_PIN(usart2, sck2, b, 24, a);
DT_ATMEL_PIN(usart2, txd2, b, 20, a);
};
};
};