aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDan Sneddon <dan.sneddon@microchip.com>2021-09-20 16:28:45 -0700
committerEugen Hristev <eugen.hristev@microchip.com>2021-10-12 15:18:39 +0300
commit2d2273fa1effea235669a36efbd7beddb8017f67 (patch)
tree6351c728a0c7780bd868cf2d4b35be6d9d4d042b /doc
parent9b075973e9aeeab28d30398320ce722e765cdb3c (diff)
downloadu-boot-2d2273fa1effea235669a36efbd7beddb8017f67.zip
u-boot-2d2273fa1effea235669a36efbd7beddb8017f67.tar.gz
u-boot-2d2273fa1effea235669a36efbd7beddb8017f67.tar.bz2
dt-bindings: pwm: pwm-at91: Add PWM bindings for A5D2
Document the bindings needed for the PWM device on the SAMA5D2. Signed-off-by: Dan Sneddon <dan.sneddon@microchip.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree-bindings/pwm/pwm-at91.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/pwm/pwm-at91.txt b/doc/device-tree-bindings/pwm/pwm-at91.txt
new file mode 100644
index 0000000..a03da40
--- /dev/null
+++ b/doc/device-tree-bindings/pwm/pwm-at91.txt
@@ -0,0 +1,16 @@
+Microchip AT91 PWM controller for SAMA5D2
+
+Required properties:
+ - compatible: Should be "atmel,sama5d2-pwm"
+ - reg: Physical base address and length of the controller's registers.
+ - clocks: Should contain a clock identifier for the PWM's parent clock.
+ - #pwm-cells: Should be 3.
+
+Example:
+
+pwm0: pwm@f802c000 {
+ compatible = "atmel,sama5d2-pwm";
+ reg = <0xf802c000 0x4000>;
+ clocks = <&pwm_clk>;
+ #pwm-cells = <3>;
+};