Reviewed-by: Michael Tremer > On 3 Oct 2022, at 07:20, Mathew McBride wrote: > > This change enables support for NXP's QorIQ/Layerscape platforms, > specifically the Traverse Technologies Ten64 (LS1088A). > > Signed-off-by: Mathew McBride > --- > config/kernel/kernel.config.aarch64-ipfire | 76 ++++++++++++++++++---- > 1 file changed, 62 insertions(+), 14 deletions(-) > > diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kernel.config.aarch64-ipfire > index 836e2b15f..ea8c87c9c 100644 > --- a/config/kernel/kernel.config.aarch64-ipfire > +++ b/config/kernel/kernel.config.aarch64-ipfire > @@ -297,7 +297,7 @@ CONFIG_ARCH_BERLIN=y > # CONFIG_ARCH_EXYNOS is not set > # CONFIG_ARCH_SPARX5 is not set > # CONFIG_ARCH_K3 is not set > -# CONFIG_ARCH_LAYERSCAPE is not set > +CONFIG_ARCH_LAYERSCAPE=y > # CONFIG_ARCH_LG1K is not set > # CONFIG_ARCH_HISI is not set > # CONFIG_ARCH_KEEMBAY is not set > @@ -372,9 +372,9 @@ CONFIG_SOCIONEXT_SYNQUACER_PREITS=y > CONFIG_ARM64_4K_PAGES=y > # CONFIG_ARM64_16K_PAGES is not set > # CONFIG_ARM64_64K_PAGES is not set > -CONFIG_ARM64_VA_BITS_39=y > -# CONFIG_ARM64_VA_BITS_48 is not set > -CONFIG_ARM64_VA_BITS=39 > +# CONFIG_ARM64_VA_BITS_39 is not set > +CONFIG_ARM64_VA_BITS_48=y > +CONFIG_ARM64_VA_BITS=48 > CONFIG_ARM64_PA_BITS_48=y > CONFIG_ARM64_PA_BITS=48 > # CONFIG_CPU_BIG_ENDIAN is not set > @@ -559,6 +559,7 @@ CONFIG_ARM_ARMADA_37XX_CPUFREQ=m > CONFIG_ARM_ARMADA_8K_CPUFREQ=m > CONFIG_ARM_IMX_CPUFREQ_DT=m > CONFIG_ARM_SCMI_CPUFREQ=m > +CONFIG_QORIQ_CPUFREQ=m > # end of CPU Frequency scaling > # end of CPU Power Management > > @@ -1759,6 +1760,7 @@ CONFIG_PCIE_DW_HOST=y > CONFIG_PCIE_DW_PLAT=y > CONFIG_PCIE_DW_PLAT_HOST=y > CONFIG_PCI_IMX6=y > +CONFIG_PCI_LAYERSCAPE=y > # CONFIG_PCI_HISI is not set > # CONFIG_PCIE_ARMADA_8K is not set > CONFIG_PCIE_ROCKCHIP_DW_HOST=y > @@ -1770,6 +1772,7 @@ CONFIG_PCIE_AL=y > # > # Mobiveil PCIe Core Support > # > +# CONFIG_PCIE_LAYERSCAPE_GEN4 is not set > # end of Mobiveil PCIe Core Support > > # > @@ -1846,6 +1849,8 @@ CONFIG_GENERIC_ARCH_TOPOLOGY=y > CONFIG_SUN50I_DE2_BUS=y > CONFIG_SUNXI_RSB=y > CONFIG_VEXPRESS_CONFIG=y > +CONFIG_FSL_MC_BUS=y > +CONFIG_FSL_MC_UAPI_SUPPORT=y > CONFIG_MHI_BUS=m > # CONFIG_MHI_BUS_PCI_GENERIC is not set > # end of Bus devices > @@ -2596,9 +2601,14 @@ CONFIG_NET_VENDOR_EZCHIP=y > CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=m > CONFIG_NET_VENDOR_FREESCALE=y > CONFIG_FEC=m > +CONFIG_FSL_FMAN=m > +CONFIG_DPAA_ERRATUM_A050385=y > CONFIG_FSL_PQ_MDIO=m > CONFIG_FSL_XGMAC_MDIO=m > CONFIG_GIANFAR=m > +CONFIG_FSL_DPAA_ETH=m > +CONFIG_FSL_DPAA2_ETH=m > +# CONFIG_FSL_DPAA2_PTP_CLOCK is not set > CONFIG_FSL_DPAA2_SWITCH=m > CONFIG_FSL_ENETC=m > CONFIG_FSL_ENETC_VF=m > @@ -3597,7 +3607,7 @@ CONFIG_I2C_CBUS_GPIO=m > CONFIG_I2C_GPIO=m > # CONFIG_I2C_GPIO_FAULT_INJECTOR is not set > CONFIG_I2C_HISI=m > -# CONFIG_I2C_IMX is not set > +CONFIG_I2C_IMX=m > CONFIG_I2C_IMX_LPI2C=m > CONFIG_I2C_MESON=m > CONFIG_I2C_MV64XXX=y > @@ -3759,6 +3769,7 @@ CONFIG_GPIO_SYSFS=y > CONFIG_GPIO_CDEV=y > CONFIG_GPIO_CDEV_V1=y > CONFIG_GPIO_GENERIC=y > +CONFIG_GPIO_REGMAP=m > > # > # Memory mapped GPIO drivers > @@ -3777,6 +3788,7 @@ CONFIG_GPIO_GENERIC_PLATFORM=y > # CONFIG_GPIO_HLWD is not set > # CONFIG_GPIO_LOGICVC is not set > # CONFIG_GPIO_MB86S7X is not set > +CONFIG_GPIO_MPC8XXX=y > CONFIG_GPIO_MVEBU=y > CONFIG_GPIO_MXC=m > CONFIG_GPIO_PL061=y > @@ -3797,7 +3809,8 @@ CONFIG_GPIO_ADNP=m > # CONFIG_GPIO_GW_PLD is not set > # CONFIG_GPIO_MAX7300 is not set > # CONFIG_GPIO_MAX732X is not set > -# CONFIG_GPIO_PCA953X is not set > +CONFIG_GPIO_PCA953X=m > +CONFIG_GPIO_PCA953X_IRQ=y > # CONFIG_GPIO_PCA9570 is not set > # CONFIG_GPIO_PCF857X is not set > # CONFIG_GPIO_TPIC2810 is not set > @@ -4305,6 +4318,8 @@ CONFIG_MFD_RK808=y > # CONFIG_MFD_RN5T618 is not set > # CONFIG_MFD_SEC_CORE is not set > # CONFIG_MFD_SI476X_CORE is not set > +CONFIG_MFD_SIMPLE_MFD_I2C=m > +# CONFIG_MFD_SL28CPLD is not set > CONFIG_MFD_SM501=m > CONFIG_MFD_SM501_GPIO=y > # CONFIG_MFD_SKY81452 is not set > @@ -6412,10 +6427,10 @@ CONFIG_MMC_SDHCI_PLTFM=y > CONFIG_MMC_SDHCI_OF_ARASAN=m > # CONFIG_MMC_SDHCI_OF_ASPEED is not set > # CONFIG_MMC_SDHCI_OF_AT91 is not set > -# CONFIG_MMC_SDHCI_OF_ESDHC is not set > +CONFIG_MMC_SDHCI_OF_ESDHC=m > # CONFIG_MMC_SDHCI_OF_DWCMSHC is not set > # CONFIG_MMC_SDHCI_CADENCE is not set > -# CONFIG_MMC_SDHCI_ESDHC_IMX is not set > +CONFIG_MMC_SDHCI_ESDHC_IMX=m > CONFIG_MMC_SDHCI_PXAV3=m > # CONFIG_MMC_SDHCI_F_SDH30 is not set > # CONFIG_MMC_SDHCI_MILBEAUT is not set > @@ -6634,6 +6649,7 @@ CONFIG_RTC_DRV_V3020=m > # on-CPU RTC drivers > # > # CONFIG_RTC_DRV_IMXDI is not set > +# CONFIG_RTC_DRV_FSL_FTM_ALARM is not set > CONFIG_RTC_DRV_MESON_VRTC=m > CONFIG_RTC_DRV_PL030=m > CONFIG_RTC_DRV_PL031=m > @@ -6692,6 +6708,7 @@ CONFIG_DW_DMAC_PCI=m > # CONFIG_DW_EDMA is not set > # CONFIG_DW_EDMA_PCIE is not set > # CONFIG_SF_PDMA is not set > +# CONFIG_FSL_DPAA2_QDMA is not set > > # > # DMA Clients > @@ -6734,6 +6751,7 @@ CONFIG_VFIO_PCI_INTX=y > CONFIG_VFIO_PCI=m > # CONFIG_VFIO_PLATFORM is not set > # CONFIG_VFIO_MDEV is not set > +# CONFIG_VFIO_FSL_MC is not set > CONFIG_VIRT_DRIVERS=y > CONFIG_VIRTIO=y > CONFIG_VIRTIO_PCI_LIB=y > @@ -6820,8 +6838,12 @@ CONFIG_COMMON_CLK_SI570=m > # CONFIG_COMMON_CLK_CDCE706 is not set > # CONFIG_COMMON_CLK_CDCE925 is not set > # CONFIG_COMMON_CLK_CS2000_CP is not set > +CONFIG_COMMON_CLK_FSL_FLEXSPI=m > +# CONFIG_COMMON_CLK_FSL_SAI is not set > CONFIG_CLK_TWL6040=m > # CONFIG_COMMON_CLK_AXI_CLKGEN is not set > +CONFIG_CLK_QORIQ=y > +CONFIG_CLK_LS1028A_PLLDIG=m > CONFIG_COMMON_CLK_XGENE=y > # CONFIG_COMMON_CLK_PWM is not set > # CONFIG_COMMON_CLK_VC5 is not set > @@ -6933,13 +6955,16 @@ CONFIG_IOMMU_SUPPORT=y > > CONFIG_IOMMU_DEFAULT_DMA_STRICT=y > # CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set > -# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set > +CONFIG_IOMMU_DEFAULT_PASSTHROUGH=y > CONFIG_OF_IOMMU=y > CONFIG_IOMMU_DMA=y > CONFIG_ROCKCHIP_IOMMU=y > CONFIG_SUN50I_IOMMU=y > -# CONFIG_ARM_SMMU is not set > -# CONFIG_ARM_SMMU_V3 is not set > +CONFIG_ARM_SMMU=y > +# CONFIG_ARM_SMMU_LEGACY_DT_BINDINGS is not set > +# CONFIG_ARM_SMMU_DISABLE_BYPASS_BY_DEFAULT is not set > +CONFIG_ARM_SMMU_V3=y > +# CONFIG_ARM_SMMU_V3_SVA is not set > # CONFIG_VIRTIO_IOMMU is not set > > # > @@ -6983,7 +7008,14 @@ CONFIG_RASPBERRYPI_POWER=y > # > # NXP/Freescale QorIQ SoC drivers > # > +CONFIG_FSL_DPAA=y > +# CONFIG_FSL_DPAA_CHECKING is not set > +# CONFIG_FSL_BMAN_TEST is not set > +# CONFIG_FSL_QMAN_TEST is not set > # CONFIG_QUICC_ENGINE is not set > +CONFIG_FSL_GUTS=y > +CONFIG_FSL_MC_DPIO=y > +CONFIG_DPAA2_CONSOLE=y > # end of NXP/Freescale QorIQ SoC drivers > > # > @@ -7084,6 +7116,7 @@ CONFIG_ARM_GIC_V2M=y > CONFIG_ARM_GIC_V3=y > CONFIG_ARM_GIC_V3_ITS=y > CONFIG_ARM_GIC_V3_ITS_PCI=y > +CONFIG_ARM_GIC_V3_ITS_FSL_MC=y > # CONFIG_AL_FIC is not set > CONFIG_BRCMSTB_L2_IRQ=y > CONFIG_DW_APB_ICTL=y > @@ -7093,6 +7126,8 @@ CONFIG_MVEBU_ICU=y > CONFIG_MVEBU_ODMI=y > CONFIG_MVEBU_PIC=y > CONFIG_MVEBU_SEI=y > +CONFIG_LS_EXTIRQ=y > +CONFIG_LS_SCFG_MSI=y > CONFIG_PARTITION_PERCPU=y > CONFIG_MESON_IRQ_GPIO=y > CONFIG_IMX_IRQSTEER=y > @@ -7620,7 +7655,7 @@ CONFIG_CRYPTO_NULL=y > CONFIG_CRYPTO_NULL2=y > CONFIG_CRYPTO_PCRYPT=m > CONFIG_CRYPTO_CRYPTD=y > -CONFIG_CRYPTO_AUTHENC=m > +CONFIG_CRYPTO_AUTHENC=y > CONFIG_CRYPTO_TEST=m > CONFIG_CRYPTO_SIMD=m > CONFIG_CRYPTO_ENGINE=m > @@ -7658,7 +7693,7 @@ CONFIG_CRYPTO_ECB=y > CONFIG_CRYPTO_LRW=m > # CONFIG_CRYPTO_OFB is not set > CONFIG_CRYPTO_PCBC=m > -CONFIG_CRYPTO_XTS=m > +CONFIG_CRYPTO_XTS=y > # CONFIG_CRYPTO_KEYWRAP is not set > CONFIG_CRYPTO_NHPOLY1305=m > # CONFIG_CRYPTO_ADIANTUM is not set > @@ -7750,7 +7785,20 @@ CONFIG_CRYPTO_DEV_ALLWINNER=y > # CONFIG_CRYPTO_DEV_SUN4I_SS is not set > # CONFIG_CRYPTO_DEV_SUN8I_CE is not set > # CONFIG_CRYPTO_DEV_SUN8I_SS is not set > -# CONFIG_CRYPTO_DEV_FSL_CAAM is not set > +CONFIG_CRYPTO_DEV_FSL_CAAM_COMMON=y > +CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC=y > +CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC=y > +CONFIG_CRYPTO_DEV_FSL_CAAM=m > +# CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG is not set > +CONFIG_CRYPTO_DEV_FSL_CAAM_JR=m > +CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE=9 > +# CONFIG_CRYPTO_DEV_FSL_CAAM_INTC is not set > +CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API=y > +CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI=y > +CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API=y > +CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API=y > +CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API=y > +CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM=y > # CONFIG_CRYPTO_DEV_SAHARA is not set > # CONFIG_CRYPTO_DEV_ATMEL_ECC is not set > # CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set > -- > 2.30.1 >