[PATCH 20/20] configs: T1024RDB: enable DM_SERIAL

2023-07-11 Thread Camelia Groza
As the serial devices are configured in the device tree, enable DM_SERIAL in the non-SPL T1024RDB defconfigs. Signed-off-by: Camelia Groza --- configs/T1024RDB_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/T1024RDB_defconfig b/configs

[PATCH 19/20] powerpc: dts: t1024rdb: tag serial nodes with bootph-all

2023-07-11 Thread Camelia Groza
Make sure the serial driver is initialized before relocation by tagging the serial nodes with "bootph-all". Add these u-boot specific properties to an *-u-boot.dtsi file. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t1024rdb-u-boot.dtsi | 12 1 file changed, 12

[PATCH 17/20] board: freescale: t102xrdb: implement get_serial_clock

2023-07-11 Thread Camelia Groza
The serial clock is provided by the get_serial_clock() callback on PPC under DM_SERIAL. Use the same method to compute the clock as for non-DM_SERIAL use cases. Signed-off-by: Camelia Groza --- board/freescale/t102xrdb/t102xrdb.c | 10 +- include/configs/T102xRDB.h | 4 +++- 2

[PATCH 18/20] powerpc: dts: t1024rdb: add serial nodes

2023-07-11 Thread Camelia Groza
Add the serial node descriptions similar to Linux v6.4 for the t1024rdb board and its dependencies. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t1023si-post.dtsi | 4 +++- arch/powerpc/dts/t1024rdb.dts | 6 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch

[PATCH 16/20] board: freescale: t102xrdb: enumerate PCI devices

2023-07-11 Thread Camelia Groza
Call pci_init() to force PCI enumeration at probe time. Signed-off-by: Camelia Groza --- board/freescale/t102xrdb/t102xrdb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/t102xrdb/t102xrdb.c b/board/freescale/t102xrdb/t102xrdb.c index baa59615b3ee..ffc4c1122d83 100644

[PATCH 15/20] configs: T1042D4RDB: enable DM_SERIAL

2023-07-11 Thread Camelia Groza
As the serial devices are configured in the device tree, enable DM_SERIAL in the non-SPL T1042D4RDB defconfigs. Signed-off-by: Camelia Groza --- configs/T1042D4RDB_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/T1042D4RDB_defconfig b/configs

[PATCH 14/20] powerpc: dts: t1042d4rdb: tag serial nodes with bootph-all

2023-07-11 Thread Camelia Groza
Make sure the serial driver is initialized before relocation by tagging the serial nodes with "bootph-all". Add these u-boot specific properties to an *-u-boot.dtsi file. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t1042d4rdb-u-boot.dtsi | 12 1 file changed, 12

[PATCH 13/20] powerpc: dts: t1042d4rdb: add serial nodes

2023-07-11 Thread Camelia Groza
Add the serial node descriptions similar to Linux v6.4 for the t1042d4rdb board and its dependencies. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t1042d4rdb.dts| 6 +- arch/powerpc/dts/t1042si-post.dtsi | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch

[PATCH 12/20] board: freescale: t104xrdb: implement get_serial_clock

2023-07-11 Thread Camelia Groza
The serial clock is provided by the get_serial_clock() callback on PPC under DM_SERIAL. Use the same method to compute the clock as for non-DM_SERIAL use cases. Signed-off-by: Camelia Groza --- board/freescale/t104xrdb/t104xrdb.c | 9 + include/configs/T104xRDB.h | 4 +++- 2

[PATCH 10/20] configs: T4240RDB: enable DM_SERIAL

2023-07-11 Thread Camelia Groza
As the serial devices are configured in the device tree, enable DM_SERIAL in the non-SPL T4240RDB defconfig. Signed-off-by: Camelia Groza --- configs/T4240RDB_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/T4240RDB_defconfig b/configs/T4240RDB_defconfig

[PATCH 11/20] board: freescale: t104xrdb: enumerate PCI devices

2023-07-11 Thread Camelia Groza
Call pci_init() to force PCI enumeration at probe time. Signed-off-by: Camelia Groza --- board/freescale/t104xrdb/t104xrdb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/freescale/t104xrdb/t104xrdb.c b/board/freescale/t104xrdb/t104xrdb.c index 8cec71217a72..562360de5291 100644

[PATCH 09/20] powerpc: dts: t4240rdb: tag serial nodes with bootph-all

2023-07-11 Thread Camelia Groza
Make sure the serial driver is initialized before relocation by tagging the serial nodes with "bootph-all". Add these u-boot specific properties to an *-u-boot.dtsi file. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t4240rdb-u-boot.dtsi | 12 1 file changed, 12

[PATCH 08/20] powerpc: dts: t4240rdb: add serial nodes

