Commit 44521afa authored by Claudiu Beznea's avatar Claudiu Beznea Committed by Thierry Reding

pwm: atmel: Enable PWM on sama5d2

sama5d2 can use the same atmel_pwm_data as sama5d3.
Signed-off-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 1a722aad
...@@ -4,6 +4,7 @@ Required properties: ...@@ -4,6 +4,7 @@ Required properties:
- compatible: should be one of: - compatible: should be one of:
- "atmel,at91sam9rl-pwm" - "atmel,at91sam9rl-pwm"
- "atmel,sama5d3-pwm" - "atmel,sama5d3-pwm"
- "atmel,sama5d2-pwm"
- reg: physical base address and length of the controller's registers - reg: physical base address and length of the controller's registers
- #pwm-cells: Should be 3. See pwm.txt in this directory for a - #pwm-cells: Should be 3. See pwm.txt in this directory for a
description of the cells format. description of the cells format.
......
...@@ -311,6 +311,9 @@ static const struct of_device_id atmel_pwm_dt_ids[] = { ...@@ -311,6 +311,9 @@ static const struct of_device_id atmel_pwm_dt_ids[] = {
}, { }, {
.compatible = "atmel,sama5d3-pwm", .compatible = "atmel,sama5d3-pwm",
.data = &atmel_pwm_regs_v2, .data = &atmel_pwm_regs_v2,
}, {
.compatible = "atmel,sama5d2-pwm",
.data = &atmel_pwm_regs_v2,
}, { }, {
/* sentinel */ /* sentinel */
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment