From fe7b46d4c6db872d8d72fb0bf0446decb485aaee Mon Sep 17 00:00:00 2001 From: Mathew McBride Date: Sat, 6 Feb 2021 07:52:23 +0000 Subject: [PATCH] core/linux-aarch64-rc: add layerscape platform support Tested on Traverse Ten64 (NXP Layerscape LS1088A) --- core/linux-aarch64-rc/PKGBUILD | 2 +- core/linux-aarch64-rc/config | 47 +++++++++++++++++++++++++++++++--- 2 files changed, 45 insertions(+), 4 deletions(-) diff --git a/core/linux-aarch64-rc/PKGBUILD b/core/linux-aarch64-rc/PKGBUILD index 0a0b15be9..11e445783 100644 --- a/core/linux-aarch64-rc/PKGBUILD +++ b/core/linux-aarch64-rc/PKGBUILD @@ -34,7 +34,7 @@ md5sums=('8dff64f0ddbe827d5e2882449ea0567d' '369fb1dd626c4e0a4a7e068d27dd51c8' '1553fe4abbe675ed8abd4644561d8e8c' '9844db3484f4d4fa3e63c7e083f656f7' - '765c891667e119f10b2d373c4dcb42fc' + 'af9c09a2e45f85a9c4ab10179712e90a' '7f1a96e24f5150f790df94398e9525a3' '61c5ff73c136ed07a7aadbf58db3d96a' '584777ae88bce2c5659960151b64c7d8' diff --git a/core/linux-aarch64-rc/config b/core/linux-aarch64-rc/config index 68b7b392d..e3276bdf1 100644 --- a/core/linux-aarch64-rc/config +++ b/core/linux-aarch64-rc/config @@ -295,7 +295,7 @@ CONFIG_ARCH_BCM4908=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=y # CONFIG_ARCH_KEEMBAY is not set @@ -576,6 +576,7 @@ CONFIG_ARM_TEGRA20_CPUFREQ=y CONFIG_ARM_TEGRA124_CPUFREQ=y CONFIG_ARM_TEGRA186_CPUFREQ=y CONFIG_ARM_TEGRA194_CPUFREQ=y +CONFIG_QORIQ_CPUFREQ=m # end of CPU Frequency scaling # end of CPU Power Management @@ -2060,6 +2061,7 @@ CONFIG_PCIE_DW_HOST=y CONFIG_PCIE_DW_PLAT=y CONFIG_PCIE_DW_PLAT_HOST=y # CONFIG_PCI_IMX6 is not set +CONFIG_PCI_LAYERSCAPE=y CONFIG_PCI_HISI=y CONFIG_PCIE_QCOM=y CONFIG_PCIE_ARMADA_8K=y @@ -2158,7 +2160,7 @@ CONFIG_SUNXI_RSB=y CONFIG_TEGRA_ACONNECT=m # CONFIG_TEGRA_GMI is not set CONFIG_VEXPRESS_CONFIG=y -# CONFIG_FSL_MC_BUS is not set +CONFIG_FSL_MC_BUS=y # CONFIG_MHI_BUS is not set # end of Bus devices @@ -2265,6 +2267,7 @@ CONFIG_MTD_RAW_NAND=y # CONFIG_MTD_NAND_CAFE is not set CONFIG_MTD_NAND_MARVELL=y # CONFIG_MTD_NAND_BRCMNAND is not set +# CONFIG_MTD_NAND_FSL_IFC is not set # CONFIG_MTD_NAND_MXC is not set # CONFIG_MTD_NAND_SUNXI is not set # CONFIG_MTD_NAND_HISI504 is not set @@ -2894,9 +2897,15 @@ CONFIG_SUNDANCE=m # CONFIG_NET_VENDOR_EZCHIP is not set CONFIG_NET_VENDOR_FREESCALE=y CONFIG_FEC=y +CONFIG_FSL_FMAN=m +CONFIG_DPAA_ERRATUM_A050385=y # CONFIG_FSL_PQ_MDIO is not set -# CONFIG_FSL_XGMAC_MDIO is not set +CONFIG_FSL_XGMAC_MDIO=m # CONFIG_GIANFAR is not set +CONFIG_FSL_DPAA_ETH=m +CONFIG_FSL_DPAA2_ETH=m +CONFIG_FSL_DPAA2_ETH_DCB=y +CONFIG_FSL_DPAA2_PTP_CLOCK=m # CONFIG_FSL_ENETC is not set # CONFIG_FSL_ENETC_VF is not set # CONFIG_FSL_ENETC_MDIO is not set @@ -3157,6 +3166,7 @@ CONFIG_MDIO_BUS_MUX_MMIOREG=m # PCS device drivers # CONFIG_PCS_XPCS=m +CONFIG_PCS_LYNX=m # end of PCS device drivers CONFIG_PPP=m @@ -4105,6 +4115,7 @@ CONFIG_SPI_NXP_FLEXSPI=y CONFIG_SPI_GPIO=y CONFIG_SPI_IMX=m # CONFIG_SPI_FSL_SPI is not set +# CONFIG_SPI_FSL_DSPI is not set CONFIG_SPI_MESON_SPICC=m CONFIG_SPI_MESON_SPIFC=m CONFIG_SPI_MT65XX=y @@ -4165,6 +4176,7 @@ CONFIG_PPS_CLIENT_GPIO=m # PTP clock support # CONFIG_PTP_1588_CLOCK=y +CONFIG_PTP_1588_CLOCK_QORIQ=m CONFIG_DP83640_PHY=m # CONFIG_PTP_1588_CLOCK_INES is not set # CONFIG_PTP_1588_CLOCK_IDT82P33 is not set @@ -4306,6 +4318,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 @@ -4324,6 +4337,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=y CONFIG_GPIO_PL061=y @@ -4359,6 +4373,7 @@ CONFIG_GPIO_PCA953X_IRQ=y # MFD GPIO expanders # CONFIG_GPIO_MAX77620=y +CONFIG_GPIO_SL28CPLD=m # end of MFD GPIO expanders # @@ -4637,6 +4652,7 @@ CONFIG_SENSORS_UCD9200=m CONFIG_SENSORS_ZL6100=m CONFIG_SENSORS_PWM_FAN=m CONFIG_SENSORS_RASPBERRYPI_HWMON=m +CONFIG_SENSORS_SL28CPLD=m # CONFIG_SENSORS_SBTSI is not set CONFIG_SENSORS_SHT15=m CONFIG_SENSORS_SHT21=m @@ -4767,6 +4783,7 @@ CONFIG_GPIO_WATCHDOG=m # CONFIG_WDAT_WDT is not set # CONFIG_XILINX_WATCHDOG is not set # CONFIG_ZIIRAVE_WATCHDOG is not set +CONFIG_SL28CPLD_WATCHDOG=m CONFIG_ARM_SP805_WATCHDOG=m CONFIG_ARM_SBSA_WATCHDOG=m CONFIG_ARMADA_37XX_WATCHDOG=m @@ -4896,6 +4913,8 @@ CONFIG_MFD_RK808=y # CONFIG_MFD_RN5T618 is not set CONFIG_MFD_SEC_CORE=y # CONFIG_MFD_SI476X_CORE is not set +CONFIG_MFD_SIMPLE_MFD_I2C=m +CONFIG_MFD_SL28CPLD=m CONFIG_MFD_SM501=m CONFIG_MFD_SM501_GPIO=y # CONFIG_MFD_SKY81452 is not set @@ -7486,6 +7505,7 @@ CONFIG_EDAC_SUPPORT=y CONFIG_EDAC=y CONFIG_EDAC_LEGACY_SYSFS=y # CONFIG_EDAC_DEBUG is not set +CONFIG_EDAC_LAYERSCAPE=m # CONFIG_EDAC_THUNDERX is not set CONFIG_EDAC_XGENE=m # CONFIG_EDAC_DMC520 is not set @@ -7605,6 +7625,7 @@ CONFIG_RTC_DRV_CROS_EC=y # on-CPU RTC drivers # # CONFIG_RTC_DRV_IMXDI is not set +CONFIG_RTC_DRV_FSL_FTM_ALARM=m CONFIG_RTC_DRV_MESON_VRTC=m # CONFIG_RTC_DRV_PL030 is not set CONFIG_RTC_DRV_PL031=y @@ -7678,6 +7699,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 @@ -7727,6 +7749,7 @@ CONFIG_VFIO_AMBA=m CONFIG_VFIO_PLATFORM_CALXEDAXGMAC_RESET=m CONFIG_VFIO_PLATFORM_AMDXGBE_RESET=m # CONFIG_VFIO_MDEV is not set +CONFIG_VFIO_FSL_MC=m # CONFIG_VIRT_DRIVERS is not set CONFIG_VIRTIO=y CONFIG_VIRTIO_MENU=y @@ -7887,6 +7910,8 @@ CONFIG_FB_TFT_UC1611=m CONFIG_FB_TFT_UC1701=m CONFIG_FB_TFT_UPD161704=m CONFIG_FB_TFT_WATTEROTT=m +CONFIG_FSL_DPAA2=y +CONFIG_FSL_DPAA2_ETHSW=m # CONFIG_KS7010 is not set CONFIG_BCM_VIDEOCORE=y CONFIG_BCM2835_VCHIQ=y @@ -7957,7 +7982,11 @@ CONFIG_COMMON_CLK_SCPI=y # 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_COMMON_CLK_S2MPS11 is not set +CONFIG_CLK_QORIQ=y +CONFIG_CLK_LS1028A_PLLDIG=m CONFIG_COMMON_CLK_XGENE=y CONFIG_COMMON_CLK_PWM=y # CONFIG_COMMON_CLK_VC5 is not set @@ -8299,7 +8328,13 @@ 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_MC_DPIO=y +CONFIG_DPAA2_CONSOLE=m # CONFIG_FSL_RCPM is not set # end of NXP/Freescale QorIQ SoC drivers @@ -8981,6 +9016,7 @@ CONFIG_PWM_MTK_DISP=m CONFIG_PWM_MEDIATEK=m # CONFIG_PWM_PCA9685 is not set CONFIG_PWM_ROCKCHIP=y +CONFIG_PWM_SL28CPLD=m CONFIG_PWM_SUN4I=m # CONFIG_PWM_TEGRA is not set @@ -8995,6 +9031,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_HISILICON_IRQ_MBIGEN=y CONFIG_IMX_GPCV2=y @@ -9003,6 +9040,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_QCOM_IRQ_COMBINER=y CONFIG_MESON_IRQ_GPIO=y @@ -9813,9 +9852,11 @@ 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=m # CONFIG_CRYPTO_DEV_SAHARA is not set # CONFIG_CRYPTO_DEV_ATMEL_ECC is not set # CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set