Commit 8f7e68bb authored by Fabrice Gasnier's avatar Fabrice Gasnier Committed by Rob Herring
Browse files

dt-bindings: mfd: fix stm32 timers example



The stm32 timers example name should match the pattern timer@. Also,
the example is based on stm32mp1 timer 2, so the identifier should be
'1' instead of '0' (e.g. timer 1).

Fixes: bfbcbf88 ("dt-bindings: timer: Convert stm32 timer bindings to json-schema")

Signed-off-by: default avatarFabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/1606913114-25693-1-git-send-email-fabrice.gasnier@foss.st.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 675fc189
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ additionalProperties: false
examples:
  - |
    #include <dt-bindings/clock/stm32mp1-clks.h>
    timers2: timers@40000000 {
    timers2: timer@40000000 {
      #address-cells = <1>;
      #size-cells = <0>;
      compatible = "st,stm32-timers";
@@ -149,9 +149,9 @@ examples:
        #pwm-cells = <3>;
        st,breakinput = <0 1 5>;
      };
      timer@0 {
      timer@1 {
        compatible = "st,stm32-timer-trigger";
        reg = <0>;
        reg = <1>;
      };
      counter {
        compatible = "st,stm32-timer-counter";