18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Device Tree defines for Lochnagar pinctrl
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (c) 2018 Cirrus Logic, Inc. and
68c2ecf20Sopenharmony_ci *                    Cirrus Logic International Semiconductor Ltd.
78c2ecf20Sopenharmony_ci *
88c2ecf20Sopenharmony_ci * Author: Charles Keepax <ckeepax@opensource.cirrus.com>
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#ifndef DT_BINDINGS_PINCTRL_LOCHNAGAR_H
128c2ecf20Sopenharmony_ci#define DT_BINDINGS_PINCTRL_LOCHNAGAR_H
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#define LOCHNAGAR1_PIN_CDC_RESET		0
158c2ecf20Sopenharmony_ci#define LOCHNAGAR1_PIN_DSP_RESET		1
168c2ecf20Sopenharmony_ci#define LOCHNAGAR1_PIN_CDC_CIF1MODE		2
178c2ecf20Sopenharmony_ci#define LOCHNAGAR1_PIN_NUM_GPIOS		3
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_RESET		0
208c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_RESET		1
218c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_CIF1MODE		2
228c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_LDOENA		3
238c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_SPDIF_HWMODE		4
248c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_SPDIF_RESET		5
258c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_FPGA_GPIO1		6
268c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_FPGA_GPIO2		7
278c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_FPGA_GPIO3		8
288c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_FPGA_GPIO4		9
298c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_FPGA_GPIO5		10
308c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_FPGA_GPIO6		11
318c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_GPIO1		12
328c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_GPIO2		13
338c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_GPIO3		14
348c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_GPIO4		15
358c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_GPIO5		16
368c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_GPIO6		17
378c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_GPIO7		18
388c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_GPIO8		19
398c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_GPIO1		20
408c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_GPIO2		21
418c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_GPIO3		22
428c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_GPIO4		23
438c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_GPIO5		24
448c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_GPIO6		25
458c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_GPIO2			26
468c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_GPIO3			27
478c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_GPIO7			28
488c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF1_BCLK		29
498c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF1_RXDAT		30
508c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF1_LRCLK		31
518c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF1_TXDAT		32
528c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF2_BCLK		33
538c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF2_RXDAT		34
548c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF2_LRCLK		35
558c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF2_TXDAT		36
568c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF3_BCLK		37
578c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF3_RXDAT		38
588c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF3_LRCLK		39
598c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_AIF3_TXDAT		40
608c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_AIF1_BCLK		41
618c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_AIF1_RXDAT		42
628c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_AIF1_LRCLK		43
638c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_AIF1_TXDAT		44
648c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_AIF2_BCLK		45
658c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_AIF2_RXDAT		46
668c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_AIF2_LRCLK		47
678c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_AIF2_TXDAT		48
688c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_PSIA1_BCLK		49
698c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_PSIA1_RXDAT		50
708c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_PSIA1_LRCLK		51
718c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_PSIA1_TXDAT		52
728c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_PSIA2_BCLK		53
738c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_PSIA2_RXDAT		54
748c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_PSIA2_LRCLK		55
758c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_PSIA2_TXDAT		56
768c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF3_BCLK		57
778c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF3_RXDAT		58
788c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF3_LRCLK		59
798c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF3_TXDAT		60
808c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF4_BCLK		61
818c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF4_RXDAT		62
828c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF4_LRCLK		63
838c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF4_TXDAT		64
848c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF1_BCLK		65
858c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF1_RXDAT		66
868c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF1_LRCLK		67
878c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF1_TXDAT		68
888c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF2_BCLK		69
898c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF2_RXDAT		70
908c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF2_LRCLK		71
918c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_AIF2_TXDAT		72
928c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_UART1_RX		73
938c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_UART1_TX		74
948c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_UART2_RX		75
958c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_UART2_TX		76
968c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_UART2_RX		77
978c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_UART2_TX		78
988c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_USB_UART_RX		79
998c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_PDMCLK1		80
1008c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_PDMDAT1		81
1018c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_PDMCLK2		82
1028c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_PDMDAT2		83
1038c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_DMICCLK1		84
1048c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_DMICDAT1		85
1058c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_DMICCLK2		86
1068c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_DMICDAT2		87
1078c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_DMICCLK3		88
1088c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_DMICDAT3		89
1098c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_DMICCLK4		90
1108c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_DMICDAT4		91
1118c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_DMICCLK1		92
1128c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_DMICDAT1		93
1138c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_DMICCLK2		94
1148c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_DMICDAT2		95
1158c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_I2C2_SCL			96
1168c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_I2C2_SDA			97
1178c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_I2C3_SCL			98
1188c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_I2C3_SDA			99
1198c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_I2C4_SCL			100
1208c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_I2C4_SDA			101
1218c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_STANDBY		102
1228c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_MCLK1		103
1238c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_CDC_MCLK2		104
1248c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_CLKIN		105
1258c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_PSIA1_MCLK		106
1268c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_PSIA2_MCLK		107
1278c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_GPIO1			108
1288c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_GF_GPIO5			109
1298c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_DSP_GPIO20		110
1308c2ecf20Sopenharmony_ci#define LOCHNAGAR2_PIN_NUM_GPIOS		111
1318c2ecf20Sopenharmony_ci
1328c2ecf20Sopenharmony_ci#endif
133