From patchwork Fri Jul 10 08:52:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 241248 List-Id: U-Boot discussion From: rayagonda.kokatanur at broadcom.com (Rayagonda Kokatanur) Date: Fri, 10 Jul 2020 14:22:05 +0530 Subject: [PATCH v4 00/15] add initial support for broadcom NS3 soc Message-ID: <20200710085220.32730-1-rayagonda.kokatanur@broadcom.com> This patch series adds initial support for Broadcom Northstar 3 SoC. NS3 is a octo-core 64-bit ARMv8 Cortex-A72 processors targeting a broad range of networking applications. Changes from v3: -Address review comments from Simon, Update commit message ie corrections, expand acronyms etc, Use lower-case hex number, Correct spelling mistakes, Use a struct instead of ad-hoc pointer reading, Use error code and return errro upon failure, Check for return value, Move the documentation to /doc instead of in header file, Update new file doc/README.bcmns3 Use dt and a UCLASS_IRQ to get gic details instead of passing as arguments to function gic_lpi_tables_init(), -Address review comments from Peter Tyser, Fix accidental changes Changes from v2: -Address review comments from Simon, Remove clock dt file inorder to maintain same dt file between uboot and linux. -Address self review comments, Rearrange the headers. Update MAINTAINERS file with dt file change. Changes from v1: -Address review comments from Marek Vasut, Split the series into samller and logical series like core, driver. -Address review comments from Simon Glass, Update MAINTAINERS file. Abhishek Shah (1): board: ns3: add api to save boot parameters passed from BL31 Bharat Gooty (2): include/configs: ns3: add env variables for Linux boot include/configs: ns3: add support for flashing images Bharat Kumar Reddy Gooty (1): board: ns3: limit U-boot relocation within 16MB memory Rayagonda Kokatanur (11): board: ns3: add support for Broadcom Northstar 3 arm: cpu: armv8: add L3 memory flush support configs: ns3: enable clock subsystem dt-bindings: memory: ns3: add memory definitions board: ns3: default reset type to L3 board: ns3: program GIC LPI tables configs: ns3: enable GIC_V3 ITS dt-bindings: memory: ns3: add ddr memory definition board: ns3: define ddr memory layout doc: add README doc for bcmns3 platform MAINTAINERS: update maintainers for broadcom ns3 platform MAINTAINERS | 15 + arch/arm/Kconfig | 10 + arch/arm/cpu/armv8/Makefile | 1 + arch/arm/cpu/armv8/bcmns3/Makefile | 5 + arch/arm/cpu/armv8/bcmns3/lowlevel.S | 98 +++ arch/arm/dts/Makefile | 2 + arch/arm/dts/ns3-board.dts | 47 ++ arch/arm/dts/ns3.dtsi | 34 + arch/arm/include/asm/arch-bcmns3/bl33_info.h | 26 + board/broadcom/bcmns3/Kconfig | 15 + board/broadcom/bcmns3/Makefile | 5 + board/broadcom/bcmns3/ns3.c | 214 +++++ configs/bcm_ns3_defconfig | 25 + doc/README.bcmns3 | 74 ++ include/configs/bcm_ns3.h | 823 +++++++++++++++++++ include/dt-bindings/memory/bcm-ns3-mc.h | 63 ++ 16 files changed, 1457 insertions(+) create mode 100644 arch/arm/cpu/armv8/bcmns3/Makefile create mode 100644 arch/arm/cpu/armv8/bcmns3/lowlevel.S create mode 100644 arch/arm/dts/ns3-board.dts create mode 100644 arch/arm/dts/ns3.dtsi create mode 100644 arch/arm/include/asm/arch-bcmns3/bl33_info.h create mode 100644 board/broadcom/bcmns3/Kconfig create mode 100644 board/broadcom/bcmns3/Makefile create mode 100644 board/broadcom/bcmns3/ns3.c create mode 100644 configs/bcm_ns3_defconfig create mode 100644 doc/README.bcmns3 create mode 100644 include/configs/bcm_ns3.h create mode 100644 include/dt-bindings/memory/bcm-ns3-mc.h