[openwrt/openwrt] armsr: armv8: enable Broadcom arch'es

LEDE Commits lede-commits at lists.infradead.org
Tue Aug 15 07:05:22 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/df23eed17925b8cadccec53a784a12468a8a2e85

commit df23eed17925b8cadccec53a784a12468a8a2e85
Author: Mathew McBride <matt at traverse.com.au>
AuthorDate: Tue Jun 20 03:30:51 2023 +0000

    armsr: armv8: enable Broadcom arch'es
    
    This is part of an effort to reduce differences between
    the OpenWrt armsr/armv8 config and Linux arm64 defconfig.
    
    This enables CONFIG_ARCH_BCM and downstream
    CONFIG_ARCH_BCM2835 (= BCM2711 like Raspberry Pi 4)
    and CONFIG_ARCH_BCM_IPROC (Broadcom iProc packet processors).
    
    The broadband specific SoC's (ARCH_BCMBCA) are left out
    as it is assumed these will not be doing EFI boot.
    
    Signed-off-by: Mathew McBride <matt at traverse.com.au>
---
 target/linux/armsr/armv8/config-6.1 | 60 +++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/target/linux/armsr/armv8/config-6.1 b/target/linux/armsr/armv8/config-6.1
index 7cbd67480f..e0931f2f06 100644
--- a/target/linux/armsr/armv8/config-6.1
+++ b/target/linux/armsr/armv8/config-6.1
@@ -3,6 +3,11 @@ CONFIG_ACPI_HMAT=y
 CONFIG_ACPI_PCC=y
 CONFIG_AHCI_IMX=y
 CONFIG_AMPERE_ERRATUM_AC03_CPU_38=y
+CONFIG_ARCH_BCM=y
+CONFIG_ARCH_BCM2835=y
+# CONFIG_ARCH_BCMBCA is not set
+CONFIG_ARCH_BCM_IPROC=y
+CONFIG_ARCH_BRCMSTB=y
 CONFIG_ARCH_HISI=y
 CONFIG_ARCH_INTEL_SOCFPGA=y
 CONFIG_ARCH_LAYERSCAPE=y
@@ -122,7 +127,24 @@ CONFIG_ATOMIC64_SELFTEST=y
 CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y
 # CONFIG_AXI_DMAC is not set
 CONFIG_BACKLIGHT_CLASS_DEVICE=y
+# CONFIG_BCM2711_THERMAL is not set
+CONFIG_BCM2835_MBOX=y
+CONFIG_BCM2835_POWER=y
+# CONFIG_BCM2835_THERMAL is not set
+# CONFIG_BCM2835_VCHIQ is not set
+CONFIG_BCM2835_WDT=y
+# CONFIG_BCMGENET is not set
+# CONFIG_BCM_CYGNUS_PHY is not set
+# CONFIG_BCM_FLEXRM_MBOX is not set
+# CONFIG_BCM_NS_THERMAL is not set
+# CONFIG_BCM_PDC_MBOX is not set
+# CONFIG_BCM_SR_THERMAL is not set
+CONFIG_BCM_VIDEOCORE=y
+# CONFIG_BGMAC_PLATFORM is not set
 CONFIG_BLK_PM=y
+# CONFIG_BRCMSTB_PM is not set
+# CONFIG_BRCMSTB_THERMAL is not set
+CONFIG_BRCM_USB_PINMAP=y
 CONFIG_CAVIUM_ERRATUM_22375=y
 CONFIG_CAVIUM_ERRATUM_23144=y
 CONFIG_CAVIUM_ERRATUM_23154=y
@@ -130,6 +152,10 @@ CONFIG_CAVIUM_ERRATUM_27456=y
 CONFIG_CAVIUM_ERRATUM_30115=y
 CONFIG_CAVIUM_TX2_ERRATUM_219=y
 CONFIG_CC_HAVE_STACKPROTECTOR_SYSREG=y
