1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/pwm/renesas 4 $id: http://devicetree.org/schemas/pwm/renesas,tpu-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Renesas R-Car Timer Pulse Unit PWM Cont 7 title: Renesas R-Car Timer Pulse Unit PWM Controller 8 8 9 maintainers: 9 maintainers: 10 - Laurent Pinchart <laurent.pinchart+renesas@ 10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 11 11 12 select: 12 select: 13 properties: 13 properties: 14 compatible: 14 compatible: 15 contains: 15 contains: 16 const: renesas,tpu 16 const: renesas,tpu 17 required: 17 required: 18 - compatible 18 - compatible 19 - '#pwm-cells' 19 - '#pwm-cells' 20 20 21 properties: 21 properties: 22 compatible: 22 compatible: 23 items: 23 items: 24 - enum: 24 - enum: 25 - renesas,tpu-r8a73a4 # R-Mobile A 25 - renesas,tpu-r8a73a4 # R-Mobile APE6 26 - renesas,tpu-r8a7740 # R-Mobile A 26 - renesas,tpu-r8a7740 # R-Mobile A1 27 - renesas,tpu-r8a7742 # RZ/G1H 27 - renesas,tpu-r8a7742 # RZ/G1H 28 - renesas,tpu-r8a7743 # RZ/G1M 28 - renesas,tpu-r8a7743 # RZ/G1M 29 - renesas,tpu-r8a7744 # RZ/G1N 29 - renesas,tpu-r8a7744 # RZ/G1N 30 - renesas,tpu-r8a7745 # RZ/G1E 30 - renesas,tpu-r8a7745 # RZ/G1E 31 - renesas,tpu-r8a7790 # R-Car H2 31 - renesas,tpu-r8a7790 # R-Car H2 32 - renesas,tpu-r8a7791 # R-Car M2-W 32 - renesas,tpu-r8a7791 # R-Car M2-W 33 - renesas,tpu-r8a7792 # R-Car V2H 33 - renesas,tpu-r8a7792 # R-Car V2H 34 - renesas,tpu-r8a7793 # R-Car M2-N 34 - renesas,tpu-r8a7793 # R-Car M2-N 35 - renesas,tpu-r8a7794 # R-Car E2 35 - renesas,tpu-r8a7794 # R-Car E2 36 - renesas,tpu-r8a7795 # R-Car H3 36 - renesas,tpu-r8a7795 # R-Car H3 37 - renesas,tpu-r8a7796 # R-Car M3-W 37 - renesas,tpu-r8a7796 # R-Car M3-W 38 - renesas,tpu-r8a77961 # R-Car M3-W 38 - renesas,tpu-r8a77961 # R-Car M3-W+ 39 - renesas,tpu-r8a77965 # R-Car M3-N 39 - renesas,tpu-r8a77965 # R-Car M3-N 40 - renesas,tpu-r8a77970 # R-Car V3M 40 - renesas,tpu-r8a77970 # R-Car V3M 41 - renesas,tpu-r8a77980 # R-Car V3H 41 - renesas,tpu-r8a77980 # R-Car V3H 42 - renesas,tpu-r8a779a0 # R-Car V3U 42 - renesas,tpu-r8a779a0 # R-Car V3U 43 - renesas,tpu-r8a779g0 # R-Car V4H 43 - renesas,tpu-r8a779g0 # R-Car V4H 44 - renesas,tpu-r8a779h0 # R-Car V4M << 45 - const: renesas,tpu 44 - const: renesas,tpu 46 45 47 reg: 46 reg: 48 # Base address and length of each memory r 47 # Base address and length of each memory resource used by the PWM 49 # controller hardware module. 48 # controller hardware module. 50 maxItems: 1 49 maxItems: 1 51 50 52 interrupts: 51 interrupts: 53 maxItems: 1 52 maxItems: 1 54 53 55 '#pwm-cells': 54 '#pwm-cells': 56 # should be 3. See pwm.yaml in this direct 55 # should be 3. See pwm.yaml in this directory for a description of 57 # the cells format. The only third cell fl 56 # the cells format. The only third cell flag supported by this binding is 58 # PWM_POLARITY_INVERTED. 57 # PWM_POLARITY_INVERTED. 59 const: 3 58 const: 3 60 59 61 clocks: 60 clocks: 62 maxItems: 1 61 maxItems: 1 63 62 64 power-domains: 63 power-domains: 65 maxItems: 1 64 maxItems: 1 66 65 67 resets: 66 resets: 68 maxItems: 1 67 maxItems: 1 69 68 70 required: 69 required: 71 - compatible 70 - compatible 72 - reg 71 - reg 73 - clocks 72 - clocks 74 - power-domains 73 - power-domains 75 74 76 allOf: 75 allOf: 77 - $ref: pwm.yaml# 76 - $ref: pwm.yaml# 78 77 79 - if: 78 - if: 80 not: 79 not: 81 properties: 80 properties: 82 compatible: 81 compatible: 83 contains: 82 contains: 84 enum: 83 enum: 85 - renesas,tpu-r8a73a4 84 - renesas,tpu-r8a73a4 86 - renesas,tpu-r8a7740 85 - renesas,tpu-r8a7740 87 then: 86 then: 88 required: 87 required: 89 - resets 88 - resets 90 89 91 additionalProperties: false 90 additionalProperties: false 92 91 93 examples: 92 examples: 94 - | 93 - | 95 #include <dt-bindings/clock/r8a7740-clock. 94 #include <dt-bindings/clock/r8a7740-clock.h> 96 95 97 tpu: pwm@e6600000 { 96 tpu: pwm@e6600000 { 98 compatible = "renesas,tpu-r8a7740", "r 97 compatible = "renesas,tpu-r8a7740", "renesas,tpu"; 99 reg = <0xe6600000 0x148>; 98 reg = <0xe6600000 0x148>; 100 clocks = <&mstp3_clks R8A7740_CLK_TPU0 99 clocks = <&mstp3_clks R8A7740_CLK_TPU0>; 101 power-domains = <&pd_a3sp>; 100 power-domains = <&pd_a3sp>; 102 #pwm-cells = <3>; 101 #pwm-cells = <3>; 103 }; 102 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.