[PATCH v3 1/9] mips: dts: realtek: use "serial" instead of "uart" in node name

Chris Packham posted 9 patches 1 year, 5 months ago
There is a newer version of this series
[PATCH v3 1/9] mips: dts: realtek: use "serial" instead of "uart" in node name
Posted by Chris Packham 1 year, 5 months ago
Update the node name for the UARTs to resolve the following dtbs_check
complaints:

  uart@2000: $nodename:0: 'uart@2000' does not match '^serial(@.*)?$'
  uart@2100: $nodename:0: 'uart@2100' does not match '^serial(@.*)?$'

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
---

Notes:
    Changes in v2:
    - New

 arch/mips/boot/dts/realtek/rtl83xx.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/boot/dts/realtek/rtl83xx.dtsi b/arch/mips/boot/dts/realtek/rtl83xx.dtsi
index de65a111b626..03ddc61f7c9e 100644
--- a/arch/mips/boot/dts/realtek/rtl83xx.dtsi
+++ b/arch/mips/boot/dts/realtek/rtl83xx.dtsi
@@ -22,7 +22,7 @@ soc: soc {
 		#size-cells = <1>;
 		ranges = <0x0 0x18000000 0x10000>;
 
-		uart0: uart@2000 {
+		uart0: serial@2000 {
 			compatible = "ns16550a";
 			reg = <0x2000 0x100>;
 
@@ -39,7 +39,7 @@ uart0: uart@2000 {
 			status = "disabled";
 		};
 
-		uart1: uart@2100 {
+		uart1: serial@2100 {
 			compatible = "ns16550a";
 			reg = <0x2100 0x100>;
 
-- 
2.45.2
Re: [PATCH v3 1/9] mips: dts: realtek: use "serial" instead of "uart" in node name
Posted by Marek Behún 1 year, 5 months ago
On Thu, 27 Jun 2024 16:33:09 +1200
Chris Packham <chris.packham@alliedtelesis.co.nz> wrote:

> Update the node name for the UARTs to resolve the following dtbs_check
> complaints:
> 
>   uart@2000: $nodename:0: 'uart@2000' does not match '^serial(@.*)?$'
>   uart@2100: $nodename:0: 'uart@2100' does not match '^serial(@.*)?$'
> 
> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>

Reviewed-by: Marek Behún <kabel@kernel.org>