4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-21 10:03:31 +08:00
GuEe-GUI 1ac8044294 [DM/FIXUP] Fixup PCI device ofw private node for MSI
Some PCI device devicetree is like:
```dts
pcie@fe270000 {
    device_type = "pci";
    msi-map = <0x1000 0x9c 0x1000 0x1000>;

    pcie@10 {
        reg = <0x100000 0x00 0x00 0x00 0x00>;
        #address-cells = <0x03>;
        #size-cells = <0x02>;

        pcie@10,0 {
            reg = <0x00 0x00 0x00 0x00 0x00>;
        };
    };
};
```

that the pcie@10,0 have a private ofw node, it will find
property name `msi-map` or `msi-parent` fail.
We should only find the property in host bridge's ofw node.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-11-26 11:14:51 +08:00
..
2024-08-19 10:39:15 +08:00
2024-11-20 15:53:23 +08:00
2024-11-24 13:57:37 +08:00
2024-09-29 20:49:35 -04:00
2024-11-20 16:11:10 +08:00
2024-11-03 10:08:45 +08:00
2024-10-19 12:23:21 -04:00
2013-01-08 22:40:58 +08:00