xref: /linux/Documentation/devicetree/bindings/usb/renesas,rzn1-usbf.yaml (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1*a90498e5SHerve Codina# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*a90498e5SHerve Codina%YAML 1.2
3*a90498e5SHerve Codina---
4*a90498e5SHerve Codina$id: http://devicetree.org/schemas/usb/renesas,rzn1-usbf.yaml#
5*a90498e5SHerve Codina$schema: http://devicetree.org/meta-schemas/core.yaml#
6*a90498e5SHerve Codina
7*a90498e5SHerve Codinatitle: Renesas RZ/N1 SoCs USBF (USB Function) controller
8*a90498e5SHerve Codina
9*a90498e5SHerve Codinadescription: |
10*a90498e5SHerve Codina   The Renesas USBF controller is an USB2.0 device
11*a90498e5SHerve Codina   controller (UDC).
12*a90498e5SHerve Codina
13*a90498e5SHerve Codinamaintainers:
14*a90498e5SHerve Codina  - Herve Codina <herve.codina@bootlin.com>
15*a90498e5SHerve Codina
16*a90498e5SHerve Codinaproperties:
17*a90498e5SHerve Codina  compatible:
18*a90498e5SHerve Codina    items:
19*a90498e5SHerve Codina      - enum:
20*a90498e5SHerve Codina          - renesas,r9a06g032-usbf
21*a90498e5SHerve Codina      - const: renesas,rzn1-usbf
22*a90498e5SHerve Codina
23*a90498e5SHerve Codina  reg:
24*a90498e5SHerve Codina    maxItems: 1
25*a90498e5SHerve Codina
26*a90498e5SHerve Codina  clocks:
27*a90498e5SHerve Codina    items:
28*a90498e5SHerve Codina      - description: Internal bus clock (AHB) for Function
29*a90498e5SHerve Codina      - description: Internal bus clock (AHB) for Power Management
30*a90498e5SHerve Codina
31*a90498e5SHerve Codina  clock-names:
32*a90498e5SHerve Codina    items:
33*a90498e5SHerve Codina      - const: hclkf
34*a90498e5SHerve Codina      - const: hclkpm
35*a90498e5SHerve Codina
36*a90498e5SHerve Codina  power-domains:
37*a90498e5SHerve Codina    maxItems: 1
38*a90498e5SHerve Codina
39*a90498e5SHerve Codina  interrupts:
40*a90498e5SHerve Codina    items:
41*a90498e5SHerve Codina      - description: The USBF EPC interrupt
42*a90498e5SHerve Codina      - description: The USBF AHB-EPC interrupt
43*a90498e5SHerve Codina
44*a90498e5SHerve Codinarequired:
45*a90498e5SHerve Codina  - compatible
46*a90498e5SHerve Codina  - reg
47*a90498e5SHerve Codina  - clocks
48*a90498e5SHerve Codina  - clock-names
49*a90498e5SHerve Codina  - power-domains
50*a90498e5SHerve Codina  - interrupts
51*a90498e5SHerve Codina
52*a90498e5SHerve CodinaadditionalProperties: false
53*a90498e5SHerve Codina
54*a90498e5SHerve Codinaexamples:
55*a90498e5SHerve Codina  - |
56*a90498e5SHerve Codina    #include <dt-bindings/interrupt-controller/arm-gic.h>
57*a90498e5SHerve Codina    #include <dt-bindings/clock/r9a06g032-sysctrl.h>
58*a90498e5SHerve Codina
59*a90498e5SHerve Codina    usb@4001e000 {
60*a90498e5SHerve Codina        compatible = "renesas,r9a06g032-usbf", "renesas,rzn1-usbf";
61*a90498e5SHerve Codina        reg = <0x4001e000 0x2000>;
62*a90498e5SHerve Codina        interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
63*a90498e5SHerve Codina                     <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
64*a90498e5SHerve Codina        clocks = <&sysctrl R9A06G032_HCLK_USBF>,
65*a90498e5SHerve Codina                 <&sysctrl R9A06G032_HCLK_USBPM>;
66*a90498e5SHerve Codina        clock-names = "hclkf", "hclkpm";
67*a90498e5SHerve Codina        power-domains = <&sysctrl>;
68*a90498e5SHerve Codina    };
69