diff options
author | Daniel BORNAZ <daniel.bornaz@enea.com> | 2019-06-28 09:01:10 +0200 |
---|---|---|
committer | Daniel BORNAZ <daniel.bornaz@enea.com> | 2019-06-28 09:48:18 +0200 |
commit | 3d96360e194421014d12c5f4e42d13574f2d4fe4 (patch) | |
tree | 16cb553562da2803d6e048f54333c5aeb53b9fb6 | |
parent | 4b598235c58ced76a8174137fae4270a72b39eae (diff) | |
download | meta-enea-bsp-arm-3d96360e194421014d12c5f4e42d13574f2d4fe4.tar.gz |
Implement firmware upload and R5 control
Added control of the R5 cores and firmware management interface
using sysfs from Linux.
Change-Id: I308e043dc867896d3f9c40d077f96cc01202ba1f
-rw-r--r-- | recipes-kernel/linux/linux-xlnx/xilinx-amp-4.14.config (renamed from recipes-kernel/linux/linux-xlnx/xilinx-4.14.defconfig) | 153 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-xlnx/zynqmp-zcu102-amp-rev1.0.dts | 160 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-xlnx_%.bbappend | 17 |
3 files changed, 235 insertions, 95 deletions
diff --git a/recipes-kernel/linux/linux-xlnx/xilinx-4.14.defconfig b/recipes-kernel/linux/linux-xlnx/xilinx-amp-4.14.config index ec66580..f1b3299 100644 --- a/recipes-kernel/linux/linux-xlnx/xilinx-4.14.defconfig +++ b/recipes-kernel/linux/linux-xlnx/xilinx-amp-4.14.config | |||
@@ -479,6 +479,8 @@ CONFIG_NO_BOOTMEM=y | |||
479 | CONFIG_MEMORY_ISOLATION=y | 479 | CONFIG_MEMORY_ISOLATION=y |
480 | # CONFIG_HAVE_BOOTMEM_INFO_NODE is not set | 480 | # CONFIG_HAVE_BOOTMEM_INFO_NODE is not set |
481 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 481 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
482 | CONFIG_MEMORY_BALLOON=y | ||
483 | CONFIG_BALLOON_COMPACTION=y | ||
482 | CONFIG_COMPACTION=y | 484 | CONFIG_COMPACTION=y |
483 | CONFIG_MIGRATION=y | 485 | CONFIG_MIGRATION=y |
484 | CONFIG_PHYS_ADDR_T_64BIT=y | 486 | CONFIG_PHYS_ADDR_T_64BIT=y |
@@ -558,8 +560,13 @@ CONFIG_SYSVIPC_COMPAT=y | |||
558 | # | 560 | # |
559 | # CONFIG_SUSPEND is not set | 561 | # CONFIG_SUSPEND is not set |
560 | # CONFIG_HIBERNATION is not set | 562 | # CONFIG_HIBERNATION is not set |
561 | # CONFIG_PM is not set | 563 | CONFIG_PM=y |
564 | # CONFIG_PM_DEBUG is not set | ||
562 | CONFIG_PM_OPP=y | 565 | CONFIG_PM_OPP=y |
566 | CONFIG_PM_CLK=y | ||
567 | CONFIG_PM_GENERIC_DOMAINS=y | ||
568 | # CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set | ||
569 | CONFIG_PM_GENERIC_DOMAINS_OF=y | ||
563 | CONFIG_CPU_PM=y | 570 | CONFIG_CPU_PM=y |
564 | CONFIG_ARCH_HIBERNATION_POSSIBLE=y | 571 | CONFIG_ARCH_HIBERNATION_POSSIBLE=y |
565 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | 572 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
@@ -1021,6 +1028,7 @@ CONFIG_BT_HCIBTSDIO=y | |||
1021 | CONFIG_BT_HCIUART=y | 1028 | CONFIG_BT_HCIUART=y |
1022 | CONFIG_BT_HCIUART_SERDEV=y | 1029 | CONFIG_BT_HCIUART_SERDEV=y |
1023 | CONFIG_BT_HCIUART_H4=y | 1030 | CONFIG_BT_HCIUART_H4=y |
1031 | # CONFIG_BT_HCIUART_NOKIA is not set | ||
1024 | CONFIG_BT_HCIUART_BCSP=y | 1032 | CONFIG_BT_HCIUART_BCSP=y |
1025 | CONFIG_BT_HCIUART_ATH3K=y | 1033 | CONFIG_BT_HCIUART_ATH3K=y |
1026 | CONFIG_BT_HCIUART_LL=y | 1034 | CONFIG_BT_HCIUART_LL=y |
@@ -1155,6 +1163,7 @@ CONFIG_ARM_CCI400_PMU=y | |||
1155 | # CONFIG_ARM_CCI5xx_PMU is not set | 1163 | # CONFIG_ARM_CCI5xx_PMU is not set |
1156 | # CONFIG_ARM_CCN is not set | 1164 | # CONFIG_ARM_CCN is not set |
1157 | # CONFIG_BRCMSTB_GISB_ARB is not set | 1165 | # CONFIG_BRCMSTB_GISB_ARB is not set |
1166 | # CONFIG_SIMPLE_PM_BUS is not set | ||
1158 | # CONFIG_VEXPRESS_CONFIG is not set | 1167 | # CONFIG_VEXPRESS_CONFIG is not set |
1159 | CONFIG_CONNECTOR=y | 1168 | CONFIG_CONNECTOR=y |
1160 | CONFIG_PROC_EVENTS=y | 1169 | CONFIG_PROC_EVENTS=y |
@@ -1281,7 +1290,7 @@ CONFIG_OF_PCI_IRQ=y | |||
1281 | CONFIG_OF_RESERVED_MEM=y | 1290 | CONFIG_OF_RESERVED_MEM=y |
1282 | CONFIG_OF_RESOLVE=y | 1291 | CONFIG_OF_RESOLVE=y |
1283 | CONFIG_OF_OVERLAY=y | 1292 | CONFIG_OF_OVERLAY=y |
1284 | CONFIG_OF_CONFIGFS=y | 1293 | # CONFIG_OF_CONFIGFS is not set |
1285 | # CONFIG_PARPORT is not set | 1294 | # CONFIG_PARPORT is not set |
1286 | CONFIG_BLK_DEV=y | 1295 | CONFIG_BLK_DEV=y |
1287 | # CONFIG_BLK_DEV_NULL_BLK is not set | 1296 | # CONFIG_BLK_DEV_NULL_BLK is not set |
@@ -1331,7 +1340,7 @@ CONFIG_BLK_DEV_RAM_SIZE=65536 | |||
1331 | # CONFIG_TI_DAC7512 is not set | 1340 | # CONFIG_TI_DAC7512 is not set |
1332 | # CONFIG_USB_SWITCH_FSA9480 is not set | 1341 | # CONFIG_USB_SWITCH_FSA9480 is not set |
1333 | # CONFIG_LATTICE_ECP3_CONFIG is not set | 1342 | # CONFIG_LATTICE_ECP3_CONFIG is not set |
1334 | # CONFIG_SRAM is not set | 1343 | CONFIG_SRAM=y |
1335 | # CONFIG_PCI_ENDPOINT_TEST is not set | 1344 | # CONFIG_PCI_ENDPOINT_TEST is not set |
1336 | CONFIG_XILINX_SDFEC=y | 1345 | CONFIG_XILINX_SDFEC=y |
1337 | # CONFIG_XILINX_TRAFGEN is not set | 1346 | # CONFIG_XILINX_TRAFGEN is not set |
@@ -2079,7 +2088,6 @@ CONFIG_SERIAL_DEV_CTRL_TTYPORT=y | |||
2079 | # CONFIG_VIRTIO_CONSOLE is not set | 2088 | # CONFIG_VIRTIO_CONSOLE is not set |
2080 | # CONFIG_IPMI_HANDLER is not set | 2089 | # CONFIG_IPMI_HANDLER is not set |
2081 | # CONFIG_HW_RANDOM is not set | 2090 | # CONFIG_HW_RANDOM is not set |
2082 | # CONFIG_R3964 is not set | ||
2083 | # CONFIG_APPLICOM is not set | 2091 | # CONFIG_APPLICOM is not set |
2084 | 2092 | ||
2085 | # | 2093 | # |
@@ -2334,6 +2342,7 @@ CONFIG_POWER_SUPPLY=y | |||
2334 | # CONFIG_CHARGER_LTC3651 is not set | 2342 | # CONFIG_CHARGER_LTC3651 is not set |
2335 | # CONFIG_CHARGER_DETECTOR_MAX14656 is not set | 2343 | # CONFIG_CHARGER_DETECTOR_MAX14656 is not set |
2336 | # CONFIG_CHARGER_BQ2415X is not set | 2344 | # CONFIG_CHARGER_BQ2415X is not set |
2345 | # CONFIG_CHARGER_BQ24190 is not set | ||
2337 | # CONFIG_CHARGER_BQ24257 is not set | 2346 | # CONFIG_CHARGER_BQ24257 is not set |
2338 | # CONFIG_CHARGER_BQ24735 is not set | 2347 | # CONFIG_CHARGER_BQ24735 is not set |
2339 | # CONFIG_CHARGER_BQ25890 is not set | 2348 | # CONFIG_CHARGER_BQ25890 is not set |
@@ -3380,6 +3389,7 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y | |||
3380 | # | 3389 | # |
3381 | # CONFIG_USB_DEFAULT_PERSIST is not set | 3390 | # CONFIG_USB_DEFAULT_PERSIST is not set |
3382 | # CONFIG_USB_DYNAMIC_MINORS is not set | 3391 | # CONFIG_USB_DYNAMIC_MINORS is not set |
3392 | # CONFIG_USB_OTG is not set | ||
3383 | # CONFIG_USB_OTG_WHITELIST is not set | 3393 | # CONFIG_USB_OTG_WHITELIST is not set |
3384 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | 3394 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set |
3385 | # CONFIG_USB_LEDS_TRIGGER_USBPORT is not set | 3395 | # CONFIG_USB_LEDS_TRIGGER_USBPORT is not set |
@@ -3446,14 +3456,12 @@ CONFIG_USB_UAS=y | |||
3446 | # CONFIG_USB_MUSB_HDRC is not set | 3456 | # CONFIG_USB_MUSB_HDRC is not set |
3447 | CONFIG_USB_DWC3=y | 3457 | CONFIG_USB_DWC3=y |
3448 | CONFIG_USB_DWC3_HOST=y | 3458 | CONFIG_USB_DWC3_HOST=y |
3449 | # CONFIG_USB_DWC3_GADGET is not set | ||
3450 | 3459 | ||
3451 | # | 3460 | # |
3452 | # Platform Glue Driver Support | 3461 | # Platform Glue Driver Support |
3453 | # | 3462 | # |
3454 | CONFIG_USB_DWC3_OF_SIMPLE=y | 3463 | CONFIG_USB_DWC3_OF_SIMPLE=y |
3455 | # CONFIG_USB_DWC2 is not set | 3464 | # CONFIG_USB_DWC2 is not set |
3456 | # CONFIG_USB_CHIPIDEA is not set | ||
3457 | # CONFIG_USB_ISP1760 is not set | 3465 | # CONFIG_USB_ISP1760 is not set |
3458 | 3466 | ||
3459 | # | 3467 | # |
@@ -3496,76 +3504,7 @@ CONFIG_USB_DWC3_OF_SIMPLE=y | |||
3496 | # CONFIG_NOP_USB_XCEIV is not set | 3504 | # CONFIG_NOP_USB_XCEIV is not set |
3497 | # CONFIG_USB_GPIO_VBUS is not set | 3505 | # CONFIG_USB_GPIO_VBUS is not set |
3498 | # CONFIG_USB_ISP1301 is not set | 3506 | # CONFIG_USB_ISP1301 is not set |
3499 | CONFIG_USB_GADGET=y | 3507 | # CONFIG_USB_GADGET is not set |
3500 | # CONFIG_USB_GADGET_DEBUG is not set | ||
3501 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
3502 | # CONFIG_USB_GADGET_DEBUG_FS is not set | ||
3503 | CONFIG_USB_GADGET_VBUS_DRAW=2 | ||
3504 | CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2 | ||
3505 | |||
3506 | # | ||
3507 | # USB Peripheral Controller | ||
3508 | # | ||
3509 | # CONFIG_USB_FOTG210_UDC is not set | ||
3510 | # CONFIG_USB_GR_UDC is not set | ||
3511 | # CONFIG_USB_R8A66597 is not set | ||
3512 | # CONFIG_USB_PXA27X is not set | ||
3513 | # CONFIG_USB_MV_UDC is not set | ||
3514 | # CONFIG_USB_MV_U3D is not set | ||
3515 | # CONFIG_USB_SNP_UDC_PLAT is not set | ||
3516 | # CONFIG_USB_M66592 is not set | ||
3517 | # CONFIG_USB_BDC_UDC is not set | ||
3518 | # CONFIG_USB_AMD5536UDC is not set | ||
3519 | # CONFIG_USB_NET2272 is not set | ||
3520 | # CONFIG_USB_NET2280 is not set | ||
3521 | # CONFIG_USB_GOKU is not set | ||
3522 | # CONFIG_USB_EG20T is not set | ||
3523 | CONFIG_USB_GADGET_XILINX=y | ||
3524 | # CONFIG_USB_DUMMY_HCD is not set | ||
3525 | CONFIG_USB_LIBCOMPOSITE=y | ||
3526 | CONFIG_USB_U_ETHER=y | ||
3527 | CONFIG_USB_F_ECM=m | ||
3528 | CONFIG_USB_F_EEM=y | ||
3529 | CONFIG_USB_F_SUBSET=m | ||
3530 | CONFIG_USB_F_RNDIS=m | ||
3531 | CONFIG_USB_F_MASS_STORAGE=y | ||
3532 | CONFIG_USB_CONFIGFS=y | ||
3533 | # CONFIG_USB_CONFIGFS_SERIAL is not set | ||
3534 | # CONFIG_USB_CONFIGFS_ACM is not set | ||
3535 | # CONFIG_USB_CONFIGFS_OBEX is not set | ||
3536 | # CONFIG_USB_CONFIGFS_NCM is not set | ||
3537 | # CONFIG_USB_CONFIGFS_ECM is not set | ||
3538 | # CONFIG_USB_CONFIGFS_ECM_SUBSET is not set | ||
3539 | # CONFIG_USB_CONFIGFS_RNDIS is not set | ||
3540 | CONFIG_USB_CONFIGFS_EEM=y | ||
3541 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y | ||
3542 | # CONFIG_USB_CONFIGFS_F_LB_SS is not set | ||
3543 | # CONFIG_USB_CONFIGFS_F_FS is not set | ||
3544 | # CONFIG_USB_CONFIGFS_F_UAC1 is not set | ||
3545 | # CONFIG_USB_CONFIGFS_F_UAC1_LEGACY is not set | ||
3546 | # CONFIG_USB_CONFIGFS_F_UAC2 is not set | ||
3547 | # CONFIG_USB_CONFIGFS_F_MIDI is not set | ||
3548 | # CONFIG_USB_CONFIGFS_F_HID is not set | ||
3549 | # CONFIG_USB_CONFIGFS_F_UVC is not set | ||
3550 | # CONFIG_USB_CONFIGFS_F_PRINTER is not set | ||
3551 | # CONFIG_USB_ZERO is not set | ||
3552 | # CONFIG_USB_AUDIO is not set | ||
3553 | CONFIG_USB_ETH=m | ||
3554 | CONFIG_USB_ETH_RNDIS=y | ||
3555 | CONFIG_USB_ETH_EEM=y | ||
3556 | # CONFIG_USB_G_NCM is not set | ||
3557 | # CONFIG_USB_GADGETFS is not set | ||
3558 | # CONFIG_USB_FUNCTIONFS is not set | ||
3559 | CONFIG_USB_MASS_STORAGE=m | ||
3560 | # CONFIG_USB_G_SERIAL is not set | ||
3561 | # CONFIG_USB_MIDI_GADGET is not set | ||
3562 | # CONFIG_USB_G_PRINTER is not set | ||
3563 | # CONFIG_USB_CDC_COMPOSITE is not set | ||
3564 | # CONFIG_USB_G_ACM_MS is not set | ||
3565 | # CONFIG_USB_G_MULTI is not set | ||
3566 | # CONFIG_USB_G_HID is not set | ||
3567 | # CONFIG_USB_G_DBGP is not set | ||
3568 | # CONFIG_USB_G_WEBCAM is not set | ||
3569 | 3508 | ||
3570 | # | 3509 | # |
3571 | # USB Power Delivery and Type-C drivers | 3510 | # USB Power Delivery and Type-C drivers |
@@ -3793,6 +3732,7 @@ CONFIG_DMA_ENGINE=y | |||
3793 | CONFIG_DMA_OF=y | 3732 | CONFIG_DMA_OF=y |
3794 | # CONFIG_ALTERA_MSGDMA is not set | 3733 | # CONFIG_ALTERA_MSGDMA is not set |
3795 | # CONFIG_AMBA_PL08X is not set | 3734 | # CONFIG_AMBA_PL08X is not set |
3735 | # CONFIG_BCM_SBA_RAID is not set | ||
3796 | # CONFIG_FSL_EDMA is not set | 3736 | # CONFIG_FSL_EDMA is not set |
3797 | # CONFIG_INTEL_IDMA64 is not set | 3737 | # CONFIG_INTEL_IDMA64 is not set |
3798 | # CONFIG_MV_XOR_V2 is not set | 3738 | # CONFIG_MV_XOR_V2 is not set |
@@ -3827,8 +3767,8 @@ CONFIG_SYNC_FILE=y | |||
3827 | # CONFIG_AUXDISPLAY is not set | 3767 | # CONFIG_AUXDISPLAY is not set |
3828 | CONFIG_UIO=y | 3768 | CONFIG_UIO=y |
3829 | # CONFIG_UIO_CIF is not set | 3769 | # CONFIG_UIO_CIF is not set |
3830 | CONFIG_UIO_PDRV_GENIRQ=m | 3770 | CONFIG_UIO_PDRV_GENIRQ=y |
3831 | CONFIG_UIO_DMEM_GENIRQ=m | 3771 | CONFIG_UIO_DMEM_GENIRQ=y |
3832 | # CONFIG_UIO_AEC is not set | 3772 | # CONFIG_UIO_AEC is not set |
3833 | # CONFIG_UIO_SERCOS3 is not set | 3773 | # CONFIG_UIO_SERCOS3 is not set |
3834 | # CONFIG_UIO_PCI_GENERIC is not set | 3774 | # CONFIG_UIO_PCI_GENERIC is not set |
@@ -3836,17 +3776,26 @@ CONFIG_UIO_DMEM_GENIRQ=m | |||
3836 | # CONFIG_UIO_PRUSS is not set | 3776 | # CONFIG_UIO_PRUSS is not set |
3837 | # CONFIG_UIO_MF624 is not set | 3777 | # CONFIG_UIO_MF624 is not set |
3838 | CONFIG_UIO_XILINX_APM=y | 3778 | CONFIG_UIO_XILINX_APM=y |
3839 | # CONFIG_VFIO is not set | 3779 | CONFIG_VFIO_IOMMU_TYPE1=y |
3840 | # CONFIG_VIRT_DRIVERS is not set | 3780 | # CONFIG_VFIO_VIRQFD is not set |
3781 | CONFIG_VFIO=y | ||
3782 | # CONFIG_VFIO_NOIOMMU is not set | ||
3783 | # CONFIG_VFIO_PCI is not set | ||
3784 | # CONFIG_VFIO_PLATFORM is not set | ||
3785 | # CONFIG_VFIO_MDEV is not set | ||
3786 | CONFIG_VIRT_DRIVERS=y | ||
3787 | # CONFIG_JAILHOUSE_DBGCON is not set | ||
3841 | CONFIG_VIRTIO=y | 3788 | CONFIG_VIRTIO=y |
3842 | 3789 | ||
3843 | # | 3790 | # |
3844 | # Virtio drivers | 3791 | # Virtio drivers |
3845 | # | 3792 | # |
3846 | # CONFIG_VIRTIO_PCI is not set | 3793 | CONFIG_VIRTIO_PCI=m |
3847 | # CONFIG_VIRTIO_BALLOON is not set | 3794 | CONFIG_VIRTIO_PCI_LEGACY=y |
3848 | # CONFIG_VIRTIO_INPUT is not set | 3795 | CONFIG_VIRTIO_BALLOON=m |
3849 | # CONFIG_VIRTIO_MMIO is not set | 3796 | CONFIG_VIRTIO_INPUT=m |
3797 | CONFIG_VIRTIO_MMIO=m | ||
3798 | CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y | ||
3850 | 3799 | ||
3851 | # | 3800 | # |
3852 | # Microsoft Hyper-V guest support | 3801 | # Microsoft Hyper-V guest support |
@@ -4018,7 +3967,14 @@ CONFIG_ARM64_ERRATUM_858921=y | |||
4018 | # CONFIG_SH_TIMER_MTU2 is not set | 3967 | # CONFIG_SH_TIMER_MTU2 is not set |
4019 | # CONFIG_SH_TIMER_TMU is not set | 3968 | # CONFIG_SH_TIMER_TMU is not set |
4020 | # CONFIG_EM_TIMER_STI is not set | 3969 | # CONFIG_EM_TIMER_STI is not set |
4021 | # CONFIG_MAILBOX is not set | 3970 | CONFIG_MAILBOX=y |
3971 | # CONFIG_ARM_MHU is not set | ||
3972 | # CONFIG_PLATFORM_MHU is not set | ||
3973 | # CONFIG_PL320_MBOX is not set | ||
3974 | # CONFIG_ALTERA_MBOX is not set | ||
3975 | CONFIG_MAILBOX_TEST=m | ||
3976 | # CONFIG_BCM_FLEXRM_MBOX is not set | ||
3977 | CONFIG_ZYNQMP_IPI_MBOX=y | ||
4022 | CONFIG_IOMMU_API=y | 3978 | CONFIG_IOMMU_API=y |
4023 | CONFIG_IOMMU_SUPPORT=y | 3979 | CONFIG_IOMMU_SUPPORT=y |
4024 | 3980 | ||
@@ -4039,10 +3995,15 @@ CONFIG_ARM_SMMU=y | |||
4039 | # Remoteproc drivers | 3995 | # Remoteproc drivers |
4040 | # | 3996 | # |
4041 | CONFIG_REMOTEPROC=y | 3997 | CONFIG_REMOTEPROC=y |
3998 | CONFIG_ZYNQMP_R5_REMOTEPROC=y | ||
4042 | 3999 | ||
4043 | # | 4000 | # |
4044 | # Rpmsg drivers | 4001 | # Rpmsg drivers |
4045 | # | 4002 | # |
4003 | CONFIG_RPMSG=y | ||
4004 | CONFIG_RPMSG_CHAR=y | ||
4005 | # CONFIG_RPMSG_QCOM_GLINK_RPM is not set | ||
4006 | CONFIG_RPMSG_VIRTIO=y | ||
4046 | 4007 | ||
4047 | # | 4008 | # |
4048 | # SOC (System On Chip) specific Drivers | 4009 | # SOC (System On Chip) specific Drivers |
@@ -4075,8 +4036,20 @@ CONFIG_XILINX_VCU=m | |||
4075 | # | 4036 | # |
4076 | # Zynq MPSoC SoC Drivers | 4037 | # Zynq MPSoC SoC Drivers |
4077 | # | 4038 | # |
4039 | CONFIG_ZYNQMP_POWER=y | ||
4040 | CONFIG_ZYNQMP_PM_DOMAINS=y | ||
4078 | # CONFIG_PM_DEVFREQ is not set | 4041 | # CONFIG_PM_DEVFREQ is not set |
4079 | # CONFIG_EXTCON is not set | 4042 | CONFIG_EXTCON=y |
4043 | |||
4044 | # | ||
4045 | # Extcon Device Drivers | ||
4046 | # | ||
4047 | # CONFIG_EXTCON_ADC_JACK is not set | ||
4048 | # CONFIG_EXTCON_GPIO is not set | ||
4049 | # CONFIG_EXTCON_MAX3355 is not set | ||
4050 | # CONFIG_EXTCON_RT8973A is not set | ||
4051 | # CONFIG_EXTCON_SM5502 is not set | ||
4052 | # CONFIG_EXTCON_USB_GPIO is not set | ||
4080 | # CONFIG_MEMORY is not set | 4053 | # CONFIG_MEMORY is not set |
4081 | CONFIG_IIO=y | 4054 | CONFIG_IIO=y |
4082 | CONFIG_IIO_BUFFER=y | 4055 | CONFIG_IIO_BUFFER=y |
@@ -4475,13 +4448,19 @@ CONFIG_FPGA_BRIDGE=y | |||
4475 | # FSI support | 4448 | # FSI support |
4476 | # | 4449 | # |
4477 | # CONFIG_FSI is not set | 4450 | # CONFIG_FSI is not set |
4478 | # CONFIG_TEE is not set | 4451 | CONFIG_TEE=m |
4452 | |||
4453 | # | ||
4454 | # TEE drivers | ||
4455 | # | ||
4456 | CONFIG_OPTEE=m | ||
4479 | 4457 | ||
4480 | # | 4458 | # |
4481 | # Firmware Drivers | 4459 | # Firmware Drivers |
4482 | # | 4460 | # |
4483 | CONFIG_ARM_PSCI_FW=y | 4461 | CONFIG_ARM_PSCI_FW=y |
4484 | # CONFIG_ARM_PSCI_CHECKER is not set | 4462 | # CONFIG_ARM_PSCI_CHECKER is not set |
4463 | # CONFIG_ARM_SCPI_PROTOCOL is not set | ||
4485 | CONFIG_FIRMWARE_MEMMAP=y | 4464 | CONFIG_FIRMWARE_MEMMAP=y |
4486 | # CONFIG_FW_CFG_SYSFS is not set | 4465 | # CONFIG_FW_CFG_SYSFS is not set |
4487 | CONFIG_HAVE_ARM_SMCCC=y | 4466 | CONFIG_HAVE_ARM_SMCCC=y |
diff --git a/recipes-kernel/linux/linux-xlnx/zynqmp-zcu102-amp-rev1.0.dts b/recipes-kernel/linux/linux-xlnx/zynqmp-zcu102-amp-rev1.0.dts new file mode 100644 index 0000000..390aa18 --- /dev/null +++ b/recipes-kernel/linux/linux-xlnx/zynqmp-zcu102-amp-rev1.0.dts | |||
@@ -0,0 +1,160 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0+ | ||
2 | /* | ||
3 | * dts file for Xilinx ZynqMP ZCU102 Rev1.0 | ||
4 | * | ||
5 | * (C) Copyright 2016 - 2018, Xilinx, Inc. | ||
6 | * | ||
7 | * Michal Simek <michal.simek@xilinx.com> | ||
8 | */ | ||
9 | |||
10 | #include "zynqmp-zcu102-revB.dts" | ||
11 | |||
12 | / { | ||
13 | model = "ZynqMP ZCU102 Rev1.0"; | ||
14 | compatible = "xlnx,zynqmp-zcu102-rev1.0", "xlnx,zynqmp-zcu102", "xlnx,zynqmp"; | ||
15 | |||
16 | reserved-memory { | ||
17 | #address-cells = <2>; | ||
18 | #size-cells = <2>; | ||
19 | ranges; | ||
20 | rproc_0_reserved: rproc@3ed00000 { | ||
21 | no-map; | ||
22 | reg = <0x0 0x3ed00000 0x0 0x8000000>; | ||
23 | }; | ||
24 | }; | ||
25 | |||
26 | power-domains { | ||
27 | pd_r5_0: pd_r5_0 { | ||
28 | #power-domain-cells = <0x0>; | ||
29 | pd-id = <0x7>; | ||
30 | }; | ||
31 | pd_r5_1: pd_r5_1 { | ||
32 | #power-domain-cells = <0x0>; | ||
33 | pd-id = <0x8>; | ||
34 | }; | ||
35 | pd_tcm_0_a: pd_tcm_0_a { | ||
36 | #power-domain-cells = <0x0>; | ||
37 | pd-id = <0xf>; | ||
38 | }; | ||
39 | pd_tcm_0_b: pd_tcm_0_b { | ||
40 | #power-domain-cells = <0x0>; | ||
41 | pd-id = <0x10>; | ||
42 | }; | ||
43 | pd_tcm_1_a: pd_tcm_1_a { | ||
44 | #power-domain-cells = <0x0>; | ||
45 | pd-id = <0x11>; | ||
46 | }; | ||
47 | pd_tcm_1_b: pd_tcm_1_b { | ||
48 | #power-domain-cells = <0x0>; | ||
49 | pd-id = <0x12>; | ||
50 | }; | ||
51 | }; | ||
52 | |||
53 | amba { | ||
54 | r5_0_tcm_a: tcm@ffe00000 { | ||
55 | compatible = "mmio-sram"; | ||
56 | reg = <0 0xFFE00000 0x0 0x10000>; | ||
57 | pd-handle = <&pd_tcm_0_a>; | ||
58 | }; | ||
59 | r5_0_tcm_b: tcm@ffe20000 { | ||
60 | compatible = "mmio-sram"; | ||
61 | reg = <0 0xFFE20000 0x0 0x10000>; | ||
62 | pd-handle = <&pd_tcm_0_b>; | ||
63 | }; | ||
64 | r5_1_tcm_a: tcm@ffe90000 { | ||
65 | compatible = "mmio-sram"; | ||
66 | reg = <0 0xFFE90000 0x0 0x10000>; | ||
67 | pd-handle = <&pd_tcm_1_a>; | ||
68 | }; | ||
69 | r5_1_tcm_b: tcm@ffe92000 { | ||
70 | compatible = "mmio-sram"; | ||
71 | reg = <0 0xFFEB0000 0x0 0x10000>; | ||
72 | pd-handle = <&pd_tcm_1_b>; | ||
73 | }; | ||
74 | |||
75 | elf_ddr_0: ddr@3ed00000 { | ||
76 | compatible = "mmio-sram"; | ||
77 | reg = <0 0x3ed00000 0x0 0x40000>; | ||
78 | }; | ||
79 | |||
80 | elf_ddr_1: ddr@3ed40000 { | ||
81 | compatible = "mmio-sram"; | ||
82 | reg = <0 0x3ed40000 0x0 0x40000>; | ||
83 | }; | ||
84 | |||
85 | test_r50: zynqmp_r5_rproc@0 { | ||
86 | compatible = "xlnx,zynqmp-r5-remoteproc-1.0"; | ||
87 | reg = <0x0 0xff9a0100 0 0x100>, <0x0 0xff340000 0 0x100>, <0x0 0xff9a0000 0 0x100>; | ||
88 | reg-names = "rpu_base", "ipi", "rpu_glbl_base"; | ||
89 | dma-ranges; | ||
90 | core_conf = "split0"; | ||
91 | srams = <&r5_0_tcm_a &r5_0_tcm_b &elf_ddr_0>; | ||
92 | pd-handle = <&pd_r5_0>; | ||
93 | interrupt-parent = <&gic>; | ||
94 | interrupts = <0 29 4>; | ||
95 | |||
96 | } ; | ||
97 | |||
98 | test_r51: zynqmp_r5_rproc@1 { | ||
99 | compatible = "xlnx,zynqmp-r5-remoteproc-1.0"; | ||
100 | reg =<0x0 0xff9a0200 0 0x100>, <0x0 0xff340000 0 0x100>, <0x0 0xff9a0000 0 0x100>; | ||
101 | reg-names = "rpu_base", "ipi", "rpu_glbl_base"; | ||
102 | dma-ranges; | ||
103 | core_conf = "split1"; | ||
104 | srams = <&r5_1_tcm_a &r5_1_tcm_b &elf_ddr_1>; | ||
105 | pd-handle = <&pd_r5_1>; | ||
106 | interrupt-parent = <&gic>; | ||
107 | interrupts = <0 29 4>; | ||
108 | |||
109 | } ; | ||
110 | |||
111 | vring: vring@0 { | ||
112 | compatible = "vring_uio"; | ||
113 | reg = <0x0 0x3ed40000 0x0 0x40000>; | ||
114 | }; | ||
115 | shm0: shm@0 { | ||
116 | compatible = "shm_uio"; | ||
117 | reg = <0x0 0x3ed80000 0x0 0x80000>; | ||
118 | }; | ||
119 | |||
120 | vring1: vring@1 { | ||
121 | compatible = "vring_uio"; | ||
122 | reg = <0x0 0x3ef00000 0x0 0x40000>; | ||
123 | }; | ||
124 | shm1: shm@1 { | ||
125 | compatible = "shm_uio"; | ||
126 | reg = <0x0 0x3ef40000 0x0 0x80000>; | ||
127 | }; | ||
128 | |||
129 | ipi0: ipi@0 { | ||
130 | compatible = "ipi_uio"; | ||
131 | reg = <0x0 0xff340000 0x0 0x1000>; | ||
132 | interrupt-parent = <&gic>; | ||
133 | interrupts = <0 29 4>; | ||
134 | }; | ||
135 | |||
136 | }; | ||
137 | }; | ||
138 | |||
139 | &eeprom { | ||
140 | #address-cells = <1>; | ||
141 | #size-cells = <1>; | ||
142 | |||
143 | board_sn: board-sn@0 { | ||
144 | reg = <0x0 0x14>; | ||
145 | }; | ||
146 | |||
147 | eth_mac: eth-mac@20 { | ||
148 | reg = <0x20 0x6>; | ||
149 | }; | ||
150 | |||
151 | board_name: board-name@d0 { | ||
152 | reg = <0xd0 0x6>; | ||
153 | }; | ||
154 | |||
155 | board_revision: board-revision@e0 { | ||
156 | reg = <0xe0 0x3>; | ||
157 | }; | ||
158 | }; | ||
159 | |||
160 | |||
diff --git a/recipes-kernel/linux/linux-xlnx_%.bbappend b/recipes-kernel/linux/linux-xlnx_%.bbappend index f146fde..b7e04b0 100644 --- a/recipes-kernel/linux/linux-xlnx_%.bbappend +++ b/recipes-kernel/linux/linux-xlnx_%.bbappend | |||
@@ -1,14 +1,14 @@ | |||
1 | KENEABRANCH = "xilinx-4.14" | 1 | KENEABRANCH = "xilinx-4.14" |
2 | SRCREV_metaenea = "3ad4487e93fcbfeead0a29457e803b43c2e38468" | 2 | SRCREV_metaenea = "3ad4487e93fcbfeead0a29457e803b43c2e38468" |
3 | 3 | ||
4 | KERNEL_DEFCONFIG = "xilinx-4.14.defconfig" | 4 | KERNEL_CONFIG = "xilinx-amp-4.14.config" |
5 | KBUILD_DEFCONFIG_zynqmp = "${KERNEL_DEFCONFIG}" | ||
6 | 5 | ||
7 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" | 6 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" |
8 | 7 | ||
9 | SRC_URI_append = " \ | 8 | SRC_URI_append = " \ |
10 | git://git@git.enea.com/linux/enea-kernel-cache.git;protocol=ssh;type=kmeta;name=metaenea;branch=${KENEABRANCH};destsuffix=enea-kernel-meta \ | 9 | git://git@git.enea.com/linux/enea-kernel-cache.git;protocol=ssh;type=kmeta;name=metaenea;branch=${KENEABRANCH};destsuffix=enea-kernel-meta \ |
11 | file://${KERNEL_DEFCONFIG} \ | 10 | file://${KERNEL_CONFIG} \ |
11 | file://zynqmp-zcu102-amp-rev1.0.dts \ | ||
12 | " | 12 | " |
13 | 13 | ||
14 | KERNEL_FEATURES_append_zcu102-zynqmp = " \ | 14 | KERNEL_FEATURES_append_zcu102-zynqmp = " \ |
@@ -17,9 +17,10 @@ KERNEL_FEATURES_append_zcu102-zynqmp = " \ | |||
17 | patches/cve/4.14.x.scc \ | 17 | patches/cve/4.14.x.scc \ |
18 | " | 18 | " |
19 | 19 | ||
20 | do_install_kernel_defconfig() { | 20 | do_configure_prepend() { |
21 | # overwrite the original defconfig | 21 | # overwrite the .config file |
22 | install -m 0644 ${WORKDIR}/${KERNEL_DEFCONFIG} ${S}/arch/arm64/configs/${KERNEL_DEFCONFIG} | 22 | install -m 0644 ${WORKDIR}/${KERNEL_CONFIG} ${B}/.config |
23 | } | ||
24 | 23 | ||
25 | addtask install_kernel_defconfig after do_kernel_checkout before do_kernel_metadata | 24 | # overwrite the original DTS |
25 | install -m 0644 ${WORKDIR}/zynqmp-zcu102-amp-rev1.0.dts ${S}/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts | ||
26 | } | ||