* [PATCH] arm: dts: am335x-evmsk: add alias node for uarts
@ 2024-04-11 23:11 Judith Mendez
2024-04-12 13:46 ` Rob Herring
2024-04-12 19:22 ` Judith Mendez
0 siblings, 2 replies; 3+ messages in thread
From: Judith Mendez @ 2024-04-11 23:11 UTC (permalink / raw)
To: Benoît Cousson, Tony Lindgren, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-omap, devicetree, linux-kernel
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(+)
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;
};
base-commit: 534ad093bb80f19c20b251a89f09ce1a0e3d4f2d
--
2.43.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm: dts: am335x-evmsk: add alias node for uarts
2024-04-11 23:11 [PATCH] arm: dts: am335x-evmsk: add alias node for uarts Judith Mendez
@ 2024-04-12 13:46 ` Rob Herring
2024-04-12 19:22 ` Judith Mendez
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2024-04-12 13:46 UTC (permalink / raw)
To: Judith Mendez
Cc: Conor Dooley, Krzysztof Kozlowski, Benoît Cousson,
Tony Lindgren, devicetree, linux-kernel, linux-omap
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm: dts: am335x-evmsk: add alias node for uarts
2024-04-11 23:11 [PATCH] arm: dts: am335x-evmsk: add alias node for uarts Judith Mendez
2024-04-12 13:46 ` Rob Herring
@ 2024-04-12 19:22 ` Judith Mendez
1 sibling, 0 replies; 3+ messages in thread
From: Judith Mendez @ 2024-04-12 19:22 UTC (permalink / raw)
To: Benoît Cousson, Tony Lindgren, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-omap, devicetree, linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-12 19:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-11 23:11 [PATCH] arm: dts: am335x-evmsk: add alias node for uarts Judith Mendez
2024-04-12 13:46 ` Rob Herring
2024-04-12 19:22 ` Judith Mendez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®