dts: nrf: Temp device node added to nRF5 devices with yaml binding
1. Temp device node added to all nRF5 DTSI files. 2. Added yaml binding for Nordic Temp node. 3. Set codeowner of nordic dts bindings to @anangl Signed-off-by: Gaute Gamnes <gaute.gamnes@nordicsemi.no>
This commit is contained in:
parent
b87920bf3c
commit
281e251690
|
@ -137,6 +137,7 @@
|
|||
/dts/arm/nordic/ @ioannisg @carlescufi
|
||||
/dts/arm/nxp/ @MaureenHelm
|
||||
/dts/bindings/can/ @alexanderwachter
|
||||
/dts/bindings/*/nordic* @anangl
|
||||
/dts/bindings/*/nxp* @MaureenHelm
|
||||
/ext/fs/ @nashif @ramakrishnapallala
|
||||
/ext/hal/cmsis/ @MaureenHelm @galak
|
||||
|
|
|
@ -186,6 +186,14 @@
|
|||
label = "TIMER_2";
|
||||
};
|
||||
|
||||
temp: temp@4000c000 {
|
||||
compatible = "nordic,nrf-temp";
|
||||
reg = <0x4000c000 0x1000>;
|
||||
interrupts = <12 1>;
|
||||
status = "ok";
|
||||
label = "TEMP_0";
|
||||
};
|
||||
|
||||
wdt: watchdog@40010000 {
|
||||
compatible = "nordic,nrf-watchdog";
|
||||
reg = <0x40010000 0x1000>;
|
||||
|
|
|
@ -173,6 +173,14 @@
|
|||
label = "TIMER_2";
|
||||
};
|
||||
|
||||
temp: temp@4000c000 {
|
||||
compatible = "nordic,nrf-temp";
|
||||
reg = <0x4000c000 0x1000>;
|
||||
interrupts = <12 1>;
|
||||
status = "ok";
|
||||
label = "TEMP_0";
|
||||
};
|
||||
|
||||
wdt: watchdog@40010000 {
|
||||
compatible = "nordic,nrf-watchdog";
|
||||
reg = <0x40010000 0x1000>;
|
||||
|
|
|
@ -253,6 +253,14 @@
|
|||
label = "TIMER_4";
|
||||
};
|
||||
|
||||
temp: temp@4000c000 {
|
||||
compatible = "nordic,nrf-temp";
|
||||
reg = <0x4000c000 0x1000>;
|
||||
interrupts = <12 1>;
|
||||
status = "ok";
|
||||
label = "TEMP_0";
|
||||
};
|
||||
|
||||
wdt: watchdog@40010000 {
|
||||
compatible = "nordic,nrf-watchdog";
|
||||
reg = <0x40010000 0x1000>;
|
||||
|
|
|
@ -296,6 +296,14 @@
|
|||
label = "TIMER_4";
|
||||
};
|
||||
|
||||
temp: temp@4000c000 {
|
||||
compatible = "nordic,nrf-temp";
|
||||
reg = <0x4000c000 0x1000>;
|
||||
interrupts = <12 1>;
|
||||
status = "ok";
|
||||
label = "TEMP_0";
|
||||
};
|
||||
|
||||
usbd: usbd@40027000 {
|
||||
compatible = "nordic,nrf-usbd";
|
||||
reg = <0x40027000 0x1000>;
|
||||
|
|
31
dts/bindings/sensor/nordic,nrf-temp.yaml
Normal file
31
dts/bindings/sensor/nordic,nrf-temp.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
#
|
||||
# Copyright (c) 2018, Nordic Semiconductor ASA
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
---
|
||||
title: Nordic nRF Family TEMP node
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This is a representation of the Nordic nRF TEMP node
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
type: string
|
||||
category: required
|
||||
description: compatible strings
|
||||
constraint: "nordic,nrf-temp"
|
||||
|
||||
reg:
|
||||
type: array
|
||||
category: required
|
||||
description: mmio register space
|
||||
generation: define
|
||||
|
||||
interrupts:
|
||||
type: array
|
||||
category: required
|
||||
description: required interrupts
|
||||
generation: define
|
||||
...
|
Loading…
Reference in a new issue