Browse Source
* bad-graph-child-address.dts: additional child address test since the one in bad-graph.dts is now shadowed by its prerequisites also failing. * bad-graph-reg-cells.dts: test warnings produced by check_graph_reg(). Signed-off-by: Johannes Beisswenger <johannes.beisswenger@cetitec.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
Johannes Beisswenger
2 years ago
committed by
David Gibson
3 changed files with 61 additions and 0 deletions
@ -0,0 +1,22 @@
@@ -0,0 +1,22 @@
|
||||
/dts-v1/; |
||||
/ { |
||||
bar: bar { |
||||
ports { |
||||
#address-cells = <1>; |
||||
#size-cells = <0>; |
||||
port@0 { |
||||
reg = <0>; |
||||
bar_con: endpoint { |
||||
remote-endpoint = <&foo_con>; |
||||
}; |
||||
}; |
||||
}; |
||||
}; |
||||
foo { |
||||
port { |
||||
foo_con: endpoint { |
||||
remote-endpoint = <&bar_con>; |
||||
}; |
||||
}; |
||||
}; |
||||
}; |
@ -0,0 +1,36 @@
@@ -0,0 +1,36 @@
|
||||
/dts-v1/; |
||||
/ { |
||||
bar: bar { |
||||
ports { |
||||
#address-cells = <1>; |
||||
#size-cells = <1>; // should always be 0 |
||||
port@1 { |
||||
reg = <1 2>; // should always contain only a single cell |
||||
bar_con: endpoint { |
||||
remote-endpoint = <&foo_con>; |
||||
}; |
||||
}; |
||||
port@2 { |
||||
reg = <2>; |
||||
bar_con2: endpoint { |
||||
remote-endpoint = <&foo_con2>; |
||||
}; |
||||
}; |
||||
}; |
||||
}; |
||||
foo { |
||||
port { |
||||
#address-cells = <1>; |
||||
#size-cells = <1>; // should always be 0 |
||||
foo_con: endpoint@1 { |
||||
reg = <1 2>; // should always contain only a single cell |
||||
remote-endpoint = <&bar_con>; |
||||
}; |
||||
foo_con2: endpoint@2 { |
||||
reg = <2>; |
||||
remote-endpoint = <&bar_con2>; |
||||
}; |
||||
}; |
||||
|
||||
}; |
||||
}; |
Loading…
Reference in new issue