linux/include/linux/can/platform/cc770.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _CAN_PLATFORM_CC770_H
#define _CAN_PLATFORM_CC770_H

/* CPU Interface Register (0x02) */
#define CPUIF_CEN
#define CPUIF_MUX
#define CPUIF_SLP
#define CPUIF_PWD
#define CPUIF_DMC
#define CPUIF_DSC
#define CPUIF_RST

/* Clock Out Register (0x1f) */
#define CLKOUT_CD_MASK
#define CLKOUT_SL_MASK
#define CLKOUT_SL_SHIFT

/* Bus Configuration Register (0x2f) */
#define BUSCFG_DR0
#define BUSCFG_DR1
#define BUSCFG_DT1
#define BUSCFG_POL
#define BUSCFG_CBY

struct cc770_platform_data {};

#endif	/* !_CAN_PLATFORM_CC770_H */