dt-bindings: watchdog: microchip,pic32mzda-wdt: Convert to DT schema
Subsystems (3)
PATCH 1/1 dt-bindings: watchdog: microchip,pic32mzda-wdt: Convert to DT schema
Convert Microchip PIC32 Watchdog Timer devicetree binding from legacy text format to DT schema.
Signed-off-by Udaya Kiran Challa <[email protected]>
--- .../bindings/watchdog/microchip,pic32-wdt.txt | 18 -------- .../watchdog/microchip,pic32mzda-wdt.yaml | 44 +++++++++++++++++++ 2 files changed, 44 insertions(+), 18 deletions(-) delete mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt create mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml
Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt deleted +0 -18
@@ -1,18 +0,0 @@ -* Microchip PIC32 Watchdog Timer - -When enabled, the watchdog peripheral can be used to reset the device if the -WDT is not cleared periodically in software. - -Required properties: -- compatible: must be "microchip,pic32mzda-wdt". -- reg: physical base address of the controller and length of memory mapped - region. -- clocks: phandle of source clk. Should be <&rootclk LPRCCLK>. - -Example: - - watchdog@1f800800 { - compatible = "microchip,pic32mzda-wdt"; - reg = <0x1f800800 0x200>; - clocks = <&rootclk LPRCCLK>; - };
Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml new file +44 -0
44 lines not on this page · raw message
Signature · 1 line
2.34.1
Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml line 44
Quoted 5 lines · Udaya Kiran Challa
Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml new file +5
-0+ watchdog@1f800800 { + compatible = "microchip,pic32mzda-wdt"; + reg = <0x1f800800 0x200>; + clocks = <&rootclk REF2CLK>; + };
Indentaion needs fixing.
With that:
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof