Linux Audio
Check our new training course
Embedded Linux Audio
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
/* * Copyright (c) 2018 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #ifndef __INC_BOARD_H #define __INC_BOARD_H /* Map APL GPIO pins to pins on UP Squared HAT */ #define UP2_HAT_PIN_3_DEV APL_GPIO_DEV_N_0 #define UP2_HAT_PIN_3 APL_GPIO_28 #define UP2_HAT_PIN_5_DEV APL_GPIO_DEV_N_0 #define UP2_HAT_PIN_5 APL_GPIO_29 #define UP2_HAT_PIN_7_DEV APL_GPIO_DEV_NW_2 #define UP2_HAT_PIN_7 APL_GPIO_123 #define UP2_HAT_PIN_8_DEV APL_GPIO_DEV_N_1 #define UP2_HAT_PIN_8 APL_GPIO_43 #define UP2_HAT_PIN_10_DEV APL_GPIO_DEV_N_1 #define UP2_HAT_PIN_10 APL_GPIO_42 #define UP2_HAT_PIN_11_DEV APL_GPIO_DEV_N_1 #define UP2_HAT_PIN_11 APL_GPIO_44 #define UP2_HAT_PIN_12_DEV APL_GPIO_DEV_W_0 #define UP2_HAT_PIN_12 APL_GPIO_146 #define UP2_HAT_PIN_13_DEV APL_GPIO_DEV_NW_2 #define UP2_HAT_PIN_13 APL_GPIO_122 #define UP2_HAT_PIN_15_DEV APL_GPIO_DEV_NW_2 #define UP2_HAT_PIN_15 APL_GPIO_121 #define UP2_HAT_PIN_16_DEV APL_GPIO_DEV_N_1 #define UP2_HAT_PIN_16 APL_GPIO_37 #define UP2_HAT_PIN_18_DEV APL_GPIO_DEV_NW_1 #define UP2_HAT_PIN_18 APL_GPIO_88 #define UP2_HAT_PIN_19_DEV APL_GPIO_DEV_NW_2 #define UP2_HAT_PIN_19 APL_GPIO_110 #define UP2_HAT_PIN_21_DEV APL_GPIO_DEV_NW_2 #define UP2_HAT_PIN_21 APL_GPIO_109 #define UP2_HAT_PIN_22_DEV APL_GPIO_DEV_NW_1 #define UP2_HAT_PIN_22 APL_GPIO_85 #define UP2_HAT_PIN_23_DEV APL_GPIO_DEV_NW_1 #define UP2_HAT_PIN_23 APL_GPIO_104 #define UP2_HAT_PIN_24_DEV APL_GPIO_DEV_NW_1 #define UP2_HAT_PIN_24 APL_GPIO_105 #define UP2_HAT_PIN_26_DEV APL_GPIO_DEV_NW_1 #define UP2_HAT_PIN_26 APL_GPIO_106 #define UP2_HAT_PIN_27_DEV APL_GPIO_DEV_N_0 #define UP2_HAT_PIN_27 APL_GPIO_30 #define UP2_HAT_PIN_28_DEV APL_GPIO_DEV_N_0 #define UP2_HAT_PIN_28 APL_GPIO_31 #define UP2_HAT_PIN_29_DEV APL_GPIO_DEV_NW_2 #define UP2_HAT_PIN_29 APL_GPIO_120 #define UP2_HAT_PIN_31_DEV APL_GPIO_DEV_NW_1 #define UP2_HAT_PIN_31 APL_GPIO_87 #define UP2_HAT_PIN_32_DEV APL_GPIO_DEV_N_1 #define UP2_HAT_PIN_32 APL_GPIO_34 #define UP2_HAT_PIN_33_DEV APL_GPIO_DEV_N_1 #define UP2_HAT_PIN_33 APL_GPIO_35 #define UP2_HAT_PIN_35_DEV APL_GPIO_DEV_W_0 #define UP2_HAT_PIN_35 APL_GPIO_147 #define UP2_HAT_PIN_36_DEV APL_GPIO_DEV_N_1 #define UP2_HAT_PIN_36 APL_GPIO_45 #define UP2_HAT_PIN_37_DEV APL_GPIO_DEV_NW_1 #define UP2_HAT_PIN_37 APL_GPIO_86 #define UP2_HAT_PIN_38_DEV APL_GPIO_DEV_W_0 #define UP2_HAT_PIN_38 APL_GPIO_148 #define UP2_HAT_PIN_40_DEV APL_GPIO_DEV_W_0 #define UP2_HAT_PIN_40 APL_GPIO_149 #endif /* __INC_BOARD_H */