1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2007 Freescale Semiconductor.
11 /* BCSR Bit definitions
39 6 GETH transactive reset
56 2 board host mode indication
65 7 Real time clock reset
72 6 Ready only - indicate flash ready after burning
76 #define BCSR_UCC1_GETH_EN (0x1 << 7)
77 #define BCSR_UCC2_GETH_EN (0x1 << 7)
78 #define BCSR_UCC1_MODE_MSK (0x3 << 4)
79 #define BCSR_UCC2_MODE_MSK (0x3 << 0)
81 /*BCSR Utils functions*/
83 void enable_8568mds_duart(void);
84 void enable_8568mds_flash_write(void);
85 void disable_8568mds_flash_write(void);
86 void enable_8568mds_qe_mdio(void);
88 #if defined(CONFIG_UEC_ETH1) || defined(CONFIG_UEC_ETH2)
89 void reset_8568mds_uccs(void);
92 #endif /* __BCSR_H_ */