iconnect.c (3dc23f7852158fafde9eb736060f9e8131997f19) | iconnect.c (d5c5132f878394b7487d3f6da0d469aa72737318) |
---|---|
1/* 2 * Copyright (C) 2009-2012 3 * Wojciech Dubowik <wojciech.dubowik@neratec.com> 4 * Luka Perkov <luka@openwrt.org> 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 * Copyright (C) 2009-2012 3 * Wojciech Dubowik <wojciech.dubowik@neratec.com> 4 * Luka Perkov <luka@openwrt.org> 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(ICONNECT_OE_VAL_LOW, 26 ICONNECT_OE_VAL_HIGH, 27 ICONNECT_OE_LOW, ICONNECT_OE_HIGH); | 25 mvebu_config_gpio(ICONNECT_OE_VAL_LOW, 26 ICONNECT_OE_VAL_HIGH, 27 ICONNECT_OE_LOW, ICONNECT_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, --- 58 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, --- 58 unchanged lines hidden --- |