From b7b25fe09c9e3b4bcef2497eb0c32d3bfd9a23ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Chru=C5=9Bci=C5=84ski?= Date: Fri, 21 Jun 2024 11:48:43 +0200 Subject: [PATCH] dts: nordic: nrf-uarte: Add endtx-stoptx-supported property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add information to the device tree if UARTE instance has a HW feature which is the ENDTX_STOPTX short. Add this property to all instances in nrf54hl15, nrf54l20, nrf9280 and nrf54h20. Signed-off-by: Krzysztof Chruściński --- dts/bindings/serial/nordic,nrf-uarte.yaml | 6 ++++++ dts/common/nordic/nrf54h20.dtsi | 9 +++++++++ dts/common/nordic/nrf54l15.dtsi | 5 +++++ dts/common/nordic/nrf54l20.dtsi | 5 +++++ dts/common/nordic/nrf9280.dtsi | 9 +++++++++ 5 files changed, 34 insertions(+) diff --git a/dts/bindings/serial/nordic,nrf-uarte.yaml b/dts/bindings/serial/nordic,nrf-uarte.yaml index 0f34ef3c921..c1361d54e1b 100644 --- a/dts/bindings/serial/nordic,nrf-uarte.yaml +++ b/dts/bindings/serial/nordic,nrf-uarte.yaml @@ -3,3 +3,9 @@ description: Nordic nRF family UARTE (UART with EasyDMA) compatible: "nordic,nrf-uarte" include: ["nordic,nrf-uart-common.yaml", "memory-region.yaml"] + +properties: + endtx-stoptx-supported: + type: boolean + description: | + UARTE has ENDTX_STOPTX HW short. diff --git a/dts/common/nordic/nrf54h20.dtsi b/dts/common/nordic/nrf54h20.dtsi index 19d7a83f344..a5241adb6dc 100644 --- a/dts/common/nordic/nrf54h20.dtsi +++ b/dts/common/nordic/nrf54h20.dtsi @@ -625,6 +625,7 @@ status = "disabled"; interrupts = <230 NRF_DEFAULT_IRQ_PRIORITY>; clocks = <&hsfll120>; + endtx-stoptx-supported; }; spi121: spi@8e7000 { @@ -933,6 +934,7 @@ interrupts = <421 NRF_DEFAULT_IRQ_PRIORITY>; clocks = <&fll16m>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; i2c131: i2c@9a6000 { @@ -973,6 +975,7 @@ interrupts = <422 NRF_DEFAULT_IRQ_PRIORITY>; clocks = <&fll16m>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; dppic134: dppic@9b1000 { @@ -1050,6 +1053,7 @@ interrupts = <437 NRF_DEFAULT_IRQ_PRIORITY>; clocks = <&fll16m>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; i2c133: i2c@9b6000 { @@ -1090,6 +1094,7 @@ interrupts = <438 NRF_DEFAULT_IRQ_PRIORITY>; clocks = <&fll16m>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; dppic135: dppic@9c1000 { @@ -1167,6 +1172,7 @@ interrupts = <453 NRF_DEFAULT_IRQ_PRIORITY>; clocks = <&fll16m>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; i2c135: i2c@9c6000 { @@ -1207,6 +1213,7 @@ interrupts = <454 NRF_DEFAULT_IRQ_PRIORITY>; clocks = <&fll16m>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; dppic136: dppic@9d1000 { @@ -1284,6 +1291,7 @@ interrupts = <469 NRF_DEFAULT_IRQ_PRIORITY>; clocks = <&fll16m>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; i2c137: i2c@9d6000 { @@ -1324,6 +1332,7 @@ interrupts = <470 NRF_DEFAULT_IRQ_PRIORITY>; clocks = <&fll16m>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; }; }; diff --git a/dts/common/nordic/nrf54l15.dtsi b/dts/common/nordic/nrf54l15.dtsi index 3681a90cc48..4eaac53d0eb 100644 --- a/dts/common/nordic/nrf54l15.dtsi +++ b/dts/common/nordic/nrf54l15.dtsi @@ -136,6 +136,7 @@ reg = <0x4a000 0x1000>; interrupts = <74 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; + endtx-stoptx-supported; }; cpuflpr_vpr: vpr@4c000 { @@ -266,6 +267,7 @@ reg = <0xc6000 0x1000>; interrupts = <198 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; + endtx-stoptx-supported; }; i2c21: i2c@c7000 { @@ -303,6 +305,7 @@ reg = <0xc7000 0x1000>; interrupts = <199 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; + endtx-stoptx-supported; }; i2c22: i2c@c8000 { @@ -340,6 +343,7 @@ reg = <0xc8000 0x1000>; interrupts = <200 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; + endtx-stoptx-supported; }; egu20: egu@c9000 { @@ -548,6 +552,7 @@ reg = <0x104000 0x1000>; interrupts = <260 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; + endtx-stoptx-supported; }; #ifdef USE_NON_SECURE_ADDRESS_MAP diff --git a/dts/common/nordic/nrf54l20.dtsi b/dts/common/nordic/nrf54l20.dtsi index b22604e2228..6338f497adf 100644 --- a/dts/common/nordic/nrf54l20.dtsi +++ b/dts/common/nordic/nrf54l20.dtsi @@ -105,6 +105,7 @@ reg = <0x4d000 0x1000>; interrupts = <77 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; + endtx-stoptx-supported; }; gpio2: gpio@50400 { @@ -217,6 +218,7 @@ reg = <0xc6000 0x1000>; interrupts = <198 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; + endtx-stoptx-supported; }; i2c21: i2c@c7000 { @@ -254,6 +256,7 @@ reg = <0xc7000 0x1000>; interrupts = <199 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; + endtx-stoptx-supported; }; i2c22: i2c@c8000 { @@ -291,6 +294,7 @@ reg = <0xc8000 0x1000>; interrupts = <200 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; + endtx-stoptx-supported; }; egu20: egu@c9000 { @@ -490,6 +494,7 @@ reg = <0x104000 0x1000>; interrupts = <260 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled"; + endtx-stoptx-supported; }; wdt30: watchdog@108000 { diff --git a/dts/common/nordic/nrf9280.dtsi b/dts/common/nordic/nrf9280.dtsi index 166c8658354..59f450aba1d 100644 --- a/dts/common/nordic/nrf9280.dtsi +++ b/dts/common/nordic/nrf9280.dtsi @@ -515,6 +515,7 @@ reg = <0x8e6000 0x1000>; status = "disabled"; interrupts = <230 NRF_DEFAULT_IRQ_PRIORITY>; + endtx-stoptx-supported; }; spi121: spi@8e7000 { @@ -844,6 +845,7 @@ status = "disabled"; interrupts = <421 NRF_DEFAULT_IRQ_PRIORITY>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; i2c131: i2c@9a6000 { @@ -881,6 +883,7 @@ status = "disabled"; interrupts = <422 NRF_DEFAULT_IRQ_PRIORITY>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; dppic134: dppic@9b1000 { @@ -952,6 +955,7 @@ status = "disabled"; interrupts = <437 NRF_DEFAULT_IRQ_PRIORITY>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; i2c133: i2c@9b6000 { @@ -989,6 +993,7 @@ status = "disabled"; interrupts = <438 NRF_DEFAULT_IRQ_PRIORITY>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; dppic135: dppic@9c1000 { @@ -1060,6 +1065,7 @@ status = "disabled"; interrupts = <453 NRF_DEFAULT_IRQ_PRIORITY>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; i2c135: i2c@9c6000 { @@ -1097,6 +1103,7 @@ status = "disabled"; interrupts = <454 NRF_DEFAULT_IRQ_PRIORITY>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; dppic136: dppic@9d1000 { @@ -1168,6 +1175,7 @@ status = "disabled"; interrupts = <469 NRF_DEFAULT_IRQ_PRIORITY>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; i2c137: i2c@9d6000 { @@ -1205,6 +1213,7 @@ status = "disabled"; interrupts = <470 NRF_DEFAULT_IRQ_PRIORITY>; nordic,clockpin-enable = ; + endtx-stoptx-supported; }; }; };