dts: Add kinetis watchdog bindings and update k64, kw2xd soc nodes

Adds dts bindings for the kinetis watchdog peripheral, and updates the
watchdog nodes for the k64 and kw2xd socs.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2018-04-23 14:43:41 -05:00
commit 7960f79134
3 changed files with 52 additions and 2 deletions

View file

@ -321,8 +321,11 @@
};
wdog: watchdog@40052000 {
compatible = "nxp,k64f-watchdog";
compatible = "nxp,kinetis-wdog";
reg = <0x40052000 16>;
interrupts = <22 0>;
clocks = <&sim KINETIS_SIM_LPO_CLK 0 0>;
label = "WDT_0";
clock-source = <0>; /* LPO 1kHz or other source */
reload-counter = <40000>;
start-on-boot;

View file

@ -271,8 +271,11 @@
};
wdog: watchdog@40052000 {
compatible = "nxp,k64f-watchdog";
compatible = "nxp,kinetis-wdog";
reg = <0x40052000 16>;
interrupts = <22 0>;
clocks = <&sim KINETIS_SIM_LPO_CLK 0 0>;
label = "WDT_0";
clock-source = <0>; /* LPO 1kHz or other source */
reload-counter = <40000>;
start-on-boot;

View file

@ -0,0 +1,44 @@
#
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: NXP Kinetis watchdog driver
id: nxp,kinetis-wdog
version: 0.1
description: >
This is a representation of the Kinetis watchdog
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,kinetis-wdog"
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
interrupts:
type: array
category: required
description: required interrupts
generation: define
clocks:
type: array
category: required
description: Clock gate control information
generation: structures
...