diff --git a/CODEOWNERS b/CODEOWNERS index 09bc4e48181..9bf9eb512bf 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -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 diff --git a/dts/arm/nordic/nrf51822.dtsi b/dts/arm/nordic/nrf51822.dtsi index 2367f0da74c..6321e8c8267 100644 --- a/dts/arm/nordic/nrf51822.dtsi +++ b/dts/arm/nordic/nrf51822.dtsi @@ -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>; diff --git a/dts/arm/nordic/nrf52810.dtsi b/dts/arm/nordic/nrf52810.dtsi index 7c8cf407bc3..c120f8b071a 100644 --- a/dts/arm/nordic/nrf52810.dtsi +++ b/dts/arm/nordic/nrf52810.dtsi @@ -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>; diff --git a/dts/arm/nordic/nrf52832.dtsi b/dts/arm/nordic/nrf52832.dtsi index e1464df2b66..1d31d41c3ac 100644 --- a/dts/arm/nordic/nrf52832.dtsi +++ b/dts/arm/nordic/nrf52832.dtsi @@ -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>; diff --git a/dts/arm/nordic/nrf52840.dtsi b/dts/arm/nordic/nrf52840.dtsi index 747ce3dea9f..6ab79d8ae19 100644 --- a/dts/arm/nordic/nrf52840.dtsi +++ b/dts/arm/nordic/nrf52840.dtsi @@ -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>; diff --git a/dts/bindings/sensor/nordic,nrf-temp.yaml b/dts/bindings/sensor/nordic,nrf-temp.yaml new file mode 100644 index 00000000000..c6a0c0a38b5 --- /dev/null +++ b/dts/bindings/sensor/nordic,nrf-temp.yaml @@ -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 +...