blob: d661e8236f32c7f05ef94840b4775c4e2fe78448 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Albert ARIBAUD \(3ADEV\)ee69a392015-03-31 11:40:51 +02002/*
3 * LPC32xx MUX interface
4 *
5 * (C) Copyright 2015 DENX Software Engineering GmbH
6 * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr>
Albert ARIBAUD \(3ADEV\)ee69a392015-03-31 11:40:51 +02007 */
8
9/**
10 * MUX register map for LPC32xx
11 */
12
13struct mux_regs {
Sylvain Lemieuxda096772015-07-27 13:37:34 -040014 u32 reserved1[10];
15 u32 p2_mux_set;
16 u32 p2_mux_clr;
17 u32 p2_mux_state;
18 u32 reserved2[51];
Albert ARIBAUD \(3ADEV\)ee69a392015-03-31 11:40:51 +020019 u32 p_mux_set;
20 u32 p_mux_clr;
21 u32 p_mux_state;
Sylvain Lemieuxda096772015-07-27 13:37:34 -040022 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;
Albert ARIBAUD \(3ADEV\)ee69a392015-03-31 11:40:51 +020034};