Skip to contentSkip to conversation

dt-bindings: arm: ti: Add bindings for PHYTEC AM62Px based hardware

PATCH Superseded John Ma 2 participants 3 messages Aug 10 – Sep 4

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

John Ma

author
#0 lore raw

PATCH v3 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.

---
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
index 69b5441cbf1a..b7cba0a80efc 100644
@@ -49,6 +49,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
author
#1 lore raw

PATCH v3 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/

Test results:
https://gist.github.com/jma-phytec/fd7911a834e39b3fac0104690668882e

---
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     | 340 ++++++++++++
 .../boot/dts/ti/k3-am62p5-phyboard-lynx.dts   | 522 ++++++++++++++++++
 3 files changed, 863 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
index 371f9a043fe5..b223681cdfbf 100644
@@ -76,6 +76,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62d2-evm.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-nonwifi-dahlia.dtb
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +340 -0

340 lines not on this page · raw message

arch/arm64/boot/dts/ti/k3-am62p5-phyboard-lynx.dts new file +522 -0

522 lines not on this page · raw message

Signature · 1 line
2.43.0
maintainer
#2 lore raw

Re: [PATCH v3 2/2] arm64: dts: ti: Add support for the phyCORE-AM62Px

Quoted 74 lines · John Ma

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/

Test results:
https://gist.github.com/jma-phytec/fd7911a834e39b3fac0104690668882e

---
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     | 340 ++++++++++++
 .../boot/dts/ti/k3-am62p5-phyboard-lynx.dts   | 522 ++++++++++++++++++
 3 files changed, 863 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
index 371f9a043fe5..b223681cdfbf 100644
@@ -76,6 +76,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62d2-evm.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-nonwifi-dahlia.dtb
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +0 -0
new file mode 100644
index 000000000000..0e3a429a835d

arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi line 6

Quoted 6 lines
arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi new file +6 -0
@@ -0,0 +1,340 @@
+// SPDX-License-Identifier: GPL-2.0-only OR MIT
+/*
+ * Copyright (C) 2026 PHYTEC America LLC
+ * Author: John Ma <[email protected]>
+ *
+ */

Could you do a couple of things:
a) rebase this to latest next.
b) ./scripts/dtc/dt-check-style --mode=strict new_files

I know that --mode=strict is not perfect at this point, but, it did point me a few issues in status ordering, bootph ordering consistency etc.. you will have to (at this point) cross verify against ./Documentation/devicetree/bindings/dts-coding-style.rst

Example:
arch/arm64/boot/dts/ti/k3-am62p5-phyboard-lynx.dts:315: [required-blank-lines] "status" must be preceded by a blank line

Signature · 4 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
https://ti.com/opensource