mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-07 13:45:07 -05:00
Many common bindings follow the same pattern of client properties
containing a phandle and N arg cells where N is defined in the provider
with a '#<specifier>-cells' property such as:
intc0: interrupt-controller@0 {
#interrupt-cells = <3>;
};
intc1: interrupt-controller@1 {
#interrupt-cells = <2>;
};
node {
interrupts-extended = <&intc0 1 2 3>, <&intc1 4 5>;
};
Add checks for properties following this pattern.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
11 lines
124 B
Text
11 lines
124 B
Text
/dts-v1/;
|
|
|
|
/ {
|
|
intc: interrupt-controller {
|
|
#interrupt-cells = <3>;
|
|
};
|
|
|
|
node {
|
|
interrupts-extended = <&intc>;
|
|
};
|
|
};
|