|
| 1 | +/* |
| 2 | + * Copyright (c) 2025 Analog Devices, Inc. |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: Apache-2.0 |
| 5 | + */ |
| 6 | + |
| 7 | +#include <zephyr/dt-bindings/pinctrl/max32-pinctrl.h> |
| 8 | + |
| 9 | +/ { |
| 10 | + soc { |
| 11 | + pinctrl: pin-controller@40008000 { |
| 12 | + /omit-if-no-ref/ swdio_p0_0: swdio_p0_0 { |
| 13 | + pinmux = <MAX32_PINMUX(0, 0, AF1)>; |
| 14 | + }; |
| 15 | + |
| 16 | + /omit-if-no-ref/ spi1_miso_p0_0: spi1_miso_p0_0 { |
| 17 | + pinmux = <MAX32_PINMUX(0, 0, AF2)>; |
| 18 | + }; |
| 19 | + |
| 20 | + /omit-if-no-ref/ uart1_tx_p0_0: uart1_tx_p0_0 { |
| 21 | + pinmux = <MAX32_PINMUX(0, 0, AF3)>; |
| 22 | + }; |
| 23 | + |
| 24 | + /omit-if-no-ref/ swdclk_p0_1: swdclk_p0_1 { |
| 25 | + pinmux = <MAX32_PINMUX(0, 1, AF1)>; |
| 26 | + }; |
| 27 | + |
| 28 | + /omit-if-no-ref/ spi1_mosi_p0_1: spi1_mosi_p0_1 { |
| 29 | + pinmux = <MAX32_PINMUX(0, 1, AF2)>; |
| 30 | + }; |
| 31 | + |
| 32 | + /omit-if-no-ref/ uart1_rx_p0_1: uart1_rx_p0_1 { |
| 33 | + pinmux = <MAX32_PINMUX(0, 1, AF3)>; |
| 34 | + }; |
| 35 | + |
| 36 | + /omit-if-no-ref/ i2c1_scl_p0_2: i2c1_scl_p0_2 { |
| 37 | + pinmux = <MAX32_PINMUX(0, 2, AF1)>; |
| 38 | + }; |
| 39 | + |
| 40 | + /omit-if-no-ref/ spi1_sck_p0_2: spi1_sck_p0_2 { |
| 41 | + pinmux = <MAX32_PINMUX(0, 2, AF2)>; |
| 42 | + }; |
| 43 | + |
| 44 | + /omit-if-no-ref/ cal32k_p0_2: cal32k_p0_2 { |
| 45 | + pinmux = <MAX32_PINMUX(0, 2, AF3)>; |
| 46 | + }; |
| 47 | + |
| 48 | + /omit-if-no-ref/ i2c1_sda_p0_3: i2c1_sda_p0_3 { |
| 49 | + pinmux = <MAX32_PINMUX(0, 3, AF1)>; |
| 50 | + }; |
| 51 | + |
| 52 | + /omit-if-no-ref/ spi1_ss0_p0_3: spi1_ss0_p0_3 { |
| 53 | + pinmux = <MAX32_PINMUX(0, 3, AF2)>; |
| 54 | + }; |
| 55 | + |
| 56 | + /omit-if-no-ref/ tmr0_p0_3: tmr0_p0_3 { |
| 57 | + pinmux = <MAX32_PINMUX(0, 3, AF3)>; |
| 58 | + }; |
| 59 | + |
| 60 | + /omit-if-no-ref/ spi0_miso_p0_4: spi0_miso_p0_4 { |
| 61 | + pinmux = <MAX32_PINMUX(0, 4, AF1)>; |
| 62 | + }; |
| 63 | + |
| 64 | + /omit-if-no-ref/ uart0_tx_p0_4: uart0_tx_p0_4 { |
| 65 | + pinmux = <MAX32_PINMUX(0, 4, AF2)>; |
| 66 | + }; |
| 67 | + |
| 68 | + /omit-if-no-ref/ spi0_mosi_p0_5: spi0_mosi_p0_5 { |
| 69 | + pinmux = <MAX32_PINMUX(0, 5, AF1)>; |
| 70 | + }; |
| 71 | + |
| 72 | + /omit-if-no-ref/ uart0_rx_p0_5: uart0_rx_p0_5 { |
| 73 | + pinmux = <MAX32_PINMUX(0, 5, AF2)>; |
| 74 | + }; |
| 75 | + |
| 76 | + /omit-if-no-ref/ spi0_sck_p0_6: spi0_sck_p0_6 { |
| 77 | + pinmux = <MAX32_PINMUX(0, 6, AF1)>; |
| 78 | + }; |
| 79 | + |
| 80 | + /omit-if-no-ref/ uart0_cts_p0_6: uart0_cts_p0_6 { |
| 81 | + pinmux = <MAX32_PINMUX(0, 6, AF2)>; |
| 82 | + }; |
| 83 | + |
| 84 | + /omit-if-no-ref/ uart1_tx_p0_6: uart1_tx_p0_6 { |
| 85 | + pinmux = <MAX32_PINMUX(0, 6, AF3)>; |
| 86 | + }; |
| 87 | + |
| 88 | + /omit-if-no-ref/ spi0_ss0_p0_7: spi0_ss0_p0_7 { |
| 89 | + pinmux = <MAX32_PINMUX(0, 7, AF1)>; |
| 90 | + }; |
| 91 | + |
| 92 | + /omit-if-no-ref/ uart0_rts_p0_7: uart0_rts_p0_7 { |
| 93 | + pinmux = <MAX32_PINMUX(0, 7, AF2)>; |
| 94 | + }; |
| 95 | + |
| 96 | + /omit-if-no-ref/ uart1_rx_p0_7: uart1_rx_p0_7 { |
| 97 | + pinmux = <MAX32_PINMUX(0, 7, AF3)>; |
| 98 | + }; |
| 99 | + |
| 100 | + /omit-if-no-ref/ i2c0_scl_p0_8: i2c0_scl_p0_8 { |
| 101 | + pinmux = <MAX32_PINMUX(0, 8, AF1)>; |
| 102 | + }; |
| 103 | + |
| 104 | + /omit-if-no-ref/ swdio_p0_8: swdio_p0_8 { |
| 105 | + pinmux = <MAX32_PINMUX(0, 8, AF2)>; |
| 106 | + }; |
| 107 | + |
| 108 | + /omit-if-no-ref/ i2c0_sda_p0_9: i2c0_sda_p0_9 { |
| 109 | + pinmux = <MAX32_PINMUX(0, 9, AF1)>; |
| 110 | + }; |
| 111 | + |
| 112 | + /omit-if-no-ref/ swdclk_p0_9: swdclk_p0_9 { |
| 113 | + pinmux = <MAX32_PINMUX(0, 9, AF2)>; |
| 114 | + }; |
| 115 | + |
| 116 | + /omit-if-no-ref/ spi1_miso_p0_10: spi1_miso_p0_10 { |
| 117 | + pinmux = <MAX32_PINMUX(0, 10, AF1)>; |
| 118 | + }; |
| 119 | + |
| 120 | + /omit-if-no-ref/ uart1_tx_p0_10: uart1_tx_p0_10 { |
| 121 | + pinmux = <MAX32_PINMUX(0, 10, AF2)>; |
| 122 | + }; |
| 123 | + |
| 124 | + /omit-if-no-ref/ spi1_mosi_p0_11: spi1_mosi_p0_11 { |
| 125 | + pinmux = <MAX32_PINMUX(0, 11, AF1)>; |
| 126 | + }; |
| 127 | + |
| 128 | + /omit-if-no-ref/ uart1_rx_p0_11: uart1_rx_p0_11 { |
| 129 | + pinmux = <MAX32_PINMUX(0, 11, AF2)>; |
| 130 | + }; |
| 131 | + |
| 132 | + /omit-if-no-ref/ spi1_sck_p0_12: spi1_sck_p0_12 { |
| 133 | + pinmux = <MAX32_PINMUX(0, 12, AF1)>; |
| 134 | + }; |
| 135 | + |
| 136 | + /omit-if-no-ref/ uart1_cts_p0_12: uart1_cts_p0_12 { |
| 137 | + pinmux = <MAX32_PINMUX(0, 12, AF2)>; |
| 138 | + }; |
| 139 | + |
| 140 | + /omit-if-no-ref/ spi1_ss0_p0_13: spi1_ss0_p0_13 { |
| 141 | + pinmux = <MAX32_PINMUX(0, 13, AF1)>; |
| 142 | + }; |
| 143 | + |
| 144 | + /omit-if-no-ref/ uart1_rts_p0_13: uart1_rts_p0_13 { |
| 145 | + pinmux = <MAX32_PINMUX(0, 13, AF2)>; |
| 146 | + }; |
| 147 | + }; |
| 148 | + }; |
| 149 | +}; |
0 commit comments