diff options
author | Warner Losh <imp@FreeBSD.org> | 2015-02-27 22:16:54 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2015-02-27 22:16:54 +0000 |
commit | da75c2cc5808a45edc76752ba495dcc5dcd4346c (patch) | |
tree | 74a0899e9f467d761efca9e14d7d3213fb899de8 /Bindings/pwm/pwm-sun4i.txt | |
parent | ab9104d36764981b663e037d0e48496993a070a4 (diff) | |
download | src-da75c2cc5808a45edc76752ba495dcc5dcd4346c.tar.gz src-da75c2cc5808a45edc76752ba495dcc5dcd4346c.zip |
Notes
Diffstat (limited to 'Bindings/pwm/pwm-sun4i.txt')
-rw-r--r-- | Bindings/pwm/pwm-sun4i.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Bindings/pwm/pwm-sun4i.txt b/Bindings/pwm/pwm-sun4i.txt new file mode 100644 index 000000000000..ae0273e19506 --- /dev/null +++ b/Bindings/pwm/pwm-sun4i.txt @@ -0,0 +1,20 @@ +Allwinner sun4i and sun7i SoC PWM controller + +Required properties: + - compatible: should be one of: + - "allwinner,sun4i-a10-pwm" + - "allwinner,sun7i-a20-pwm" + - reg: physical base address and length of the controller's registers + - #pwm-cells: should be 3. See pwm.txt in this directory for a description of + the cells format. + - clocks: From common clock binding, handle to the parent clock. + +Example: + + pwm: pwm@01c20e00 { + compatible = "allwinner,sun7i-a20-pwm"; + reg = <0x01c20e00 0xc>; + clocks = <&osc24M>; + #pwm-cells = <3>; + status = "disabled"; + }; |