gpio: mpc8xxx: Support controller register physical address beyond 32-bit
authorBin Meng <bmeng.cn@gmail.com>
Thu, 25 Feb 2021 09:22:50 +0000 (17:22 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:43 +0000 (10:25 +0530)
commit271a87b4ecc498cf718738b1a5271c911eec17ff
tree6b1aaf46db033f6d9f05df17580b93895d8463bd
parentf94cbb5b87e19ad4316966b581bd40f70ee80c93
gpio: mpc8xxx: Support controller register physical address beyond 32-bit

dev_read_addr_size_index() returns fdt_addr_t which might be a
64-bit physical address. This might be true for some 85xx SoCs
whose CCSBAR is mapped beyond 4 GiB.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/include/asm/arch-mpc85xx/gpio.h
drivers/gpio/mpc8xxx_gpio.c