2 * Copyright 2007 Freescale Semiconductor.
4 * SPDX-License-Identifier: GPL-2.0+
12 /* BCSR Bit definitions
40 6 GETH transactive reset
57 2 board host mode indication
66 7 Real time clock reset
73 6 Ready only - indicate flash ready after burning
77 #define BCSR_UCC1_GETH_EN (0x1 << 7)
78 #define BCSR_UCC2_GETH_EN (0x1 << 7)
79 #define BCSR_UCC1_MODE_MSK (0x3 << 4)
80 #define BCSR_UCC2_MODE_MSK (0x3 << 0)
82 /*BCSR Utils functions*/
84 void enable_8568mds_duart(void);
85 void enable_8568mds_flash_write(void);
86 void disable_8568mds_flash_write(void);
87 void enable_8568mds_qe_mdio(void);
89 #if defined(CONFIG_UEC_ETH1) || defined(CONFIG_UEC_ETH2)
90 void reset_8568mds_uccs(void);
93 #endif /* __BCSR_H_ */