Several devices can be attached to memory controllers (or memory-mapped buses), thus they can come with additional controller-specific properties, e.g. devices wired under Intel IXP4XX bus: cfi-flash, intel,ixp4xx-compact-flash, NS8250 serial and MAX6369 watchdog. Referencing Memory Controller or IXP4XX bus peripheral properties fixes few dtbs_check warnings like: intel-ixp42x-gateworks-gw2348.dtb: ide@1,0: Unevaluated properties are not allowed ('intel,ixp4xx-eb-ahb-split-transfers', 'intel,ixp4xx-eb-byte-access', ... ' were unexpected) Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/r/20230206092624.22922-3-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
46 lines
887 B
YAML
46 lines
887 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/watchdog/maxim,max63xx.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Maxim 63xx Watchdog Timers
|
|
|
|
allOf:
|
|
- $ref: "watchdog.yaml#"
|
|
- $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
|
|
|
|
maintainers:
|
|
- Marc Zyngier <maz@kernel.org>
|
|
- Linus Walleij <linus.walleij@linaro.org>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- maxim,max6369
|
|
- maxim,max6370
|
|
- maxim,max6371
|
|
- maxim,max6372
|
|
- maxim,max6373
|
|
- maxim,max6374
|
|
|
|
reg:
|
|
description: This is a 1-byte memory-mapped address
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
wdt: watchdog@50000000 {
|
|
compatible = "maxim,max6369";
|
|
reg = <0x50000000 0x1>;
|
|
timeout-sec = <10>;
|
|
};
|
|
|
|
...
|