mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 19:14:30 +08:00
ad73c629b5
This system controller contains several registers that have nothing to do with the clock handling, like the DMA mux register. Describe this part of the system controller as a subnode. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Stephen Boyd <sboyd@kernel.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20220427095653.91804-3-miquel.raynal@bootlin.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
74 lines
1.6 KiB
YAML
74 lines
1.6 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/renesas,r9a06g032-sysctrl.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Renesas RZ/N1D (R9A06G032) System Controller
|
|
|
|
maintainers:
|
|
- Gareth Williams <gareth.williams.jx@renesas.com>
|
|
- Geert Uytterhoeven <geert+renesas@glider.be>
|
|
|
|
properties:
|
|
compatible:
|
|
const: renesas,r9a06g032-sysctrl
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 1
|
|
items:
|
|
- description: External 40 MHz crystal
|
|
- description: Optional external 32.768 kHz crystal
|
|
- description: Optional external JTAG input
|
|
- description: Optional external RGMII_REFCLK
|
|
|
|
clock-names:
|
|
minItems: 1
|
|
items:
|
|
- const: mclk
|
|
- const: rtc
|
|
- const: jtag
|
|
- const: rgmii_ref_ext
|
|
|
|
'#clock-cells':
|
|
const: 1
|
|
|
|
'#power-domain-cells':
|
|
const: 0
|
|
|
|
'#address-cells':
|
|
const: 1
|
|
|
|
'#size-cells':
|
|
const: 1
|
|
|
|
patternProperties:
|
|
"^dma-router@[a-f0-9]+$":
|
|
type: object
|
|
$ref: "../dma/renesas,rzn1-dmamux.yaml#"
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
- '#clock-cells'
|
|
- '#power-domain-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
sysctrl: system-controller@4000c000 {
|
|
compatible = "renesas,r9a06g032-sysctrl";
|
|
reg = <0x4000c000 0x1000>;
|
|
clocks = <&ext_mclk>, <&ext_rtc_clk>, <&ext_jtag_clk>,
|
|
<&ext_rgmii_ref>;
|
|
clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext";
|
|
#clock-cells = <1>;
|
|
#power-domain-cells = <0>;
|
|
};
|