2023-07-11 Thread Camelia Groza
Add the serial node descriptions similar to Linux v6.4 for the t4240rdb board and its dependencies. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t4240rdb.dts | 6 +- arch/powerpc/dts/t4240si-post.dtsi | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch

[PATCH 07/20] board: freescale: t4240rdb: implement get_serial_clock

2023-07-11 Thread Camelia Groza
The serial clock is provided by the get_serial_clock() callback on PPC under DM_SERIAL. Use the same method to compute the clock as for non-DM_SERIAL use cases. Signed-off-by: Camelia Groza --- board/freescale/t4rdb/t4240rdb.c | 9 + include/configs/T4240RDB.h | 4 +++- 2 files

[PATCH 06/20] board: freescale: t4240rdb: enumerate PCI devices

2023-07-11 Thread Camelia Groza
Call pci_init() to force PCI enumeration at probe time. Signed-off-by: Camelia Groza --- board/freescale/t4rdb/t4240rdb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/t4rdb/t4240rdb.c b/board/freescale/t4rdb/t4240rdb.c index 0bd0ba939628..0035bd796e10 100644 --- a/board

[PATCH 05/20] configs: T2080RDB: enable DM_SERIAL

2023-07-11 Thread Camelia Groza
As the serial devices are configured in the device tree, enable DM_SERIAL in the non-SPL T2080RDB defconfigs. Signed-off-by: Camelia Groza --- configs/T2080RDB_defconfig | 4 +++- configs/T2080RDB_revD_defconfig | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a

[PATCH 04/20] powerpc: dts: t2080rdb: tag serial nodes with bootph-all

2023-07-11 Thread Camelia Groza
Make sure the serial driver is initialized before relocation by tagging the serial nodes with "bootph-all". Add these u-boot specific properties to an *-u-boot.dtsi file. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t2080rdb-u-boot.dtsi | 12 1 file changed, 12

[PATCH 03/20] powerpc: dts: t2080rdb: add serial nodes

2023-07-11 Thread Camelia Groza
Add the serial node descriptions similar to Linux v6.4 for the t2080rdb board and its dependencies. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t2080rdb.dts | 6 +- arch/powerpc/dts/t2080si-post.dtsi | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch

[PATCH 02/20] board: freescale: t2080rdb: implement get_serial_clock

2023-07-11 Thread Camelia Groza
The serial clock is provided by the get_serial_clock() callback on PPC under DM_SERIAL. Use the same method to compute the clock as for non-DM_SERIAL use cases. Signed-off-by: Camelia Groza --- board/freescale/t208xrdb/t208xrdb.c | 8 include/configs/T208xRDB.h | 4 +++- 2

[PATCH 01/20] board: freescale: t2080rdb: enumerate PCI devices

2023-07-11 Thread Camelia Groza
Call pci_init() to force PCI enumeration at probe time. Signed-off-by: Camelia Groza --- board/freescale/t208xrdb/t208xrdb.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/board/freescale/t208xrdb/t208xrdb.c b/board/freescale/t208xrdb/t208xrdb.c index 04cb313e8c4c

[PATCH 00/20] Enable DM_SERIAL for NXP PPC T-series boards

