.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | | - * This program is free software; you can redistribute it and/or modify it |
---|
3 | | - * under the terms of the GNU General Public License version 2 as published |
---|
4 | | - * by the Free Software Foundation. |
---|
5 | 3 | * |
---|
6 | 4 | * Parts of this file are based on Ralink's 2.6.21 BSP |
---|
7 | 5 | * |
---|
.. | .. |
---|
49 | 47 | static struct rt2880_pmx_func rt3352_lna_func[] = { FUNC("lna", 0, 36, 2) }; |
---|
50 | 48 | static struct rt2880_pmx_func rt3352_pa_func[] = { FUNC("pa", 0, 38, 2) }; |
---|
51 | 49 | static struct rt2880_pmx_func rt3352_led_func[] = { FUNC("led", 0, 40, 5) }; |
---|
| 50 | +static struct rt2880_pmx_func rt3352_cs1_func[] = { |
---|
| 51 | + FUNC("spi_cs1", 0, 45, 1), |
---|
| 52 | + FUNC("wdg_cs1", 1, 45, 1), |
---|
| 53 | +}; |
---|
52 | 54 | |
---|
53 | 55 | static struct rt2880_pmx_group rt3050_pinmux_data[] = { |
---|
54 | 56 | GRP("i2c", i2c_func, 1, RT305X_GPIO_MODE_I2C), |
---|
.. | .. |
---|
75 | 77 | GRP("lna", rt3352_lna_func, 1, RT3352_GPIO_MODE_LNA), |
---|
76 | 78 | GRP("pa", rt3352_pa_func, 1, RT3352_GPIO_MODE_PA), |
---|
77 | 79 | GRP("led", rt3352_led_func, 1, RT5350_GPIO_MODE_PHY_LED), |
---|
| 80 | + GRP("spi_cs1", rt3352_cs1_func, 2, RT5350_GPIO_MODE_SPI_CS1), |
---|
78 | 81 | { 0 } |
---|
79 | 82 | }; |
---|
80 | 83 | |
---|