On Freescale open-pic controllers we have a number of additional features not spec'd per openpic. (additional timers, perf mon, PCIe msi, message interrupts, ...). The problem is how to identify these features in the device tree.

For example we have:

                m...@41600 {
                        compatible = "fsl,mpc8572-msi", "fsl,mpic-msi";
                        reg = <0x41600 0x80>;
                        msi-available-ranges = <0 0x100>;
                        interrupts = <
                                0xe0 0
                                0xe1 0
                                0xe2 0
                                0xe3 0
                                0xe4 0
                                0xe5 0
                                0xe6 0
                                0xe7 0>;
                        interrupt-parent = <&mpic>;
                };

                mpic: p...@40000 {
                        interrupt-controller;
                        #address-cells = <0>;
                        #interrupt-cells = <2>;
                        reg = <0x40000 0x40000>;
                        compatible = "chrp,open-pic";
                        device_type = "open-pic";
                };

---

should we put msi under the pic node as a child and add ranges, etc. The question that raises in my mind is what does the reg property end up meaning. I assume it shouldn't stay as is.

- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to