Skip to content

Commit 42918d2

Browse files
author
Dinh Nguyen
committed
dt-bindings: altera: document syscon as fallback for sys-mgr
For 32-bit Altera SoCFPGA parts, the sys-mgr uses the syscon as a fallback. This change addresses this warning from dtbs_check: sysmgr@ffd08000 (altr,sys-mgr): compatible: 'oneOf' conditional failed, one must be fixed: ['altr,sys-mgr', 'syscon'] is too long 'altr,sys-mgr-s10' was expected 'altr,sys-mgr' was expected from schema $id: http://devicetree.org/schemas/soc/altera/altr,sys-mgr.yaml Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
1 parent 5acb925 commit 42918d2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Documentation/devicetree/bindings/soc/altera/altr,sys-mgr.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ properties:
1313
compatible:
1414
oneOf:
1515
- description: Cyclone5/Arria5/Arria10
16-
const: altr,sys-mgr
16+
items:
17+
- const: altr,sys-mgr
18+
- const: syscon
1719
- description: Stratix10 SoC
1820
items:
1921
- const: altr,sys-mgr-s10
@@ -45,7 +47,7 @@ additionalProperties: false
4547
examples:
4648
- |
4749
sysmgr@ffd08000 {
48-
compatible = "altr,sys-mgr";
50+
compatible = "altr,sys-mgr", "syscon";
4951
reg = <0xffd08000 0x1000>;
5052
cpu1-start-addr = <0xffd080c4>;
5153
};

0 commit comments

Comments
 (0)