dt-bindings: arm: ti: Add bindings for PHYTEC AM62Px based hardware
Subsystems (2)
PATCH v4 1/2 dt-bindings: arm: ti: Add bindings for PHYTEC AM62Px based hardware
Add device tree bindings for the AM62Px based phyCORE-AM62Px SoM and phyBOARD-Lynx.
---
v4:
- No change
v3:
- No change
v2:
- Add Acked-by tag
Documentation/devicetree/bindings/arm/ti/k3.yaml | 7 +++++++ 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/ti/k3.yaml +7 -0
@@ -50,6 +50,13 @@ properties: - ti,am62p5-sk - const: ti,am62p5 + - description: K3 AM62P5 SoC PHYTEC phyBOARD-Lynx + items: + - enum: + - phytec,am62p5-phyboard-lynx + - const: phytec,am62p-phycore-som + - const: ti,am62p5 + - description: K3 AM625 SoC PHYTEC phyBOARD-Lyra items: - const: phytec,am625-phyboard-lyra-rdk
Signature · 1 line
2.43.0
PATCH v4 2/2 arm64: dts: ti: Add support for the phyCORE-AM62Px
Add support for the PHYTEC phyCORE-AM62Px SoM [1] and the corresponding phyBOARD-Lynx carrier board [2]. The phyCORE-AM62Px SoM uses the TI AM62Px SoC and can come with different sizes and models of DDR, eMMC, and SPI NOR Flash.
Supported features:
* Audio playback and recording
* CAN
* Debug UART
* eMMC
* Ethernet
* GPIO buttons
* Heartbeat LED
* I2C EEPROM
* I2C RTC
* Micro SD card
* SPI NOR flash
* SPI Accelerometer
* USB
[1] https://www.phytec.com/product/phycore-am62px/
[2] https://www.phytec.com/product/phyboard-am62px-development-kit/
---
v4:
- Rebased to latest next
- Fixed some dt-check-style warnings
v3:
- update EXTINTn pimmux
- fixed tab/space issue
- update interrupt for pmic
v2:
- added bootph-all in cpsw3g_phy1 node
- fixed ti,fifo-depth property deprecated issue
- update ospi vcc-supply label from SoM
- added bootph-all in wkup_i2c0 node
- sorted nodes in alphabetical order
- sorted vendor property
- removed unsed leds from phyboard lynx dts
- added chosen/stdout-path
- update usb0_connector node with proper name
- fixed missing space
- removed unused pinmux
- removed bootph-all from rgmii2 pinmux
- added interrupt-names for adxl345 node
- sorted status property in main_uart1
arch/arm64/boot/dts/ti/Makefile | 1 + .../boot/dts/ti/k3-am62p-phycore-som.dtsi | 378 +++++++++++++ .../boot/dts/ti/k3-am62p5-phyboard-lynx.dts | 533 ++++++++++++++++++ 3 files changed, 912 insertions(+) create mode 100644 arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-am62p5-phyboard-lynx.dts
arch/arm64/boot/dts/ti/Makefile +1 -0
@@ -83,6 +83,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62l3-beaglebadge.dtb dtb-$(CONFIG_ARCH_K3) += k3-am62l3-evm.dtb # Boards with AM62Px SoC +dtb-$(CONFIG_ARCH_K3) += k3-am62p5-phyboard-lynx.dtb dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am62p5-var-som-symphony.dtb dtb-$(CONFIG_ARCH_K3) += k3-am62p5-verdin-dev-nau8822-btl.dtbo
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +378 -0
378 lines not on this page · raw message
arch/arm64/boot/dts/ti/k3-am62p5-phyboard-lynx.dts new file +533 -0
533 lines not on this page · raw message
Signature · 1 line
2.43.0
[email protected]
AI reviewRe: [PATCH v4 2/2] arm64: dts: ti: Add support for the phyCORE-AM62Px
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] arm64: dts: ti: missing wkup_r5fss0_core0_memory_region label breaks DTB build --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] arm64: dts: ti: missing wkup_r5fss0_core0_memory_region label breaks DTB build --
commit 0b85146939f017914b2af5c4afd5af0993cf3aad
Author: John Ma <[email protected]>
arm64: dts: ti: Add support for the phyCORE-AM62Px
This commit adds device tree support for the PHYTEC phyCORE-AM62Px SoM and the phyBOARD-Lynx carrier board.
Quoted 6 lines
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +0
-0@@ -0,0 +1,378 @@
[ ... ]
Quoted 49 lines
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +49
-0+ reserved_memory: reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* global cma region */ + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x00 0x24000000>; + linux,cma-default; + }; + + wkup_r5fss0_core0_dma_memory_region: memory@9c800000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9c800000 0x00 0x100000>; + no-map; + }; + + wkup_r5fss0_core0_ipc_region: memory@9c900000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9c900000 0x00 0x100000>; + no-map; + }; + + wkup_r5fss0_core0_lpm_fs_stub_region: memory@9ca00000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9ca00000 0x00 0x8000>; + no-map; + }; + + wkup_r5fss0_core0_lpm_metadata_region: memory@9ca08000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9ca08000 0x00 0x1000>; + bootph-pre-ram; + no-map; + }; + + wkup_r5fss0_core0_lpm_rest_region: memory@9ca09000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9ca09000 0x00 0x97000>; + no-map; + }; + + wkup_r5fss0_core0_dm_region: memory@9caa0000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9caa0000 0x00 0x1b68000>; + no-map; + };
[ ... ]
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi line 378
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +7
-0+ i2c_som_rtc: rtc@52 { + compatible = "microcrystal,rv3028"; + reg = <0x52>; + }; +}; + +#include "k3-am62p-ti-ipc-firmware.dtsi"
[Severity: Low]
Does building k3-am62p5-phyboard-lynx.dtb when CONFIG_ARCH_K3 is enabled fail in dtc due to an unresolved reference to wkup_r5fss0_core0_memory_region?
k3-am62p-phycore-som.dtsi includes k3-am62p-ti-ipc-firmware.dtsi, which configures wkup_r5fss0_core0 as follows:
&wkup_r5fss0_core0 {
mboxes = <&mailbox0_cluster0 &mbox_r5_0>;
memory-region = <&wkup_r5fss0_core0_dma_memory_region>,
<&wkup_r5fss0_core0_memory_region>;
memory-region-names = "dma", "firmware";
status = "okay";
};However, the reserved_memory node in k3-am62p-phycore-som.dtsi defines wkup_r5fss0_core0_ipc_region, wkup_r5fss0_core0_lpm_fs_stub_region, wkup_r5fss0_core0_lpm_metadata_region, wkup_r5fss0_core0_lpm_rest_region, and wkup_r5fss0_core0_dm_region instead of wkup_r5fss0_core0_memory_region, and &wkup_r5fss0_core0's memory-region property is not overridden.
Should reserved_memory define wkup_r5fss0_core0_memory_region to match k3-am62p-ti-ipc-firmware.dtsi?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
Re: [PATCH v4 2/2] arm64: dts: ti: Add support for the phyCORE-AM62Px
Hi sashiko,
v4 is based on a tree that has 46b7261c2bad ("arm64: dts: ti: k3-am62p:
Split r5f memory region"). There, k3-am62p-ti-ipc-firmware.dtsi references the split ipc/lpm-*/dm regions, which the phyCORE SOM dtsi defines. wkup_r5fss0_core0_memory_region no longer exists in that file, and k3-am62p5-phyboard-lynx.dtb builds without errors.
Thanks.
Quoted 115 lines · On Tue, 2026-10-27 at 19:48 +0000, [email protected] wrote:
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] arm64: dts: ti: missingwkup_r5fss0_core0_memory_regionlabel breaks DTB build
--commit
0b85146939f017914b2af5c4afd5af0993cf3aad
Author: John Ma <[email protected]>arm64: dts: ti: Add support for the phyCORE-AM62Px
This commit adds device tree support for the PHYTEC phyCORE-AM62Px SoM and
the phyBOARD-Lynx carrier board.Quoted 7 lines
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +0
-0@@ -0,0 +1,378 @@[ ... ]
Quoted 53 lines
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +14
-0+ reserved_memory: reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* global cma region */ + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x00 0x24000000>; + linux,cma-default; + }; + + wkup_r5fss0_core0_dma_memory_region:memory@9c800000 {
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +12
-0+ compatible = "shared-dma-pool"; + reg = <0x00 0x9c800000 0x00 0x100000>; + no-map; + }; + + wkup_r5fss0_core0_ipc_region: memory@9c900000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9c900000 0x00 0x100000>; + no-map; + }; + + wkup_r5fss0_core0_lpm_fs_stub_region:memory@9ca00000 {
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +6
-0+ compatible = "shared-dma-pool"; + reg = <0x00 0x9ca00000 0x00 0x8000>; + no-map; + }; + + wkup_r5fss0_core0_lpm_metadata_region:memory@9ca08000 {
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +7
-0+ compatible = "shared-dma-pool"; + reg = <0x00 0x9ca08000 0x00 0x1000>; + bootph-pre-ram; + no-map; + }; + + wkup_r5fss0_core0_lpm_rest_region: memory@9ca09000{
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +10
-0+ compatible = "shared-dma-pool"; + reg = <0x00 0x9ca09000 0x00 0x97000>; + no-map; + }; + + wkup_r5fss0_core0_dm_region: memory@9caa0000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9caa0000 0x00 0x1b68000>; + no-map; + };[ ... ]
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi line 378
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +7
-0+ i2c_som_rtc: rtc@52 { + compatible = "microcrystal,rv3028"; + reg = <0x52>; + }; +}; + +#include "k3-am62p-ti-ipc-firmware.dtsi"[Severity: Low]
Does building k3-am62p5-phyboard-lynx.dtb whenCONFIG_ARCH_K3is enabled
fail in dtc due to an unresolved reference towkup_r5fss0_core0_memory_region?
k3-am62p-phycore-som.dtsiincludesk3-am62p-ti-ipc-firmware.dtsi, which
configureswkup_r5fss0_core0as follows:&wkup_r5fss0_core0 { mboxes = <&mailbox0_cluster0 &mbox_r5_0>; memory-region = <&wkup_r5fss0_core0_dma_memory_region>, <&wkup_r5fss0_core0_memory_region>; memory-region-names = "dma", "firmware"; status = "okay"; };However, the
reserved_memorynode ink3-am62p-phycore-som.dtsidefineswkup_r5fss0_core0_ipc_region,wkup_r5fss0_core0_lpm_fs_stub_region,wkup_r5fss0_core0_lpm_metadata_region,wkup_r5fss0_core0_lpm_rest_region,
andwkup_r5fss0_core0_dm_regioninstead ofwkup_r5fss0_core0_memory_region,
and &wkup_r5fss0_core0's memory-region property is not overridden.Should
reserved_memorydefinewkup_r5fss0_core0_memory_regionto matchk3-am62p-ti-ipc-firmware.dtsi?