mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
9a065fcfec
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
27 lines
984 B
Diff
27 lines
984 B
Diff
--- a/include/dt-bindings/pinctrl/mt7623-pinfunc.h
|
|
+++ b/include/dt-bindings/pinctrl/mt7623-pinfunc.h
|
|
@@ -505,6 +505,9 @@
|
|
#define MT7623_PIN_272_G2_RXD3_FUNC_GPIO272 (MTK_PIN_NO(272) | 0)
|
|
#define MT7623_PIN_272_G2_RXD3_FUNC_G2_RXD3 (MTK_PIN_NO(272) | 1)
|
|
|
|
+#define MT7623_PIN_273_ESW_INT_FUNC_GPIO273 (MTK_PIN_NO(273) | 0)
|
|
+#define MT7623_PIN_273_ESW_INT_FUNC_ESW_INT (MTK_PIN_NO(273) | 1)
|
|
+
|
|
#define MT7623_PIN_274_G2_RXDV_FUNC_GPIO274 (MTK_PIN_NO(274) | 0)
|
|
#define MT7623_PIN_274_G2_RXDV_FUNC_G2_RXDV (MTK_PIN_NO(274) | 1)
|
|
|
|
--- a/drivers/pinctrl/mediatek/pinctrl-mtk-mt7623.h
|
|
+++ b/drivers/pinctrl/mediatek/pinctrl-mtk-mt7623.h
|
|
@@ -1894,8 +1894,9 @@ static const struct mtk_desc_pin mtk_pin
|
|
MTK_PIN(
|
|
PINCTRL_PIN(273, "GPIO273"),
|
|
NULL, "mt7623",
|
|
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
|
|
- MTK_FUNCTION(0, "GPIO273")
|
|
+ MTK_EINT_FUNCTION(0, 168),
|
|
+ MTK_FUNCTION(0, "GPIO273"),
|
|
+ MTK_FUNCTION(1, "ESW_INT")
|
|
),
|
|
MTK_PIN(
|
|
PINCTRL_PIN(274, "G2_RXDV"),
|