xref: /openbmc/u-boot/arch/arm/include/asm/arch-lpc32xx/mux.h (revision 83d290c56fab2d38cd1ab4c4cc7099559c1d5046)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * LPC32xx MUX interface
4  *
5  * (C) Copyright 2015  DENX Software Engineering GmbH
6  * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr>
7  */
8 
9 /**
10  * MUX register map for LPC32xx
11  */
12 
13 struct mux_regs {
14 	u32 reserved1[10];
15 	u32 p2_mux_set;
16 	u32 p2_mux_clr;
17 	u32 p2_mux_state;
18 	u32 reserved2[51];
19 	u32 p_mux_set;
20 	u32 p_mux_clr;
21 	u32 p_mux_state;
22 	u32 reserved3;
23 	u32 p3_mux_set;
24 	u32 p3_mux_clr;
25 	u32 p3_mux_state;
26 	u32 reserved4;
27 	u32 p0_mux_set;
28 	u32 p0_mux_clr;
29 	u32 p0_mux_state;
30 	u32 reserved5;
31 	u32 p1_mux_set;
32 	u32 p1_mux_clr;
33 	u32 p1_mux_state;
34 };
35