+CONFIG_CLK_BCM2711_DVP=y
+CONFIG_CLK_BCM2835=y
+CONFIG_CLK_BCM_NS2=y
+CONFIG_CLK_BCM_SR=y
 CONFIG_CLK_IMX8MM=y
 CONFIG_CLK_IMX8MN=y
 CONFIG_CLK_IMX8MP=y
@@ -142,6 +168,7 @@ CONFIG_CLK_INTEL_SOCFPGA64=y
 CONFIG_CLK_LS1028A_PLLDIG=y
 CONFIG_CLK_PX30=y
 CONFIG_CLK_QORIQ=y
+CONFIG_CLK_RASPBERRYPI=y
 CONFIG_CLK_RCAR_USB2_CLOCK_SEL=y
 CONFIG_CLK_RENESAS=y
 CONFIG_CLK_RK3308=y
@@ -198,6 +225,7 @@ CONFIG_CRYPTO_CHACHA20=y
 CONFIG_CRYPTO_CHACHA20_NEON=y
 CONFIG_CRYPTO_CRYPTD=y
 # CONFIG_CRYPTO_DEV_ALLWINNER is not set
+# CONFIG_CRYPTO_DEV_BCM_SPU is not set
 # CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM is not set
 # CONFIG_CRYPTO_DEV_HISI_HPRE is not set
 # CONFIG_CRYPTO_DEV_HISI_SEC2 is not set
@@ -219,6 +247,7 @@ CONFIG_CRYPTO_SIMD=y
 # CONFIG_CRYPTO_SM4_ARM64_CE_BLK is not set
 # CONFIG_CRYPTO_SM4_ARM64_NEON_BLK is not set
 # CONFIG_DEV_DAX_HMEM is not set
+CONFIG_DMA_BCM2835=y
 CONFIG_DMA_CMA=y
 CONFIG_DMA_DIRECT_REMAP=y
 CONFIG_DMA_SHARED_BUFFER=y
@@ -243,6 +272,7 @@ CONFIG_DRM_QXL=y
 # CONFIG_DRM_ROCKCHIP is not set
 CONFIG_DRM_TTM=y
 CONFIG_DRM_TTM_HELPER=y
+# CONFIG_DRM_V3D is not set
 CONFIG_DRM_VIRTIO_GPU=y
 CONFIG_DRM_VRAM_HELPER=y
 # CONFIG_DWMAC_SUN8I is not set
@@ -274,10 +304,13 @@ CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
 CONFIG_GENERIC_CSUM=y
 CONFIG_GENERIC_FIND_FIRST_BIT=y
 # CONFIG_GIANFAR is not set
+CONFIG_GPIO_BCM_XGS_IPROC=y
+CONFIG_GPIO_BRCMSTB=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_GPIO_MPC8XXX=y
 CONFIG_GPIO_MXC=y
+CONFIG_GPIO_RASPBERRYPI_EXP=y
 CONFIG_GPIO_ROCKCHIP=y
 CONFIG_GPIO_THUNDERX=y
 CONFIG_GPIO_XLP=y
@@ -297,6 +330,7 @@ CONFIG_HW_RANDOM_VIRTIO=y
 CONFIG_I2C=y
 CONFIG_I2C_ALGOBIT=y
 CONFIG_I2C_ALTERA=y
+# CONFIG_I2C_BCM2835 is not set
 CONFIG_I2C_BOARDINFO=y
 # CONFIG_I2C_HIX5HD2 is not set
 CONFIG_I2C_IMX=y
@@ -354,6 +388,8 @@ CONFIG_LCD_CLASS_DEVICE=m
 CONFIG_MARVELL_10G_PHY=y
 # CONFIG_MARVELL_CN10K_DDR_PMU is not set
 # CONFIG_MARVELL_CN10K_TAD_PMU is not set
