1/* 2 * Copyright (c) 2022 Vaishnav Achath 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/pinctrl/cc13xx_cc26xx-pinctrl.h> 8 9&pinctrl { 10 /* UART0 */ 11 uart0_tx_default: uart0_tx_default { 12 pinmux = <13 IOC_PORT_MCU_UART0_TX>; 13 bias-disable; 14 }; 15 uart0_rx_default: uart0_rx_default { 16 pinmux = <12 IOC_PORT_MCU_UART0_RX>; 17 bias-disable; 18 input-enable; 19 }; 20 21 /* UART1 */ 22 uart1_tx_default: uart1_tx_default { 23 pinmux = <22 IOC_PORT_MCU_UART1_TX>; 24 bias-disable; 25 }; 26 uart1_rx_default: uart1_rx_default { 27 pinmux = <24 IOC_PORT_MCU_UART1_RX>; 28 bias-disable; 29 input-enable; 30 }; 31 32 /* I2C0 */ 33 i2c0_scl_default: i2c0_scl_default { 34 pinmux = <4 IOC_PORT_MCU_I2C_MSSCL>; 35 bias-pull-up; 36 drive-open-drain; 37 input-enable; 38 }; 39 i2c0_sda_default: i2c0_sda_default { 40 pinmux = <5 IOC_PORT_MCU_I2C_MSSDA>; 41 bias-pull-up; 42 drive-open-drain; 43 input-enable; 44 }; 45 i2c0_scl_sleep: i2c0_scl_sleep { 46 pinmux = <4 IOC_PORT_GPIO>; 47 bias-disable; 48 }; 49 i2c0_sda_sleep: i2c0_sda_sleep { 50 pinmux = <5 IOC_PORT_GPIO>; 51 bias-disable; 52 }; 53 54 /* SPI0 */ 55 spi0_sck_default: spi0_sck_default { 56 pinmux = <10 IOC_PORT_MCU_SSI0_CLK>; 57 bias-disable; 58 }; 59 spi0_mosi_default: spi0_mosi_default { 60 pinmux = <9 IOC_PORT_MCU_SSI0_TX>; 61 bias-disable; 62 }; 63 spi0_miso_default: spi0_miso_default { 64 pinmux = <8 IOC_PORT_MCU_SSI0_RX>; 65 bias-disable; 66 input-enable; 67 }; 68 spi0_cs_default: spi0_cs_default { 69 pinmux = <11 IOC_PORT_MCU_SSI0_FSS>; 70 bias-disable; 71 }; 72}; 73