[PATCH] pinctrl: mediatek: mt8512: fix the wrong start address of ranges
Chunfeng Yun
chunfeng.yun at mediatek.com
Fri Aug 7 11:32:03 CEST 2020
The start address of dout, pullen and pullsel ragnes are wrong,
so fix up them.
Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
---
drivers/pinctrl/mediatek/pinctrl-mt8512.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8512.c b/drivers/pinctrl/mediatek/pinctrl-mt8512.c
index af43754..bf2a8dd9 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt8512.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt8512.c
@@ -31,15 +31,15 @@ static const struct mtk_pin_field_calc mt8512_pin_di_range[] = {
};
static const struct mtk_pin_field_calc mt8512_pin_do_range[] = {
- PIN_FIELD(0, 115, 0x860, 0x10, 0, 1),
+ PIN_FIELD(0, 115, 0x0A0, 0x10, 0, 1),
};
static const struct mtk_pin_field_calc mt8512_pin_pullen_range[] = {
- PIN_FIELD(0, 115, 0x900, 0x10, 0, 1),
+ PIN_FIELD(0, 115, 0x860, 0x10, 0, 1),
};
static const struct mtk_pin_field_calc mt8512_pin_pullsel_range[] = {
- PIN_FIELD(0, 115, 0x0A0, 0x10, 0, 1),
+ PIN_FIELD(0, 115, 0x900, 0x10, 0, 1),
};
static const struct mtk_pin_field_calc mt8512_pin_ies_range[] = {
--
1.9.1
More information about the U-Boot
mailing list