+CONFIG_MDIO_BCM_IPROC=y
+CONFIG_MDIO_BUS_MUX_BCM_IPROC=y
 CONFIG_MDIO_SUN4I=y
 # CONFIG_MFD_ALTERA_A10SR is not set
 CONFIG_MFD_ALTERA_SYSMGR=y
@@ -367,6 +403,7 @@ CONFIG_MFD_SYSCON=y
 CONFIG_MFD_VEXPRESS_SYSREG=y
 CONFIG_MMC=y
 CONFIG_MMC_ARMMMCI=y
+CONFIG_MMC_BCM2835=y
 CONFIG_MMC_BLOCK=y
 CONFIG_MMC_CAVIUM_THUNDERX=y
 CONFIG_MMC_DW=y
@@ -383,6 +420,7 @@ CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ACPI=y
 CONFIG_MMC_SDHCI_CADENCE=y
 CONFIG_MMC_SDHCI_ESDHC_IMX=y
+CONFIG_MMC_SDHCI_IPROC=y
 CONFIG_MMC_SDHCI_OF_ESDHC=y
 CONFIG_MMC_SDHCI_PCI=y
 CONFIG_MMC_SDHCI_PLTFM=y
@@ -422,7 +460,10 @@ CONFIG_NVMEM_ROCKCHIP_EFUSE=y
 # CONFIG_NVMEM_SUNXI_SID is not set
 # CONFIG_NVMEM_ZYNQMP is not set
 CONFIG_PCC=y
+CONFIG_PCIE_BRCMSTB=y
 CONFIG_PCIE_HISI_STB=y
+CONFIG_PCIE_IPROC_MSI=y
+CONFIG_PCIE_IPROC_PLATFORM=y
 CONFIG_PCIE_LAYERSCAPE=y
 CONFIG_PCIE_MOBIVEIL_PLAT=y
 # CONFIG_PCIE_RCAR_EP is not set
@@ -436,6 +477,10 @@ CONFIG_PCI_AARDVARK=y
 CONFIG_PCI_IMX6=y
 CONFIG_PCI_LAYERSCAPE=y
 # CONFIG_PCI_RCAR_GEN2 is not set
+CONFIG_PHY_BCM_SR_PCIE=y
+CONFIG_PHY_BCM_SR_USB=y
+CONFIG_PHY_BRCM_SATA=y
+CONFIG_PHY_BRCM_USB=y
 CONFIG_PHY_FSL_IMX8M_PCIE=y
 # CONFIG_PHY_FSL_LYNX_28G is not set
 CONFIG_PHY_HI3660_USB=y
@@ -449,6 +494,8 @@ CONFIG_PHY_MVEBU_A3700_COMPHY=y
 CONFIG_PHY_MVEBU_A3700_UTMI=y
 CONFIG_PHY_MVEBU_A38X_COMPHY=y
 CONFIG_PHY_MVEBU_CP110_COMPHY=y
+CONFIG_PHY_NS2_PCIE=y
+CONFIG_PHY_NS2_USB_DRD=y
 # CONFIG_PHY_RCAR_GEN2 is not set
 CONFIG_PHY_RCAR_GEN3_PCIE=y
 CONFIG_PHY_RCAR_GEN3_USB2=y
@@ -483,6 +530,8 @@ CONFIG_PINCTRL_IMX93=y
 # CONFIG_PINCTRL_IMXRT1050 is not set
 # CONFIG_PINCTRL_IMXRT1170 is not set
 CONFIG_PINCTRL_IMX_SCU=y
+CONFIG_PINCTRL_IPROC_GPIO=y
+CONFIG_PINCTRL_NS2_MUX=y
 CONFIG_PINCTRL_ROCKCHIP=y
 # CONFIG_PINCTRL_SUN20I_D1 is not set
 CONFIG_PINCTRL_SUN4I_A10=y
