pinctrl: rockchip: fix rv1106 pin banks

Fixes: 675d82c5d7 ("pinctrl: rockchip: add rv1106 support")
Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
Change-Id: Ib6ab77a2e887d7166409afb0e6a5901f9731ab53
This commit is contained in:
Steven Liu
2022-03-22 09:17:58 +08:00
committed by Tao Huang
parent 0acaca1540
commit d0bec4fc8f
+29 -21
View File
@@ -3900,27 +3900,35 @@ static struct rockchip_pin_ctrl px30_pin_ctrl __maybe_unused = {
};
static struct rockchip_pin_bank rv1106_pin_banks[] = {
PIN_BANK_IOMUX_FLAGS(0, 8, "gpio0", IOMUX_WIDTH_4BIT | IOMUX_SOURCE_PMU,
0, 0, 0),
PIN_BANK_IOMUX_FLAGS_OFFSET(1, 32, "gpio1", IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
0, 0x08, 0x10, 0x18),
PIN_BANK_IOMUX_FLAGS_OFFSET(2, 16, "gpio2", IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
0, 0,
0x10020, 0x10028, 0, 0),
PIN_BANK_IOMUX_FLAGS_OFFSET(3, 32, "gpio3", IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
0x20040, 0x20048, 0x20050, 0x20058),
PIN_BANK_IOMUX_FLAGS_OFFSET(4, 24, "gpio4", IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
0,
0x30000, 0x30008, 0x30010, 0),
PIN_BANK_IOMUX_FLAGS(0, 32, "gpio0",
IOMUX_WIDTH_4BIT | IOMUX_SOURCE_PMU,
IOMUX_WIDTH_4BIT | IOMUX_SOURCE_PMU,
IOMUX_WIDTH_4BIT | IOMUX_SOURCE_PMU,
IOMUX_WIDTH_4BIT | IOMUX_SOURCE_PMU),
PIN_BANK_IOMUX_FLAGS_OFFSET(1, 32, "gpio1",
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
0, 0x08, 0x10, 0x18),
PIN_BANK_IOMUX_FLAGS_OFFSET(2, 32, "gpio2",
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
0x10020, 0x10028, 0, 0),
PIN_BANK_IOMUX_FLAGS_OFFSET(3, 32, "gpio3",
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
0x20040, 0x20048, 0x20050, 0x20058),
PIN_BANK_IOMUX_FLAGS_OFFSET(4, 24, "gpio4",
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
IOMUX_WIDTH_4BIT,
0,
0x30000, 0x30008, 0x30010, 0),
};
static struct rockchip_pin_ctrl rv1106_pin_ctrl __maybe_unused = {