Commit cb8ae6e1 authored by Benjamin Gaignard's avatar Benjamin Gaignard Committed by Lee Jones

dt-bindings: mfd: Document STM32 low power timer bindings

Add a subnode to STM low power timer bindings to support timer driver
Signed-off-by: default avatarBenjamin Gaignard <benjamin.gaignard@st.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent b3a9e3b9
...@@ -33,6 +33,9 @@ properties: ...@@ -33,6 +33,9 @@ properties:
items: items:
- const: mux - const: mux
interrupts:
maxItems: 1
"#address-cells": "#address-cells":
const: 1 const: 1
...@@ -106,11 +109,13 @@ additionalProperties: false ...@@ -106,11 +109,13 @@ additionalProperties: false
examples: examples:
- | - |
#include <dt-bindings/clock/stm32mp1-clks.h> #include <dt-bindings/clock/stm32mp1-clks.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
timer@40002400 { timer@40002400 {
compatible = "st,stm32-lptimer"; compatible = "st,stm32-lptimer";
reg = <0x40002400 0x400>; reg = <0x40002400 0x400>;
clocks = <&timer_clk>; clocks = <&timer_clk>;
clock-names = "mux"; clock-names = "mux";
interrupts-extended = <&exti 47 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
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