@@ -517,6 +566,8 @@ CONFIG_POWER_RESET=y
 CONFIG_POWER_RESET_HISI=y
 CONFIG_POWER_RESET_VEXPRESS=y
 CONFIG_POWER_SUPPLY=y
+# CONFIG_PTP_1588_CLOCK_DTE is not set
+# CONFIG_PWM_BCM2835 is not set
 CONFIG_QCOM_FALKOR_ERRATUM_1003=y
 CONFIG_QCOM_FALKOR_ERRATUM_1009=y
 CONFIG_QCOM_FALKOR_ERRATUM_E1041=y
@@ -524,6 +575,8 @@ CONFIG_QCOM_QDF2400_ERRATUM_0065=y
 CONFIG_QORIQ_THERMAL=y
 CONFIG_QUEUED_RWLOCKS=y
 CONFIG_QUEUED_SPINLOCKS=y
+CONFIG_RASPBERRYPI_FIRMWARE=y
+CONFIG_RASPBERRYPI_POWER=y
 # CONFIG_RAVB is not set
 CONFIG_RCAR_DMAC=y
 # CONFIG_RCAR_GEN3_THERMAL is not set
@@ -543,7 +596,9 @@ CONFIG_RENESAS_OSTM=y
 # CONFIG_RENESAS_RZN1WDT is not set
 CONFIG_RENESAS_USB_DMAC=y
 # CONFIG_RENESAS_WDT is not set
+# CONFIG_RESET_BRCMSTB is not set
 CONFIG_RESET_IMX7=y
+# CONFIG_RESET_RASPBERRYPI is not set
 CONFIG_RESET_RZG2L_USBPHY_CTRL=y
 CONFIG_ROCKCHIP_IODOMAIN=y
 CONFIG_ROCKCHIP_IOMMU=y
@@ -552,6 +607,7 @@ CONFIG_ROCKCHIP_PM_DOMAINS=y
 # CONFIG_ROCKCHIP_SARADC is not set
 # CONFIG_ROCKCHIP_THERMAL is not set
 CONFIG_RODATA_FULL_DEFAULT_ENABLED=y
+# CONFIG_RTC_DRV_BRCMSTB is not set
 # CONFIG_RTC_DRV_FSL_FTM_ALARM is not set
 # CONFIG_RTC_DRV_IMXDI is not set
 # CONFIG_RTC_DRV_IMX_SC is not set
@@ -567,6 +623,8 @@ CONFIG_RZ_DMAC=y
 CONFIG_SCHED_MC=y
 CONFIG_SCHED_SMT=y
 # CONFIG_SENSORS_ARM_SCPI is not set
+CONFIG_SERIAL_8250_BCM2835AUX=y
+CONFIG_SERIAL_8250_BCM7271=y
 # CONFIG_SERIAL_8250_EXAR is not set
 CONFIG_SERIAL_8250_FSL=y
 CONFIG_SERIAL_8250_PCI=y
@@ -599,6 +657,7 @@ CONFIG_SPARSEMEM_EXTREME=y
 CONFIG_SPARSEMEM_VMEMMAP=y
 CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
 CONFIG_SPI_ARMADA_3700=y
+# CONFIG_SPI_BCM2835 is not set
 CONFIG_SPI_FSL_LPSPI=y
 # CONFIG_SPI_FSL_QUADSPI is not set
 # CONFIG_SPI_HISI_KUNPENG is not set
@@ -659,6 +718,7 @@ CONFIG_TYPEC_TCPM=y
 # CONFIG_TYPEC_WUSB3801 is not set
 # CONFIG_UACCE is not set
 CONFIG_UNMAP_KERNEL_AT_EL0=y
+# CONFIG_USB_BRCMSTB is not set
 CONFIG_USB_CHIPIDEA=y
 CONFIG_USB_CHIPIDEA_GENERIC=y
 CONFIG_USB_CHIPIDEA_HOST=y




More information about the lede-commits mailing list