dt-bindings: arm: ti: Add bindings for PHYTEC AM68x based hardware
Subsystems (2)
PATCH 2/2 arm64: dts: ti: Add basic support for phyBOARD-Izar-AM68x
In reply to Dominik HallerThe phyCORE-AM68x/TDA4x [1] is a SoM (System on Module) featuring TI's AM68x/TDA4x SoC. It can be used in combination with different carrier boards. This module can come with different sizes and models for DDR, eMMC, SPI NOR Flash and various SoCs from the AM68x/TDA4x (J721S2) family.
A reference carrier board design, called phyBOARD-Izar is used for the phyCORE-AM68x/TDA4x development kit [2].
Supported features:
* Debug UART
* 2x SPI NOR Flash
* eMMC
* 2x Ethernet
* Micro SD card
* I2C EEPROM
* I2C RTC
* 2x I2C GPIO Expander
* LEDs
* USB 5 Gbit/s
* PCIe
For more details see the product pages for the SoM and the development kit:
[1] https://www.phytec.eu/en/produkte/system-on-modules/phycore-am68x-tda4x/
[2] https://www.phytec.eu/en/produkte/development-kits/phyboard-izar/
--- arch/arm64/boot/dts/ti/Makefile | 1 + .../boot/dts/ti/k3-am68-phyboard-izar.dts | 576 +++++++++++++++++ .../boot/dts/ti/k3-am68-phycore-som.dtsi | 594 ++++++++++++++++++ 3 files changed, 1171 insertions(+) create mode 100644 arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts create mode 100644 arch/arm64/boot/dts/ti/k3-am68-phycore-som.dtsi
arch/arm64/boot/dts/ti/Makefile +1 -0
@@ -109,6 +109,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk.dtb dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk-csi2-dual-imx219.dtbo # Boards with J721s2 SoC +dtb-$(CONFIG_ARCH_K3) += k3-am68-phyboard-izar.dtb dtb-$(CONFIG_ARCH_K3) += k3-am68-sk-base-board.dtb dtb-$(CONFIG_ARCH_K3) += k3-am68-sk-base-board-pcie1-ep.dtbo dtb-$(CONFIG_ARCH_K3) += k3-j721s2-common-proc-board.dtb
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts new file +576 -0
576 lines not on this page · raw message
arch/arm64/boot/dts/ti/k3-am68-phycore-som.dtsi new file +594 -0
594 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 1/2 dt-bindings: arm: ti: Add bindings for PHYTEC AM68x based hardware
Add devicetree bindings for the AM68x based phyCORE-AM68x/TDA4x SoM and the phyBOARD-Izar carrier board.
--- Documentation/devicetree/bindings/arm/ti/k3.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/ti/k3.yaml +2 -0
@@ -135,6 +135,8 @@ properties: - description: K3 J721s2 SoC items: - enum: + - phytec,am68-phyboard-izar + - phytec,am68-phycore-som - ti,am68-sk - ti,j721s2-evm - const: ti,j721s2
Signature · 1 line
2.43.0
Nishanth Menon
maintainerRe: [PATCH 2/2] arm64: dts: ti: Add basic support for phyBOARD-Izar-AM68x
In reply to Dominik HallerQuick look comments below.
Quoted 8 lines · Dominik Haller
The phyCORE-AM68x/TDA4x [1] is a SoM (System on Module) featuring TI's AM68x/TDA4x SoC. It can be used in combination with different carrier boards. This module can come with different sizes and models for DDR, eMMC, SPI NOR Flash and various SoCs from the AM68x/TDA4x (J721S2) family.
A reference carrier board design, called phyBOARD-Izar is used for the phyCORE-AM68x/TDA4x development kit [2].
Quoted 12 lines
Supported features:
* Debug UART
* 2x SPI NOR Flash
* eMMC
* 2x Ethernet
* Micro SD card
* I2C EEPROM
* I2C RTC
* 2x I2C GPIO Expander
* LEDs
* USB 5 Gbit/s
* PCIe
Can we drop the whitespace prefix?
Quoted 9 lines
For more details see the product pages for the SoM and the development kit:
[1] https://www.phytec.eu/en/produkte/system-on-modules/phycore-am68x-tda4x/
[2] https://www.phytec.eu/en/produkte/development-kits/phyboard-izar/Signed-off-by Dominik Haller <[email protected]>---
Could you share the bootlog in the diffstat along with output of deferred_devices Using the default defconfig -> I want to make sure there are no defconfig updates needed.
Quoted 7 lines
arch/arm64/boot/dts/ti/Makefile | 1 + .../boot/dts/ti/k3-am68-phyboard-izar.dts | 576 +++++++++++++++++ .../boot/dts/ti/k3-am68-phycore-som.dtsi | 594 ++++++++++++++++++ 3 files changed, 1171 insertions(+) create mode 100644 arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts create mode 100644 arch/arm64/boot/dts/ti/k3-am68-phycore-som.dtsi
[...]
Quoted 5 lines
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts new file +5
-0+ +#include "k3-serdes.h" + +/ { + compatible = "phytec,am68-phyboard-izar", "ti,j721s2";
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts line 30
Quoted 10 lines
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts new file +10
-0+ model = "PHYTEC phyBOARD-Izar-AM68x"; + + aliases { + ethernet0 = &cpsw_port1; + mmc1 = &main_sdhci1; + serial0 = &wkup_uart0; + serial1 = &mcu_uart0; + serial2 = &main_uart8; + serial3 = &main_uart1; + serial4 = &main_uart2;
Could you order this slightly differently:
serial
mmc
ethernet
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts line 34
Quoted 4 lines
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts new file +4
-0+ }; + + chosen { + stdout-path = "serial2:115200n8";
= &main_uart8
Quoted 8 lines
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts new file +8
-0+ }; + + transceiver1: can-phy1 { + compatible = "ti,tcan1043"; + #phy-cells = <0>; + max-bitrate = <8000000>; + }; +
[...]
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts line 493
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts new file +7
-0+ +&serdes_refclk { + clock-frequency = <100000000>; +}; + +&serdes0 { + status = "okay";
Documentation/devicetree/bindings/dts-coding-style.rst
Add an EoL
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts line 498
Quoted 5 lines
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts new file +5
-0+ serdes0_pcie_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + #phy-cells = <0>; + cdns,phy-type = <PHY_TYPE_PCIE>;
vendor specific properties come last
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts line 500
Quoted 2 lines
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts new file +2
-0+ resets = <&serdes_wiz0 1>; + };
Add an EoL
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts line 505
Quoted 5 lines
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts new file +5
-0+ serdes0_usb_link: phy@1 { + reg = <1>; + cdns,num-lanes = <1>; + #phy-cells = <0>; + cdns,phy-type = <PHY_TYPE_USB3>;
Same.
Quoted 4 lines
arch/arm64/boot/dts/ti/k3-am68-phyboard-izar.dts new file +4
-0+ resets = <&serdes_wiz0 2>; + }; +}; +
[...]
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Re: [PATCH 2/2] arm64: dts: ti: Add basic support for phyBOARD-Izar-AM68x
Quoted 40 lines · Nishanth Menon
Quick look comments below.
Quoted 13 lines · Dominik Haller
The phyCORE-AM68x/TDA4x [1] is a SoM (System on Module) featuring TI's
AM68x/TDA4x SoC. It can be used in combination with different carrier
boards. This module can come with different sizes and models for DDR,
eMMC, SPI NOR Flash and various SoCs from the AM68x/TDA4x (J721S2) family.A reference carrier board design, called phyBOARD-Izar is used for the
phyCORE-AM68x/TDA4x development kit [2].Quoted 12 lines
Supported features:
* Debug UART
* 2x SPI NOR Flash
* eMMC
* 2x Ethernet
* Micro SD card
* I2C EEPROM
* I2C RTC
* 2x I2C GPIO Expander
* LEDs
* USB 5 Gbit/s
* PCIeCan we drop the whitespace prefix?
Quoted 9 lines
For more details see the product pages for the SoM and the development kit:
[1]
https://www.phytec.eu/en/produkte/system-on-modules/phycore-am68x-tda4x/
[2]
https://www.phytec.eu/en/produkte/development-kits/phyboard-izar/
Quoted 6 lines
Quoted 2 lines
Signed-off-by Dominik Haller <[email protected]>---
Could you share the bootlog in the diffstat along with output of
deferred_devicesUsing the default defconfig -> I want to make sure there are no defconfig updates needed.
I'll add a bootlog using the default defconfig to the v2 with the style fixes.deferred_devices is empty.
PCIe and the TMP102 temperature sensors are not enabled with the defconfig as of v6.15-rc1. I plan to send a separate patch with CONFIG_SENSORS_TMP102=m but if you can queue that in with the devicetree I can simply add that to this series.
[...]
Nishanth Menon
maintainerRe: [PATCH 2/2] arm64: dts: ti: Add basic support for phyBOARD-Izar-AM68x
Quoted 47 lines · Dominik Haller
Quoted 40 lines · Nishanth Menon
Quick look comments below.
Quoted 13 lines · Dominik Haller
The phyCORE-AM68x/TDA4x [1] is a SoM (System on Module) featuring TI's
AM68x/TDA4x SoC. It can be used in combination with different carrier
boards. This module can come with different sizes and models for DDR,
eMMC, SPI NOR Flash and various SoCs from the AM68x/TDA4x (J721S2) family.A reference carrier board design, called phyBOARD-Izar is used for the
phyCORE-AM68x/TDA4x development kit [2].Quoted 12 lines
Supported features:
* Debug UART
* 2x SPI NOR Flash
* eMMC
* 2x Ethernet
* Micro SD card
* I2C EEPROM
* I2C RTC
* 2x I2C GPIO Expander
* LEDs
* USB 5 Gbit/s
* PCIeCan we drop the whitespace prefix?
Quoted 9 lines
For more details see the product pages for the SoM and the development kit:
[1]
https://www.phytec.eu/en/produkte/system-on-modules/phycore-am68x-tda4x/
[2]
https://www.phytec.eu/en/produkte/development-kits/phyboard-izar/Quoted 6 lines
Quoted 2 lines
Signed-off-by Dominik Haller <[email protected]>---
Could you share the bootlog in the diffstat along with output of
deferred_devicesUsing the default defconfig -> I want to make sure there are no defconfig updates needed.
Quoted 7 lines
I'll add a bootlog using the default defconfig to the v2 with the style fixes.
deferred_devicesis empty.
PCIe and the TMP102 temperature sensors are not enabled with the defconfig as of v6.15-rc1. I plan to send a separate patch withCONFIG_SENSORS_TMP102=mbut if you can queue that in with the devicetree I can simply add that to this series.
you can post it as a single series and I can pick to the correct branches.
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D