commit | 530f29cba55726a52d22adb762d4af41bf21bf02 | [log] [tgz] |
---|---|---|
author | Niklas Cassel <niklas.cassel@wdc.com> | Tue Mar 01 10:35:42 2022 +0000 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Tue Mar 15 17:43:11 2022 +0800 |
tree | d2c0bde59e6ced1312a2c5b24db170dbff9b8f61 | |
parent | a6c86ec2d6acbb173414ced61fc9c75f80b622f6 [diff] |
k210: dts: align plic node with Linux The Linux PLIC interrupt-controller driver actually initializes the hart context registers in the PLIC driver exactly in the same order as specified in the interrupts-extended device tree property. See the device tree binding [1]. The ordering of the interrupts is therefore essential in order to configure the PLIC correctly. Fix the order so that we will have sane IRQ behavior when booting Linux with the u-boot device tree. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>