sheevaplug.c (3dc23f7852158fafde9eb736060f9e8131997f19) sheevaplug.c (d5c5132f878394b7487d3f6da0d469aa72737318)
1/*
2 * (C) Copyright 2009
3 * Marvell Semiconductor <www.marvell.com>
4 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8

--- 8 unchanged lines hidden (view full) ---

17
18int board_early_init_f(void)
19{
20 /*
21 * default gpio configuration
22 * There are maximum 64 gpios controlled through 2 sets of registers
23 * the below configuration configures mainly initial LED status
24 */
1/*
2 * (C) Copyright 2009
3 * Marvell Semiconductor <www.marvell.com>
4 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8

--- 8 unchanged lines hidden (view full) ---

17
18int board_early_init_f(void)
19{
20 /*
21 * default gpio configuration
22 * There are maximum 64 gpios controlled through 2 sets of registers
23 * the below configuration configures mainly initial LED status
24 */
25 kw_config_gpio(SHEEVAPLUG_OE_VAL_LOW,
26 SHEEVAPLUG_OE_VAL_HIGH,
27 SHEEVAPLUG_OE_LOW, SHEEVAPLUG_OE_HIGH);
25 mvebu_config_gpio(SHEEVAPLUG_OE_VAL_LOW,
26 SHEEVAPLUG_OE_VAL_HIGH,
27 SHEEVAPLUG_OE_LOW, SHEEVAPLUG_OE_HIGH);
28
29 /* Multi-Purpose Pins Functionality configuration */
30 static const u32 kwmpp_config[] = {
31 MPP0_NF_IO2,
32 MPP1_NF_IO3,
33 MPP2_NF_IO4,
34 MPP3_NF_IO5,
35 MPP4_NF_IO6,

--- 98 unchanged lines hidden ---
28
29 /* Multi-Purpose Pins Functionality configuration */
30 static const u32 kwmpp_config[] = {
31 MPP0_NF_IO2,
32 MPP1_NF_IO3,
33 MPP2_NF_IO4,
34 MPP3_NF_IO5,
35 MPP4_NF_IO6,

--- 98 unchanged lines hidden ---