1/* 2 * Copyright (c) 2022, Gerson Fernando Budke <nandojve@gmail.com> 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6#include <dt-bindings/pinctrl/sam4sXc-pinctrl.h> 7 8&pinctrl { 9 spi0_default: spi0_default { 10 group1 { 11 pinmux = <PA12A_SPI_MISO>, 12 <PA13A_SPI_MOSI>, 13 <PA14A_SPI_SPCK>, 14 <PA31A_SPI_NPCS1>, 15 <PA30B_SPI_NPCS2>; 16 }; 17 }; 18 19 twi0_default: twi0_default { 20 group1 { 21 pinmux = <PA4A_TWI0_TWCK>, 22 <PA3A_TWI0_TWD>; 23 }; 24 }; 25 26 uart0_default: uart0_default { 27 group1 { 28 pinmux = <PA9A_UART0_RXD>, 29 <PA10A_UART0_TXD>; 30 }; 31 }; 32 uart1_default: uart1_default { 33 group1 { 34 pinmux = <PB2A_UART1_RXD>, 35 <PB3A_UART1_TXD>; 36 }; 37 }; 38 usart1_default: usart1_default { 39 group1 { 40 pinmux = <PA21A_USART1_RXD>, 41 <PA22A_USART1_TXD>; 42 }; 43 }; 44 pwm0_default: pwm0_default { 45 group1 { 46 pinmux = <PA12B_PWM_PWMH1>, 47 <PA13B_PWM_PWMH2>, 48 <PA14B_PWM_PWMH3>; 49 }; 50 }; 51 adc0_default: adc0_default { 52 group1 { 53 pinmux = <PB0X_ADC_AD4>, 54 <PB1X_ADC_AD5>; 55 }; 56 }; 57 smc_default: smc_default { 58 group1 { 59 pinmux = <PC18A_EBI_A0>, 60 <PC19A_EBI_A1>, 61 <PC20A_EBI_A2>, 62 <PC21A_EBI_A3>, 63 <PC22A_EBI_A4>, 64 <PC23A_EBI_A5>, 65 <PC24A_EBI_A6>, 66 <PC25A_EBI_A7>, 67 <PC26A_EBI_A8>, 68 <PC27A_EBI_A9>, 69 <PC28A_EBI_A10>, 70 <PC29A_EBI_A11>, 71 <PC30A_EBI_A12>, 72 <PC31A_EBI_A13>, 73 <PA18C_EBI_A14>, 74 <PA19C_EBI_A15>, 75 <PA20C_EBI_A16>, 76 <PA0C_EBI_A17>, 77 <PA1C_EBI_A18>, 78 <PC0A_EBI_D0>, 79 <PC1A_EBI_D1>, 80 <PC2A_EBI_D2>, 81 <PC3A_EBI_D3>, 82 <PC4A_EBI_D4>, 83 <PC5A_EBI_D5>, 84 <PC6A_EBI_D6>, 85 <PC7A_EBI_D7>, 86 <PC14A_EBI_NCS0>, 87 <PC15A_EBI_NCS1>, 88 <PC11A_EBI_NRD>, 89 <PC8A_EBI_NWE>; 90 }; 91 }; 92}; 93