Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Albert ARIBAUD \(3ADEV\) | ee69a39 | 2015-03-31 11:40:51 +0200 | [diff] [blame] | 2 | /* |
| 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\) | ee69a39 | 2015-03-31 11:40:51 +0200 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | /** |
| 10 | * MUX register map for LPC32xx |
| 11 | */ |
| 12 | |
| 13 | struct mux_regs { |
Sylvain Lemieux | da09677 | 2015-07-27 13:37:34 -0400 | [diff] [blame] | 14 | 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\) | ee69a39 | 2015-03-31 11:40:51 +0200 | [diff] [blame] | 19 | u32 p_mux_set; |
| 20 | u32 p_mux_clr; |
| 21 | u32 p_mux_state; |
Sylvain Lemieux | da09677 | 2015-07-27 13:37:34 -0400 | [diff] [blame] | 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; |
Albert ARIBAUD \(3ADEV\) | ee69a39 | 2015-03-31 11:40:51 +0200 | [diff] [blame] | 34 | }; |