arm: dts: am335x-evmsk: add alias node for uarts
Subsystems (2)
PATCH 1/1 arm: dts: am335x-evmsk: add alias node for uarts
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.
--- arch/arm/boot/dts/ti/omap/am335x-evmsk.dts | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/ti/omap/am335x-evmsk.dts +5 -0
@@ -29,6 +29,11 @@ memory@80000000 { reg = <0x80000000 0x10000000>; /* 256 MB */ }; + aliases { + serial0 = &uart0; + serial1 = &pruss_uart; + }; + chosen { stdout-path = &uart0; };
base-commit: 534ad093bb80f19c20b251a89f09ce1a0e3d4f2d
Signature · 1 line
2.43.2
Rob Herring
maintainerQuoted 10 lines · Judith Mendez
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 <[email protected]>--- 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 [email protected]:
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.
Hi all,
Quoted 5 lines · Judith Mendez
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