zephyr/boards/ambiq/apollo3p_evb/apollo3p_evb-pinctrl.dtsi

183 lines
3.4 KiB
Plaintext

/*
* Copyright (c) 2023 Ambiq Micro Inc. <www.ambiq.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/pinctrl/ambiq-apollo3-pinctrl.h>
#include "apollo3p_evb_connector.dtsi"
&pinctrl {
uart0_default: uart0_default {
group1 {
pinmux = <UART0TX_P22>;
};
group2 {
pinmux = <UART0RX_P23>;
input-enable;
};
};
itm_default: itm_default {
group1 {
pinmux = <SWO_P41>;
};
};
i2c0_default: i2c0_default {
group1 {
pinmux = <M0SCL_P5>, <M0SDAWIR3_P6>;
drive-open-drain;
drive-strength = "0.5";
bias-pull-up;
};
};
i2c1_default: i2c1_default {
group1 {
pinmux = <M1SCL_P8>, <M1SDAWIR3_P9>;
drive-open-drain;
drive-strength = "0.5";
bias-pull-up;
};
};
i2c2_default: i2c2_default {
group1 {
pinmux = <M2SCL_P27>, <M2SDAWIR3_P25>;
drive-open-drain;
drive-strength = "0.5";
bias-pull-up;
};
};
i2c3_default: i2c3_default {
group1 {
pinmux = <M3SCL_P42>, <M3SDAWIR3_P43>;
drive-open-drain;
drive-strength = "0.5";
bias-pull-up;
};
};
i2c4_default: i2c4_default {
group1 {
pinmux = <M4SCL_P39>, <M4SDAWIR3_P40>;
drive-open-drain;
drive-strength = "0.5";
bias-pull-up;
};
};
i2c5_default: i2c5_default {
group1 {
pinmux = <M5SCL_P48>, <M5SDAWIR3_P49>;
drive-open-drain;
drive-strength = "0.5";
bias-pull-up;
};
};
spid0_default: spid0_default {
group1 {
pinmux = <SLSCK_P0>, <SLMISO_P2>, <SLMOSI_P1>, <SLNCE_P3>;
};
};
spi0_default: spi0_default {
group1 {
pinmux = <M0SCK_P5>, <M0MISO_P6>, <M0MOSI_P7>;
};
};
spi1_default: spi1_default {
group1 {
pinmux = <M1SCK_P8>, <M1MISO_P9>, <M1MOSI_P10>;
};
};
spi2_default: spi2_default {
group1 {
pinmux = <M2SCK_P27>, <M2MISO_P25>, <M2MOSI_P28>;
};
};
spi3_default: spi3_default {
group1 {
pinmux = <M3SCK_P42>, <M3MISO_P43>, <M3MOSI_P38>;
};
};
spi4_default: spi4_default {
group1 {
pinmux = <M4SCK_P39>, <M4MISO_P40>, <M4MOSI_P44>;
};
};
spi5_default: spi5_default {
group1 {
pinmux = <M5SCK_P48>, <M5MISO_P49>, <M5MOSI_P47>;
};
};
adc0_default: adc0_default{
group1 {
pinmux = <ADCSE4_P32>, <ADCSE7_P35>;
drive-strength = "0.1";
};
};
mspi0_default: mspi0_default{
group1 {
pinmux = <MSPI0_0_P22>,
<MSPI0_1_P26>,
<MSPI0_2_P4>,
<MSPI0_3_P23>,
<MSPI0_8_P24>;
};
group2 {
pinmux = <NCE37_P37>;
drive-push-pull;
drive-strength = "0.5";
ambiq,iom-mspi = <0>;
ambiq,iom-nce-module = <0>;
ambiq,iom-num = <0>;
};
};
mspi1_default: mspi1_default{
group1 {
pinmux = <MSPI1_0_P51>,
<MSPI1_1_P52>,
<MSPI1_2_P53>,
<MSPI1_3_P54>,
<MSPI1_4_P55>,
<MSPI1_5_P56>,
<MSPI1_6_P57>,
<MSPI1_7_P58>,
<MSPI1_8_P59>;
};
group2 {
pinmux = <NCE50_P50>;
drive-push-pull;
drive-strength = "0.5";
ambiq,iom-mspi = <0>;
ambiq,iom-nce-module = <0>;
ambiq,iom-num = <1>;
};
};
mspi2_default: mspi2_default{
group1 {
pinmux = <MSPI2_0_P64>,
<MSPI2_1_P65>,
<MSPI2_2_P66>,
<MSPI2_3_P67>,
<MSPI2_4_P68>;
};
group2 {
pinmux = <NCE63_P63>;
drive-push-pull;
drive-strength = "0.5";
ambiq,iom-mspi = <0>;
ambiq,iom-nce-module = <0>;
ambiq,iom-num = <2>;
};
};
bleif_default: bleif_default{
group1 {
pinmux = <BLEIF_SCK_P30>,
<BLEIF_MISO_P31>,
<BLEIF_MOSI_P32>,
<BLEIF_CSN_P33>,
<BLEIF_STATUS_P35>,
<BLEIF_IRQ_P41>;
};
};
};