2023-07-11 Thread Camelia Groza
'bootph-all' to guarantee the drivers are initialized before relocation. New board specific *-u-boot.dtsi files are created to store these properties. - CONFIG_DM_SERIAL is enabled in the board defconfigs While here, enumerate the PCI devices at probe time for each board. Camelia Groza (20

[PATCH v2 7/7] configs: ls1046afrwy: enable DM_SERIAL

2023-06-16 Thread Camelia Groza
As the serial devices are configured in the device tree, enable DM_SERIAL in the ls1046afrwy defconfigs. Signed-off-by: Camelia Groza --- configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig | 4 +++- configs/ls1046afrwy_tfa_defconfig | 4 +++- 2 files changed, 6 insertions(+), 2 deletions

[PATCH v2 6/7] configs: ls1046ardb: enable DM_SERIAL

2023-06-16 Thread Camelia Groza
As the serial devices are configured in the device tree, enable DM_SERIAL in the ls1046ardb defconfigs. Signed-off-by: Camelia Groza --- configs/ls1046ardb_emmc_defconfig | 3 ++- configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 4 +++- configs/ls1046ardb_qspi_defconfig

[PATCH v2 5/7] arch: arm: dts: ls1046a: tag serial nodes with bootph-all

2023-06-16 Thread Camelia Groza
Make sure the serial driver is initialized before relocation by tagging the serial nodes with "bootph-all". In order to keep the serial nodes in sync with their representation in the Linux dts, add these u-boot specific properties to *-u-boot.dtsi files. Signed-off-by: Camelia Gro

[PATCH v2 4/7] arch: arm: dts: ls1046a: sync serial nodes with Linux

2023-06-16 Thread Camelia Groza
family. Signed-off-by: Camelia Groza --- V2: - mention the Linux kernel version the serial nodes are synced with - also pick up the status properties of the serial nodes from Linux arch/arm/dts/fsl-ls1046a-frwy.dts | 22 +- arch/arm/dts/fsl-ls1046a-qds.dtsi | 2 +- arch/arm

[PATCH v2 3/7] configs: ls1043ardb: enable DM_SERIAL

2023-06-16 Thread Camelia Groza
As the serial devices are configured in the device tree, enable DM_SERIAL in the ls1043ardb defconfigs. Signed-off-by: Camelia Groza --- configs/ls1043ardb_SECURE_BOOT_defconfig| 4 +++- configs/ls1043ardb_defconfig| 4 +++- configs

[PATCH v2 2/7] arch: arm: dts: ls1043a: tag serial nodes with bootph-all

2023-06-16 Thread Camelia Groza
Make sure the serial driver is initialized before relocation by tagging the serial nodes with "bootph-all". In order to keep the serial nodes in sync with their representation in the Linux dts, add these u-boot specific properties to *-u-boot.dtsi files. Signed-off-by: Camelia Gro

[PATCH v2 1/7] arch: arm: dts: ls1043a: sync serial nodes with Linux

2023-06-16 Thread Camelia Groza
-by: Camelia Groza --- V2: - mention the Linux kernel version the serial nodes are synced with arch/arm/dts/fsl-ls1043a-qds.dtsi | 2 +- arch/arm/dts/fsl-ls1043a-rdb.dts | 6 +- arch/arm/dts/fsl-ls1043a.dtsi | 16 +++- 3 files changed, 17 insertions(+), 7 deletions(-) diff

[PATCH v2 0/7] Enable DM_SERIAL for the LS104xA RDB/FRWY boards

2023-06-16 Thread Camelia Groza
h in 1/7 and 4/7 - create *-u-boot.dtsi files to store u-boot specific dts properties in 2/7 and 5/7 - pick up the status properties of the serial nodes from Linux in 4/7 Camelia Groza (7): arch: arm: dts: ls1043a: sync serial nodes with Linux arch: arm: dts: ls1043a: tag serial nodes with

[PATCH 6/7] configs: ls1046ardb: enable DM_SERIAL

2023-06-15 Thread Camelia Groza
As the serial devices are configured in the device tree, enable DM_SERIAL in the ls1046ardb defconfigs. Signed-off-by: Camelia Groza --- configs/ls1046ardb_emmc_defconfig | 3 ++- configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 4 +++- configs/ls1046ardb_qspi_defconfig

[PATCH 7/7] configs: ls1046afrwy: enable DM_SERIAL

2023-06-15 Thread Camelia Groza
As the serial devices are configured in the device tree, enable DM_SERIAL in the ls1046afrwy defconfigs. Signed-off-by: Camelia Groza --- configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig | 4 +++- configs/ls1046afrwy_tfa_defconfig | 4 +++- 2 files changed, 6 insertions(+), 2 deletions

[PATCH 5/7] arch: arm: dts: ls1046a: tag serial nodes with bootph-all

2023-06-15 Thread Camelia Groza
Make sure the serial driver is initialized before relocation by tagging the serial nodes with "bootph-all". Signed-off-by: Camelia Groza --- arch/arm/dts/fsl-ls1046a.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.

[PATCH 4/7] arch: arm: dts: ls1046a: sync serial nodes with Linux

2023-06-15 Thread Camelia Groza
. Signed-off-by: Camelia Groza --- arch/arm/dts/fsl-ls1046a-frwy.dts | 22 +- arch/arm/dts/fsl-ls1046a-qds.dtsi | 2 +- arch/arm/dts/fsl-ls1046a-rdb.dts | 14 +- arch/arm/dts/fsl-ls1046a.dtsi | 24 +++- 4 files changed, 50 insertions

[PATCH 3/7] configs: ls1043ardb: enable DM_SERIAL

2023-06-15 Thread Camelia Groza
As the serial devices are configured in the device tree, enable DM_SERIAL in the ls1043ardb defconfigs. Signed-off-by: Camelia Groza --- configs/ls1043ardb_SECURE_BOOT_defconfig| 4 +++- configs/ls1043ardb_defconfig| 4 +++- configs

[PATCH 2/7] arch: arm: dts: ls1043a: tag serial nodes with bootph-all

2023-06-15 Thread Camelia Groza
Make sure the serial driver is initialized before relocation by tagging the serial nodes with "bootph-all". Signed-off-by: Camelia Groza --- arch/arm/dts/fsl-ls1043a.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.

[PATCH 1/7] arch: arm: dts: ls1043a: sync serial nodes with Linux

2023-06-15 Thread Camelia Groza
: Camelia Groza --- arch/arm/dts/fsl-ls1043a-qds.dtsi | 2 +- arch/arm/dts/fsl-ls1043a-rdb.dts | 6 +- arch/arm/dts/fsl-ls1043a.dtsi | 16 +++- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/arch/arm/dts/fsl-ls1043a-qds.dtsi b/arch/arm/dts/fsl-ls1043a-qds.dtsi

[PATCH 0/7] Enable DM_SERIAL for the LS104xA RDB/FRWY boards

2023-06-15 Thread Camelia Groza
n. Lastly, CONFIG_DM_SERIAL is enabled in the relevant defconfigs. Camelia Groza (7): arch: arm: dts: ls1043a: sync serial nodes with Linux arch: arm: dts: ls1043a: tag the serial nodes with bootph-all configs: ls1043ardb: enable DM_SERIAL arch: arm: dts: ls1046a: sync serial nodes with Linux

[PATCH 3/3] configs: ls1046afrwy: enable DM_MDIO and DM_CMD

2023-06-07 Thread Camelia Groza
With DM_ETH configured by default, complete the Ethernet enablement for LS1046AFRWY by activating DM_MDIO. Signed-off-by: Camelia Groza --- configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig | 2 ++ configs/ls1046afrwy_tfa_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a

[PATCH 2/3] board: freescale: ls1046afrwy: enumerate PCI devices

2023-06-07 Thread Camelia Groza
Call pci_init() from board_init() to force PCI enumeration at probe time. Signed-off-by: Camelia Groza --- board/freescale/ls1046afrwy/ls1046afrwy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/freescale/ls1046afrwy/ls1046afrwy.c b/board/freescale/ls1046afrwy/ls1046afrwy.c

[PATCH 1/3] arm: dts: ls1046afrwy: add the FMan Ethernet nodes

2023-06-07 Thread Camelia Groza
Describe the FMan Ethernet interfaces present on the board. Signed-off-by: Camelia Groza --- arch/arm/dts/fsl-ls1046a-frwy.dts | 48 ++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/fsl-ls1046a-frwy.dts b/arch/arm/dts/fsl-ls1046a

[PATCH 0/3] board: fsl: ls1046afrwy: complete DM_ETH enablement

2023-06-07 Thread Camelia Groza
With DM_ETH enabled by default, the FMan Ethernet isn't configured at present. This patch set adds the missing dts nodes, enables remaining build configs and initializes PCI devices. Camelia Groza (3): arm: dts: ls1046afrwy: add the FMan Ethernet nodes board: freescale: ls1046afrwy: enum

[PATCH] board: ls1043ardb: fdt fixups for revision v7.0 boards

2022-07-28 Thread Camelia Groza
From: Camelia Groza The LS1043ARDB rev v7.0 board replaces the AQR105 PHY on MAC9 with an AQR113C PHY. The address of the PHY on the MDIO bus changes from 0x1 to 0x8. Enable CONFIG_OF_BOARD_FIXUP and update both u-boot and Linux device trees to reflect this change. Signed-off-by: Camelia Groza

[PATCH] configs: fsl: add missing SYS_FMAN_FW_ADDR defines

2022-06-02 Thread Camelia Groza
From: Camelia Groza Two defconfigs were missed when transitioning the SYS_FMAN_FW_ADDR symbol to Kconfig. CONFIG_SYS_FMAN_FW_ADDR is currently initialized to 0 by default on these builds, which prevents the firmware from loading. Add the correct symbols to these defconfigs. Fixes

[PATCH] configs: fsl: add missing FMAN/QE_FW_ADDR defines

2022-01-13 Thread Camelia Groza
From: Camelia Groza The initial patch had typos that caused four defconfigs to miss the symbol transition to Kconfig. CONFIG_SYS_QE_FW_ADDR and CONFIG_SYS_FMAN_FW_ADDR are currently initialized to 0 by default on these builds, which prevents the firmware from loading. Add the correct symbols to

[PATCH] board: freescale: t208xrdb: enable Power-On Reset for rev D boards

2021-07-29 Thread Camelia Groza
From: Camelia Groza Starting with board revision D, the MISCCSR CPLD register needs to be configured to enable Power-on Reset for software reset commands. Signed-off-by: Camelia Groza --- board/freescale/t208xrdb/cpld.h | 4 board/freescale/t208xrdb/t208xrdb.c | 7 +++ 2 files

[PATCH] configs: ls1046ardb: enable PHY_FIXED

2021-06-17 Thread Camelia Groza
From: Camelia Groza The optical 10G port is described as fixed-link in the device tree. Enable the necessary support. Signed-off-by: Camelia Groza --- configs/ls1046ardb_emmc_defconfig | 1 + configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 1 + configs

[PATCH] arm: dts: ls1043ardb: configure the RGMII ports with rgmii-id

2021-06-16 Thread Camelia Groza
From: Camelia Groza The RGMII ports on LS1043ARDB platforms require both RX and TX internal delays to be enabled. The device tree reports only the TX ID because the RX ID used to be enabled by default. With the addition of RX ID support for the Realtek 8211F PHY driver in commit e32e4d0f58cb

[PATCH v2 4/4] board: freescale: t208xrdb: add a config option for rev D dts fixups

2021-06-11 Thread Camelia Groza
From: Camelia Groza Under DM, we rely on u-boot's device tree to provide the correct PHY addresses. The board_fix_fdt callback is intended to be used for device tree fixups before relocation. Unfortunately, this isn't an option when booting from flash since the device tree isn't

[PATCH v2 3/4] board: freescale: t208xrdb: add Linux fdt fix-ups for rev D

2021-06-11 Thread Camelia Groza
From: Camelia Groza The T2080RDB boards revisions D and up have updated 10G Aquantia PHYs connected to MAC1 and MAC2. The second Aquantia PHY is located at a different address on the MDIO bus compared to rev C (0x8 instead of 0x1). Fix-up the Linux device tree to update the PHY address for the

[PATCH v2 2/4] board: freescale: t208xrdb: detect the board revision version

2021-06-11 Thread Camelia Groza
From: Camelia Groza Detect and print the board revision version based on the CPLD registers. Signed-off-by: Camelia Groza --- Changes in v2: - patch title and description rewording board/freescale/t208xrdb/t208xrdb.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions

[PATCH v2 1/4] board: freescale: t208xrdb: remove the legacy non-DM_ETH code

2021-06-11 Thread Camelia Groza
From: Camelia Groza Both DM_ETH and DM_PCI are enabled for the T2080RDB board. Remove the board_eth_init() callback and the non-DM_ETH code paths since they are not needed anymore. Signed-off-by: Camelia Groza --- Changes in v2: - new patch board/freescale/t208xrdb/eth_t208xrdb.c | 79

[PATCH 0/4] board: freescale: T2080RDB: rev D support and

2021-06-11 Thread Camelia Groza
From: Camelia Groza The T2080RDB boards revision D and up have updated Aquantia PHYs on the two 10Gbps copper ports connected to MAC1 and MAC2 (from AQ1202 to AQR113C). The second PHY connected to MAC2 is located at a different address on the MDIO bus compared to revision C boards. Device tree

[PATCH 4/4] board: freescale: t208xrdb: add a config option for rev D dts fixups

2021-06-10 Thread Camelia Groza
From: Camelia Groza Under DM, we rely on u-boot's device tree to provide the correct PHY addresses. The board_fix_fdt callback is intended to be used for device tree fixups before relocation. Unfortunately, this isn't an option when booting from flash since the device tree isn't

[PATCH 2/4] board: freescale: t208xrdb: add rev D support for the non-DM_ETH mode

2021-06-10 Thread Camelia Groza
From: Camelia Groza The T2080RDB boards revisions D and up have updated 10G Aquantia PHYs connected to MAC1 and MAC2. The second Aquantia PHY is located at a different address on the MDIO bus compared to rev C. Account for these changes when initializing the board in the legacy non-DM_ETH mode

[PATCH 3/4] board: freescale: t208xrdb: add Linux fdt fixups for rev D

2021-06-10 Thread Camelia Groza
From: Camelia Groza Edit Linux's device tree to update the PHY address for the second Aquantia PHY on boards revisions D and up. Also rename the PHY node to reflect the changes. Signed-off-by: Camelia Groza --- board/freescale/t208xrdb/eth_t208xrdb.c | 33 +

[PATCH 1/4] board: freescale: t208xrdb: detect the board revision letter

2021-06-10 Thread Camelia Groza
From: Camelia Groza Detect and print the board revision letter based on the CPLD registers. Account for the upcoming D and E revisions. Signed-off-by: Camelia Groza --- board/freescale/t208xrdb/t208xrdb.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a

[PATCH 0/4] board: freescale: add T2080RDB rev D support

2021-06-10 Thread Camelia Groza
From: Camelia Groza The T2080RDB boards revision D and up have updated Aquantia PHYs on the two 10Gbps copper ports connected to MAC1 and MAC2 (from AQ1202 to AQR113C). The second PHY connected to MAC2 is located at a different address on the MDIO bus compared to revision C boards. Device tree

[PATCH v2 11/11] configs: T1042D4RDB: enable DM_ETH

2021-04-13 Thread Camelia Groza
From: Camelia Groza Enable DM_ETH and DM_MDIO for the T1042D4RDB. Signed-off-by: Camelia Groza --- Changes in v2: - enable OF_CONTROL for the T1042D4RDB_SECURE_BOOT_defconfig configs/T1042D4RDB_NAND_defconfig| 3 +++ configs/T1042D4RDB_SDCARD_defconfig | 3 +++ configs

[PATCH v2 10/11] powerpc: dts: t1042d4rdb: add FMan v3 nodes

2021-04-13 Thread Camelia Groza
From: Camelia Groza Add the FMan v3 nodes for the T1042D4RDB. The nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t1042d4rdb.dts | 55 - 1 file changed, 54 insertions(+), 1

[PATCH v2 08/11] configs: T4240RDB: enable DM_ETH

2021-04-13 Thread Camelia Groza
From: Camelia Groza Enable DM_ETH and DM_MDIO for the T4240RDB. Signed-off-by: Camelia Groza --- configs/T4240RDB_SDCARD_defconfig | 3 +++ configs/T4240RDB_defconfig| 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/T4240RDB_SDCARD_defconfig b/configs

[PATCH v2 09/11] powerpc: dts: t1042: add QorIQ DPAA 1 FMan v3 nodes

2021-04-13 Thread Camelia Groza
From: Camelia Groza Add the QorIQ DPAA 1 FMan v3 device tree nodes for the T1042 SoC. The device tree nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t1042si-post.dtsi | 46 ++ 1

[PATCH v2 07/11] powerpc: dts: qoriq: update the mdio offsets under the second FMan v3

2021-04-13 Thread Camelia Groza
From: Camelia Groza When two FMan's are present on a board, the MDIO nodes are found at the same offsets inside each FMan. This causes "non unique device name" errors when registering the MDIO nodes under the second FMan. Fix this by updating the offsets of the MDIO nodes to inc

[PATCH v2 06/11] powerpc: dts: t4240rdb: add FMan v3 nodes

2021-04-13 Thread Camelia Groza
From: Camelia Groza Add the FMan v3 nodes for the T4240RDB. The nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t4240rdb.dts | 142 +- 1 file changed, 141 insertions(+), 1

[PATCH v2 05/11] powerpc: dts: t4240: add QorIQ DPAA 1 FMan v3 nodes

2021-04-13 Thread Camelia Groza
From: Camelia Groza Add the QorIQ DPAA 1 FMan v3 device tree nodes for the T4240 SoC. The device tree nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t4240si-post.dtsi | 101 + 1

[PATCH v2 03/11] board: freescale: t208xrdb: fdt fixups under DM_ETH

2021-04-13 Thread Camelia Groza
From: Camelia Groza Disable the FMan mEMAC 5 and 6 nodes from the fdt since they are not available under the supported RCW. Also disable the associated "fsl,dpa-ethernet" nodes that reference them. This is a simplified version of the fdt_fixup_fman_ethernet call for use under DM_ET

[PATCH v2 04/11] configs: T2080RDB: enable DM_ETH

2021-04-13 Thread Camelia Groza
From: Camelia Groza Enable DM_ETH and DM_MDIO for the T2080RDB. Signed-off-by: Camelia Groza --- configs/T2080RDB_NAND_defconfig | 3 +++ configs/T2080RDB_SDCARD_defconfig | 3 +++ configs/T2080RDB_SPIFLASH_defconfig | 3 +++ configs/T2080RDB_defconfig | 3 +++ 4 files changed

[PATCH v2 02/11] powerpc: dts: t2080rdb: add FMan v3 nodes

2021-04-13 Thread Camelia Groza
From: Camelia Groza Add the FMan v3 nodes for the T2080RDB. The nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t2080rdb.dts | 69 ++- 1 file changed, 68 insertions(+), 1

[PATCH v2 01/11] powerpc: dts: t2080: add QorIQ DPAA 1 FMan v3 nodes

2021-04-13 Thread Camelia Groza
From: Camelia Groza Add the QorIQ DPAA 1 FMan v3 device tree nodes for the T2080 SoC. The device tree nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t2080si-post.dtsi | 51 ++ 1

[PATCH v2 00/11] Enable DM_ETH for DPAA1 PowerPC T-series boards

2021-04-13 Thread Camelia Groza
d new routine in order to avoid the legacy code path. Changes in v2: - enable OF_CONTROL for the T1042D4RDB_SECURE_BOOT_defconfig in 11/11 Camelia Groza (11): powerpc: dts: t2080: add QorIQ DPAA 1 FMan v3 nodes powerpc: dts: t2080rdb: add FMan v3 nodes board: freescale: t208xrdb: fdt fixups

[PATCH 10/11] powerpc: dts: t1042d4rdb: add FMan v3 nodes

2021-04-10 Thread Camelia Groza
Add the FMan v3 nodes for the T1042D4RDB. The nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t1042d4rdb.dts | 55 - 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a

[PATCH 11/11] configs: T1042D4RDB: enable DM_ETH

2021-04-10 Thread Camelia Groza
Enable DM_ETH and DM_MDIO for the T1042D4RDB. Signed-off-by: Camelia Groza --- configs/T1042D4RDB_NAND_defconfig| 3 +++ configs/T1042D4RDB_SDCARD_defconfig | 3 +++ configs/T1042D4RDB_SECURE_BOOT_defconfig | 4 +++- configs/T1042D4RDB_SPIFLASH_defconfig| 3 +++ configs

[PATCH 09/11] powerpc: dts: t1042: add QorIQ DPAA 1 FMan v3 nodes

2021-04-10 Thread Camelia Groza
Add the QorIQ DPAA 1 FMan v3 device tree nodes for the T1042 SoC. The device tree nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t1042si-post.dtsi | 46 ++ 1 file changed, 46

[PATCH 07/11] powerpc: dts: qoriq: update the mdio offsets under the second FMan v3

2021-04-10 Thread Camelia Groza
27;s offset. Signed-off-by: Camelia Groza --- arch/powerpc/dts/qoriq-fman3-1-10g-0.dtsi | 2 +- arch/powerpc/dts/qoriq-fman3-1-10g-1.dtsi | 2 +- arch/powerpc/dts/qoriq-fman3-1-1g-0.dtsi | 2 +- arch/powerpc/dts/qoriq-fman3-1-1g-1.dtsi | 2 +- arch/powerpc/dts/qoriq-fman3-1-1g-2.dtsi | 2 +- ar

[PATCH 08/11] configs: T4240RDB: enable DM_ETH

2021-04-10 Thread Camelia Groza
Enable DM_ETH and DM_MDIO for the T4240RDB. Signed-off-by: Camelia Groza --- configs/T4240RDB_SDCARD_defconfig | 3 +++ configs/T4240RDB_defconfig| 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/T4240RDB_SDCARD_defconfig b/configs/T4240RDB_SDCARD_defconfig index

[PATCH 06/11] powerpc: dts: t4240rdb: add FMan v3 nodes

2021-04-10 Thread Camelia Groza
Add the FMan v3 nodes for the T4240RDB. The nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t4240rdb.dts | 142 +- 1 file changed, 141 insertions(+), 1 deletion(-) diff --git a

[PATCH 05/11] powerpc: dts: t4240: add QorIQ DPAA 1 FMan v3 nodes

2021-04-10 Thread Camelia Groza
Add the QorIQ DPAA 1 FMan v3 device tree nodes for the T4240 SoC. The device tree nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t4240si-post.dtsi | 101 + 1 file changed, 101

[PATCH 04/11] configs: T2080RDB: enable DM_ETH

2021-04-10 Thread Camelia Groza
Enable DM_ETH and DM_MDIO for the T2080RDB. Signed-off-by: Camelia Groza --- configs/T2080RDB_NAND_defconfig | 3 +++ configs/T2080RDB_SDCARD_defconfig | 3 +++ configs/T2080RDB_SPIFLASH_defconfig | 3 +++ configs/T2080RDB_defconfig | 3 +++ 4 files changed, 12 insertions

[PATCH 03/11] board: freescale: t208xrdb: fdt fixups under DM_ETH

2021-04-10 Thread Camelia Groza
Disable the FMan mEMAC 5 and 6 nodes from the fdt since they are not available under the supported RCW. Also disable the associated "fsl,dpa-ethernet" nodes that reference them. This is a simplified version of the fdt_fixup_fman_ethernet call for use under DM_ETH. Signed-off-by: Cam

[PATCH 02/11] powerpc: dts: t2080rdb: add FMan v3 nodes

2021-04-10 Thread Camelia Groza
Add the FMan v3 nodes for the T2080RDB. The nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t2080rdb.dts | 69 ++- 1 file changed, 68 insertions(+), 1 deletion(-) diff --git a

[PATCH 01/11] powerpc: dts: t2080: add QorIQ DPAA 1 FMan v3 nodes

2021-04-10 Thread Camelia Groza
Add the QorIQ DPAA 1 FMan v3 device tree nodes for the T2080 SoC. The device tree nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t2080si-post.dtsi | 51 ++ 1 file changed, 51

[PATCH 00/11] Enable DM_ETH for DPAA1 PowerPC T-series boards

2021-04-10 Thread Camelia Groza
d new routine in order to avoid the legacy code path. Camelia Groza (11): powerpc: dts: t2080: add QorIQ DPAA 1 FMan v3 nodes powerpc: dts: t2080rdb: add FMan v3 nodes board: freescale: t208xrdb: fdt fixups under DM_ETH configs: T2080RDB: enable DM_ETH powerpc: dts: t4240: add QorIQ D

[PATCH 11/11] configs: T1042D4RDB: enable DM_ETH

2021-04-09 Thread Camelia Groza
From: Camelia Groza Enable DM_ETH and DM_MDIO for the T1042D4RDB. Signed-off-by: Camelia Groza --- configs/T1042D4RDB_NAND_defconfig| 3 +++ configs/T1042D4RDB_SDCARD_defconfig | 3 +++ configs/T1042D4RDB_SECURE_BOOT_defconfig | 4 +++- configs/T1042D4RDB_SPIFLASH_defconfig

[PATCH 10/11] powerpc: dts: t1042d4rdb: add FMan v3 nodes

2021-04-09 Thread Camelia Groza
From: Camelia Groza Add the FMan v3 nodes for the T1042D4RDB. The nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t1042d4rdb.dts | 55 - 1 file changed, 54 insertions(+), 1

[PATCH 09/11] powerpc: dts: t1042: add QorIQ DPAA 1 FMan v3 nodes

2021-04-09 Thread Camelia Groza
From: Camelia Groza Add the QorIQ DPAA 1 FMan v3 device tree nodes for the T1042 SoC. The device tree nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t1042si-post.dtsi | 46 ++ 1

[PATCH 08/11] configs: T4240RDB: enable DM_ETH

2021-04-09 Thread Camelia Groza
From: Camelia Groza Enable DM_ETH and DM_MDIO for the T4240RDB. Signed-off-by: Camelia Groza --- configs/T4240RDB_SDCARD_defconfig | 3 +++ configs/T4240RDB_defconfig| 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/T4240RDB_SDCARD_defconfig b/configs

[PATCH 06/11] powerpc: dts: t4240rdb: add FMan v3 nodes

2021-04-09 Thread Camelia Groza
From: Camelia Groza Add the FMan v3 nodes for the T4240RDB. The nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t4240rdb.dts | 142 +- 1 file changed, 141 insertions(+), 1

[PATCH 07/11] powerpc: dts: qoriq: update the mdio offsets under the second FMan v3

2021-04-09 Thread Camelia Groza
From: Camelia Groza When two FMan's are present on a board, the MDIO nodes are found at the same offsets inside each FMan. This causes "non unique device name" errors when registering the MDIO nodes under the second FMan. Fix this by updating the offsets of the MDIO nodes to inc

[PATCH 05/11] powerpc: dts: t4240: add QorIQ DPAA 1 FMan v3 nodes

2021-04-09 Thread Camelia Groza
From: Camelia Groza Add the QorIQ DPAA 1 FMan v3 device tree nodes for the T4240 SoC. The device tree nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t4240si-post.dtsi | 101 + 1

[PATCH 04/11] configs: T2080RDB: enable DM_ETH

2021-04-09 Thread Camelia Groza
From: Camelia Groza Enable DM_ETH and DM_MDIO for the T2080RDB. Signed-off-by: Camelia Groza --- configs/T2080RDB_NAND_defconfig | 3 +++ configs/T2080RDB_SDCARD_defconfig | 3 +++ configs/T2080RDB_SPIFLASH_defconfig | 3 +++ configs/T2080RDB_defconfig | 3 +++ 4 files changed

[PATCH 03/11] board: freescale: t208xrdb: fdt fixups under DM_ETH

2021-04-09 Thread Camelia Groza
From: Camelia Groza Disable the FMan mEMAC 5 and 6 nodes from the fdt since they are not available under the supported RCW. Also disable the associated "fsl,dpa-ethernet" nodes that reference them. This is a simplified version of the fdt_fixup_fman_ethernet call for use under DM_ET

[PATCH 02/11] powerpc: dts: t2080rdb: add FMan v3 nodes

2021-04-09 Thread Camelia Groza
From: Camelia Groza Add the FMan v3 nodes for the T2080RDB. The nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t2080rdb.dts | 69 ++- 1 file changed, 68 insertions(+), 1

[PATCH 01/11] powerpc: dts: t2080: add QorIQ DPAA 1 FMan v3 nodes

2021-04-09 Thread Camelia Groza
From: Camelia Groza Add the QorIQ DPAA 1 FMan v3 device tree nodes for the T2080 SoC. The device tree nodes are copied over with little modification from the Linux kernel source code. Signed-off-by: Camelia Groza --- arch/powerpc/dts/t2080si-post.dtsi | 51 ++ 1

[PATCH 00/11] Enable DM_ETH for DPAA1 PowerPC T-series boards

2021-04-09 Thread Camelia Groza
evice tree. On T2080RDB, fdt fixups are performed before booting into the OS using a simplified new routine in order to avoid the legacy code path. Camelia Groza (11): powerpc: dts: t2080: add QorIQ DPAA 1 FMan v3 nodes powerpc: dts: t2080rdb: add FMan v3 nodes board: freescale: t208xrdb