mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

Binding example should not contain other nodes, including other providers like syscon, because this is redundant and only adds unnecessary bloat. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20250509112130.123462-4-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
62 lines
1.2 KiB
YAML
62 lines
1.2 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/spi/nuvoton,wpcm450-fiu.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Nuvoton WPCM450 Flash Interface Unit (FIU)
|
|
|
|
maintainers:
|
|
- Jonathan Neuschäfer <j.neuschaefer@gmx.net>
|
|
|
|
allOf:
|
|
- $ref: /schemas/spi/spi-controller.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: nuvoton,wpcm450-fiu
|
|
|
|
reg:
|
|
items:
|
|
- description: FIU registers
|
|
- description: Memory-mapped flash contents
|
|
|
|
reg-names:
|
|
items:
|
|
- const: control
|
|
- const: memory
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
nuvoton,shm:
|
|
$ref: /schemas/types.yaml#/definitions/phandle
|
|
description: a phandle to the SHM block (see ../arm/nuvoton,shm.yaml)
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
spi@c8000000 {
|
|
compatible = "nuvoton,wpcm450-fiu";
|
|
reg = <0xc8000000 0x1000>, <0xc0000000 0x4000000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg-names = "control", "memory";
|
|
clocks = <&clk 0>;
|
|
nuvoton,shm = <&shm>;
|
|
|
|
flash@0 {
|
|
compatible = "jedec,spi-nor";
|
|
reg = <0>;
|
|
};
|
|
};
|