diff mbox series

arm: dts: am335x-evmsk: add alias node for uarts

Message ID 20240411231130.386222-1-jm@ti.com
State New
Headers show
Series arm: dts: am335x-evmsk: add alias node for uarts | expand

Commit Message

Judith Mendez April 11, 2024, 11:11 p.m. UTC
The AM335x SK routes the PRUSS UART pins to the Zigbee header.
PRUSS UART is enabled and can be tested using the Zigbee header.
Since there are two UARTS, add alias node to be able to test PRUSS
UART reliably from userspace.

Signed-off-by: Judith Mendez <jm@ti.com>
---
 arch/arm/boot/dts/ti/omap/am335x-evmsk.dts | 5 +++++
 1 file changed, 5 insertions(+)


base-commit: 534ad093bb80f19c20b251a89f09ce1a0e3d4f2d

Comments

Rob Herring (Arm) April 12, 2024, 1:46 p.m. UTC | #1
On Thu, 11 Apr 2024 18:11:30 -0500, Judith Mendez wrote:
> The AM335x SK routes the PRUSS UART pins to the Zigbee header.
> PRUSS UART is enabled and can be tested using the Zigbee header.
> Since there are two UARTS, add alias node to be able to test PRUSS
> UART reliably from userspace.
> 
> Signed-off-by: Judith Mendez <jm@ti.com>
> ---
>  arch/arm/boot/dts/ti/omap/am335x-evmsk.dts | 5 +++++
>  1 file changed, 5 insertions(+)
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y ti/omap/am335x-evmsk.dtb' for 20240411231130.386222-1-jm@ti.com:

arch/arm/boot/dts/ti/omap/am33xx.dtsi:20.10-43.4: ERROR (path_references): /aliases: Reference to non-existent node or label "pruss_uart"
  also defined at arch/arm/boot/dts/ti/omap/am335x-evmsk.dts:32.10-35.4
ERROR: Input tree has errors, aborting (use -f to force output)
make[4]: *** [scripts/Makefile.lib:427: arch/arm/boot/dts/ti/omap/am335x-evmsk.dtb] Error 2
make[3]: *** [scripts/Makefile.build:485: arch/arm/boot/dts/ti/omap] Error 2
make[3]: Target 'arch/arm/boot/dts/ti/omap/am335x-evmsk.dtb' not remade because of errors.
make[2]: *** [scripts/Makefile.build:485: arch/arm/boot/dts/ti] Error 2
make[2]: Target 'arch/arm/boot/dts/ti/omap/am335x-evmsk.dtb' not remade because of errors.
make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1392: ti/omap/am335x-evmsk.dtb] Error 2
make: *** [Makefile:240: __sub-make] Error 2
make: Target 'ti/omap/am335x-evmsk.dtb' not remade because of errors.
Judith Mendez April 12, 2024, 7:22 p.m. UTC | #2
Hi all,

On 4/11/24 6:11 PM, Judith Mendez wrote:
> The AM335x SK routes the PRUSS UART pins to the Zigbee header.
> PRUSS UART is enabled and can be tested using the Zigbee header.
> Since there are two UARTS, add alias node to be able to test PRUSS
> UART reliably from userspace.
> 

Please ignore this patch, do not merge! Thanks!

~ Judith
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/ti/omap/am335x-evmsk.dts b/arch/arm/boot/dts/ti/omap/am335x-evmsk.dts
index eba888dcd60e7..e6925dc263d31 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/ti/omap/am335x-evmsk.dts
@@ -29,6 +29,11 @@  memory@80000000 {
 		reg = <0x80000000 0x10000000>; /* 256 MB */
 	};
 
+	aliases {
+		serial0 = &uart0;
+		serial1 = &pruss_uart;
+	};
+
 	chosen {
 		stdout-path = &uart0;
 	};