1*fdc98f07SCharles Keepax /* SPDX-License-Identifier: GPL-2.0 */ 2*fdc98f07SCharles Keepax /* 3*fdc98f07SCharles Keepax * Device Tree defines for Lochnagar pinctrl 4*fdc98f07SCharles Keepax * 5*fdc98f07SCharles Keepax * Copyright (c) 2018 Cirrus Logic, Inc. and 6*fdc98f07SCharles Keepax * Cirrus Logic International Semiconductor Ltd. 7*fdc98f07SCharles Keepax * 8*fdc98f07SCharles Keepax * Author: Charles Keepax <ckeepax@opensource.cirrus.com> 9*fdc98f07SCharles Keepax */ 10*fdc98f07SCharles Keepax 11*fdc98f07SCharles Keepax #ifndef DT_BINDINGS_PINCTRL_LOCHNAGAR_H 12*fdc98f07SCharles Keepax #define DT_BINDINGS_PINCTRL_LOCHNAGAR_H 13*fdc98f07SCharles Keepax 14*fdc98f07SCharles Keepax #define LOCHNAGAR1_PIN_CDC_RESET 0 15*fdc98f07SCharles Keepax #define LOCHNAGAR1_PIN_DSP_RESET 1 16*fdc98f07SCharles Keepax #define LOCHNAGAR1_PIN_CDC_CIF1MODE 2 17*fdc98f07SCharles Keepax #define LOCHNAGAR1_PIN_NUM_GPIOS 3 18*fdc98f07SCharles Keepax 19*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_RESET 0 20*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_RESET 1 21*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_CIF1MODE 2 22*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_LDOENA 3 23*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_SPDIF_HWMODE 4 24*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_SPDIF_RESET 5 25*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_FPGA_GPIO1 6 26*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_FPGA_GPIO2 7 27*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_FPGA_GPIO3 8 28*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_FPGA_GPIO4 9 29*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_FPGA_GPIO5 10 30*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_FPGA_GPIO6 11 31*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_GPIO1 12 32*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_GPIO2 13 33*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_GPIO3 14 34*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_GPIO4 15 35*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_GPIO5 16 36*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_GPIO6 17 37*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_GPIO7 18 38*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_GPIO8 19 39*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_GPIO1 20 40*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_GPIO2 21 41*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_GPIO3 22 42*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_GPIO4 23 43*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_GPIO5 24 44*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_GPIO6 25 45*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_GPIO2 26 46*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_GPIO3 27 47*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_GPIO7 28 48*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF1_BCLK 29 49*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF1_RXDAT 30 50*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF1_LRCLK 31 51*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF1_TXDAT 32 52*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF2_BCLK 33 53*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF2_RXDAT 34 54*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF2_LRCLK 35 55*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF2_TXDAT 36 56*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF3_BCLK 37 57*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF3_RXDAT 38 58*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF3_LRCLK 39 59*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_AIF3_TXDAT 40 60*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_AIF1_BCLK 41 61*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_AIF1_RXDAT 42 62*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_AIF1_LRCLK 43 63*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_AIF1_TXDAT 44 64*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_AIF2_BCLK 45 65*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_AIF2_RXDAT 46 66*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_AIF2_LRCLK 47 67*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_AIF2_TXDAT 48 68*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_PSIA1_BCLK 49 69*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_PSIA1_RXDAT 50 70*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_PSIA1_LRCLK 51 71*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_PSIA1_TXDAT 52 72*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_PSIA2_BCLK 53 73*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_PSIA2_RXDAT 54 74*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_PSIA2_LRCLK 55 75*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_PSIA2_TXDAT 56 76*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF3_BCLK 57 77*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF3_RXDAT 58 78*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF3_LRCLK 59 79*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF3_TXDAT 60 80*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF4_BCLK 61 81*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF4_RXDAT 62 82*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF4_LRCLK 63 83*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF4_TXDAT 64 84*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF1_BCLK 65 85*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF1_RXDAT 66 86*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF1_LRCLK 67 87*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF1_TXDAT 68 88*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF2_BCLK 69 89*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF2_RXDAT 70 90*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF2_LRCLK 71 91*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_AIF2_TXDAT 72 92*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_UART1_RX 73 93*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_UART1_TX 74 94*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_UART2_RX 75 95*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_UART2_TX 76 96*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_UART2_RX 77 97*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_UART2_TX 78 98*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_USB_UART_RX 79 99*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_PDMCLK1 80 100*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_PDMDAT1 81 101*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_PDMCLK2 82 102*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_PDMDAT2 83 103*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_DMICCLK1 84 104*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_DMICDAT1 85 105*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_DMICCLK2 86 106*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_DMICDAT2 87 107*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_DMICCLK3 88 108*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_DMICDAT3 89 109*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_DMICCLK4 90 110*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_DMICDAT4 91 111*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_DMICCLK1 92 112*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_DMICDAT1 93 113*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_DMICCLK2 94 114*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_DMICDAT2 95 115*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_I2C2_SCL 96 116*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_I2C2_SDA 97 117*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_I2C3_SCL 98 118*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_I2C3_SDA 99 119*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_I2C4_SCL 100 120*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_I2C4_SDA 101 121*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_STANDBY 102 122*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_MCLK1 103 123*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_CDC_MCLK2 104 124*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_CLKIN 105 125*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_PSIA1_MCLK 106 126*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_PSIA2_MCLK 107 127*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_GPIO1 108 128*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_GF_GPIO5 109 129*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_DSP_GPIO20 110 130*fdc98f07SCharles Keepax #define LOCHNAGAR2_PIN_NUM_GPIOS 111 131*fdc98f07SCharles Keepax 132*fdc98f07SCharles Keepax #endif 133