blob: 5a4f887169277b27f6a47d1a79844954a5d696fa [file] [log] [blame]
/*
* include/dt-bindings/gpio/audio-gpio.h
*
* Copyright (C) 2020 Amlogic, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
*/
#ifndef __DT_BINDINGS_AUDIO_GPIO_H
#define __DT_BINDINGS_AUDIO_GPIO_H
/* tdm data pins */
#define TDM_D0 0
#define TDM_D1 1
#define TDM_D2 2
#define TDM_D3 3
#define TDM_D4 4
#define TDM_D5 5
#define TDM_D6 6
#define TDM_D7 7
#define TDM_D8 8
#define TDM_D9 9
#define TDM_D10 10
#define TDM_D11 11
#define TDM_D12 12
#define TDM_D13 13
#define TDM_D14 14
#define TDM_D15 15
#define TDM_D16 16
#define TDM_D17 17
#define TDM_D18 18
#define TDM_D19 19
#define TDM_D20 20
#define TDM_D21 21
#define TDM_D22 22
#define TDM_D23 23
#define TDM_D24 24
#define TDM_D25 25
#define TDM_D26 26
#define TDM_D27 27
#define TDM_D28 28
#define TDM_D29 29
#define TDM_D30 30
#define TDM_D31 31
/* tdm sclk pins */
#define TDM_SCLK0 32
#define TDM_SCLK1 33
#define TDM_SCLK2 34
#define TDM_SCLK3 35
#define TDM_SCLK4 36
/* tdm lrclk pins */
#define TDM_LRCLK0 37
#define TDM_LRCLK1 38
#define TDM_LRCLK2 39
#define TDM_LRCLK3 40
#define TDM_LRCLK4 41
#endif