diff options
Diffstat (limited to 'sys/contrib/device-tree/Bindings/pwm/adi,axi-pwmgen.yaml')
| -rw-r--r-- | sys/contrib/device-tree/Bindings/pwm/adi,axi-pwmgen.yaml | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/sys/contrib/device-tree/Bindings/pwm/adi,axi-pwmgen.yaml b/sys/contrib/device-tree/Bindings/pwm/adi,axi-pwmgen.yaml index ec6115d3796b..e4c2d5186ded 100644 --- a/sys/contrib/device-tree/Bindings/pwm/adi,axi-pwmgen.yaml +++ b/sys/contrib/device-tree/Bindings/pwm/adi,axi-pwmgen.yaml @@ -14,7 +14,7 @@ description: The Analog Devices AXI PWM generator can generate PWM signals with variable pulse width and period. - https://wiki.analog.com/resources/fpga/docs/axi_pwm_gen + https://analogdevicesinc.github.io/hdl/library/axi_pwm_gen/index.html allOf: - $ref: pwm.yaml# @@ -27,22 +27,31 @@ properties: maxItems: 1 "#pwm-cells": - const: 2 + const: 3 clocks: - maxItems: 1 + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + items: + - const: axi + - const: ext required: - reg - clocks + - clock-names unevaluatedProperties: false examples: - | pwm@44b00000 { - compatible = "adi,axi-pwmgen-2.00.a"; - reg = <0x44b00000 0x1000>; - clocks = <&spi_clk>; - #pwm-cells = <2>; + compatible = "adi,axi-pwmgen-2.00.a"; + reg = <0x44b00000 0x1000>; + clocks = <&fpga_clk>, <&spi_clk>; + clock-names = "axi", "ext"; + #pwm-cells = <3>; }; |
