The Socionext interrupt controller internal to the the PCI block isn't documented which causes warnings when unevaluatedProperties check is also fixed. Add the 'interrupt-controller' child node and properties and fixup the example so that interrupt properties can be parsed.
Unified · Split
| @@ -51,6 +51,19 @@ properties: · 50 unmodified lines | ||
| 51 | 51 | phy-names: |
| 52 | 52 | const: pcie-phy |
| 53 | 53 | |
| 54 | + interrupt-controller: | |
| 55 | + type: object | |
| 56 | + additionalProperties: false | |
| 57 | + | |
| 58 | + properties: | |
| 59 | + interrupt-controller: true | |
| 60 | + | |
| 61 | + '#interrupt-cells': | |
| 62 | + const: 1 | |
| 63 | + | |
| 64 | + interrupts: | |
| 65 | + maxItems: 1 | |
| 66 | + | |
| 54 | 67 | required: |
| 55 | 68 | - compatible |
| 56 | 69 | - reg |
| @@ -62,6 +75,13 @@ unevaluatedProperties: false · 5 unmodified lines | ||
| 62 | 75 | |
| 63 | 76 | examples: |
| 64 | 77 | - | |
| 78 | + bus { | |
| 79 | + gic: interrupt-controller { | |
| 80 | + interrupt-controller; | |
| 81 | + #interrupt-cells = <3>; | |
| 82 | + }; | |
| 83 | + }; | |
| 84 | + | |
| 65 | 85 | pcie: pcie@66000000 { |
| 66 | 86 | compatible = "socionext,uniphier-pcie"; |
| 67 | 87 | reg-names = "dbi", "link", "config"; |
| @@ -80,6 +100,7 @@ examples: · 12 unmodified lines | ||
| 80 | 100 | phys = <&pcie_phy>; |
| 81 | 101 | #interrupt-cells = <1>; |
| 82 | 102 | interrupt-names = "dma", "msi"; |
| 103 | + interrupt-parent = <&gic>; | |
| 83 | 104 | interrupts = <0 224 4>, <0 225 4>; |
| 84 | 105 | interrupt-map-mask = <0 0 0 7>; |
| 85 | 106 | interrupt-map = <0 0 0 1 &pcie_intc 0>, |
| @@ -87,7 +108,7 @@ examples: · 1 unmodified line | ||
| 87 | 108 | <0 0 0 3 &pcie_intc 2>, |
| 88 | 109 | <0 0 0 4 &pcie_intc 3>; |
| 89 | 110 | |
| 90 | − pcie_intc: legacy-interrupt-controller { | |
| 111 | + pcie_intc: interrupt-controller { | |
| 91 | 112 | interrupt-controller; |
| 92 | 113 | #interrupt-cells = <1>; |
| 93 | 114 | interrupt-parent = <&gic>; |