pinctrl: aspeed-g5: Adapt to new LPC device tree layout
authorChia-Wei, Wang <chiawei_wang@aspeedtech.com>
Fri, 19 Mar 2021 06:27:35 +0000 (16:57 +1030)
committerJoel Stanley <joel@jms.id.au>
Fri, 9 Apr 2021 04:09:21 +0000 (13:39 +0930)
commiteaffd32bea0c93226d4701b1736b04827f754ccf
treef5bdf3fd11231c58e2f0db4ecf29bf8848716b1e
parent8f88156f82ea4c152b3a90cc9f2a111327089d47
pinctrl: aspeed-g5: Adapt to new LPC device tree layout

Add check against LPC device v2 compatible string to
ensure that the fixed device tree layout is adopted.
The LPC register offsets are also fixed accordingly.

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210319062752.145730-4-andrew@aj.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c