LoongArch: Add processing ISA Node in DeviceTree
authorBinbin Zhou <zhoubinbin@loongson.cn>
Sat, 10 Dec 2022 14:40:05 +0000 (22:40 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 14 Dec 2022 00:41:53 +0000 (08:41 +0800)
commit27cab431564edba9919d1a82c2d9636d622a2493
treeac135a9e8ead711df8009fd0a83bfdd5a41b55da
parent88d4d957edc707e037449ef71a58c6530a39d01e
LoongArch: Add processing ISA Node in DeviceTree

Similar to commit 6d0068ad15e4f771b3 ("MIPS: Loongson64: Process ISA
Node in DeviceTree"), we process ISA node in DeviceTree for FDT-based
systems.

Previously, we are hardcoding reserved ISA I/O Space in, now we are
processing it I/O via DeviceTree directly. The ranges property of ISA
node is used to determine the size and address of reserved I/O space.

Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/setup.c