bcm6753: add initial support
Subsystems (6)
PATCH 1/5 bcm6753: add initial support
This add the initial support of the broadcom bcm6753 SoC family.
--- arch/arm/Kconfig | 7 ++ arch/arm/dts/bcm6753.dtsi | 201 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 208 insertions(+) create mode 100644 arch/arm/dts/bcm6753.dtsi
arch/arm/Kconfig +7 -0
@@ -617,6 +617,13 @@ config ARCH_BCM63158 select OF_CONTROL imply CMD_DM +config ARCH_BCM6753 + bool "Broadcom BCM6753 family" + select CPU_V7A + select DM + select OF_CONTROL + imply CMD_DM + config ARCH_BCM68360 bool "Broadcom BCM68360 family" select DM
arch/arm/dts/bcm6753.dtsi new file +201 -0
201 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 2/5 gpio: bcm6345: allow to use this driver on arm bcm6753
This IP is also used on some arm SoC, so we allow to use it on arm bcm6753 too.
--- drivers/gpio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpio/Kconfig +2 -1
@@ -87,7 +87,8 @@ config ALTERA_PIO config BCM6345_GPIO bool "BCM6345 GPIO driver" depends on DM_GPIO && (ARCH_BMIPS || ARCH_BCM68360 || \ - ARCH_BCM6858 || ARCH_BCM63158) + ARCH_BCM6858 || ARCH_BCM63158 || \ + ARCH_BCM6753) help This driver supports the GPIO banks on BCM6345 SoCs.
Signature · 1 line
2.17.1
Re: [PATCH 2/5] gpio: bcm6345: allow to use this driver on arm bcm6753
Quoted 4 lines · Philippe Reynes
This IP is also used on some arm SoC, so we allow to use it on arm bcm6753 too.
Signed-off-by Philippe Reynes <[email protected]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom
PATCH 3/5 nand: brcmnand: add bcm6753 support
In reply to Philippe ReynesThis adds the nand support for chipset bcm6753.
--- drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/brcmnand/Makefile | 1 + drivers/mtd/nand/raw/brcmnand/bcm6753_nand.c | 124 +++++++++++++++++++ 3 files changed, 131 insertions(+) create mode 100644 drivers/mtd/nand/raw/brcmnand/bcm6753_nand.c
drivers/mtd/nand/raw/Kconfig +6 -0
@@ -91,6 +91,12 @@ config NAND_BRCMNAND_6368 help Enable support for broadcom nand driver on bcm6368. +config NAND_BRCMNAND_6753 + bool "Support Broadcom NAND controller on bcm6753" + depends on NAND_BRCMNAND && ARCH_BCM6753 + help + Enable support for broadcom nand driver on bcm6753. + config NAND_BRCMNAND_68360 bool "Support Broadcom NAND controller on bcm68360" depends on NAND_BRCMNAND && ARCH_BCM68360
drivers/mtd/nand/raw/brcmnand/Makefile +1 -0
@@ -2,6 +2,7 @@ obj-$(CONFIG_NAND_BRCMNAND_6368) += bcm6368_nand.o obj-$(CONFIG_NAND_BRCMNAND_63158) += bcm63158_nand.o +obj-$(CONFIG_NAND_BRCMNAND_6753) += bcm6753_nand.o obj-$(CONFIG_NAND_BRCMNAND_68360) += bcm68360_nand.o obj-$(CONFIG_NAND_BRCMNAND_6838) += bcm6838_nand.o obj-$(CONFIG_NAND_BRCMNAND_6858) += bcm6858_nand.o
drivers/mtd/nand/raw/brcmnand/bcm6753_nand.c new file +124 -0
124 lines not on this page · raw message
Signature · 1 line
2.17.1
Re: [PATCH 3/5] nand: brcmnand: add bcm6753 support
Quoted 3 lines · Philippe Reynes
This adds the nand support for chipset bcm6753.
Signed-off-by Philippe Reynes <[email protected]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom
PATCH 4/5 watchdog: bcm6345: allow to use this driver on arm bcm6753
In reply to Philippe ReynesThis IP is also used on some arm SoC, so we allow to use it on arm bcm6753 too.
--- drivers/watchdog/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/watchdog/Kconfig +2 -1
@@ -129,7 +129,8 @@ config WDT_AT91 config WDT_BCM6345 bool "BCM6345 watchdog timer support" depends on WDT && (ARCH_BMIPS || ARCH_BCM68360 || \ - ARCH_BCM6858 || ARCH_BCM63158) + ARCH_BCM6858 || ARCH_BCM63158 || \ + ARCH_BCM6753) help Select this to enable watchdog timer for BCM6345 SoCs. The watchdog timer is stopped when initialized.
Signature · 1 line
2.17.1
Re: [PATCH 4/5] watchdog: bcm6345: allow to use this driver on arm bcm6753
Quoted 4 lines · Philippe Reynes
This IP is also used on some arm SoC, so we allow to use it on arm bcm6753 too.
Signed-off-by Philippe Reynes <[email protected]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom
PATCH 5/5 bcm96753ref: add initial support
In reply to Philippe ReynesThis add the initial support of the broadcom reference board bcm96753ref with a bcm6753 SoC.
This board has 1 GB of RAM, 256 MB of flash (nand), 2 USB port, 1 UART, and 4 ethernet ports.
--- arch/arm/Kconfig | 1 + arch/arm/dts/Makefile | 3 + arch/arm/dts/bcm96753ref.dts | 80 +++++++++++++++++++++++ board/broadcom/bcm96753ref/Kconfig | 16 +++++ board/broadcom/bcm96753ref/MAINTAINERS | 6 ++ board/broadcom/bcm96753ref/Makefile | 3 + board/broadcom/bcm96753ref/bcm96753ref.c | 40 ++++++++++++ configs/bcm96753ref_ram_defconfig | 81 ++++++++++++++++++++++++ include/configs/broadcom_bcm96753ref.h | 34 ++++++++++ 9 files changed, 264 insertions(+) create mode 100644 arch/arm/dts/bcm96753ref.dts create mode 100644 board/broadcom/bcm96753ref/Kconfig create mode 100644 board/broadcom/bcm96753ref/MAINTAINERS create mode 100644 board/broadcom/bcm96753ref/Makefile create mode 100644 board/broadcom/bcm96753ref/bcm96753ref.c create mode 100644 configs/bcm96753ref_ram_defconfig create mode 100644 include/configs/broadcom_bcm96753ref.h
arch/arm/Kconfig +1 -0
@@ -2213,6 +2213,7 @@ source "board/armltd/vexpress/Kconfig" source "board/armltd/vexpress64/Kconfig" source "board/cortina/presidio-asic/Kconfig" source "board/broadcom/bcm963158/Kconfig" +source "board/broadcom/bcm96753ref/Kconfig" source "board/broadcom/bcm968360bg/Kconfig" source "board/broadcom/bcm968580xref/Kconfig" source "board/broadcom/bcmns3/Kconfig"
arch/arm/dts/Makefile +3 -0
@@ -1101,6 +1101,9 @@ dtb-$(CONFIG_ARCH_BCM63158) += \ dtb-$(CONFIG_ARCH_BCM68360) += \ bcm968360bg.dtb +dtb-$(CONFIG_ARCH_BCM6753) += \ + bcm96753ref.dtb + dtb-$(CONFIG_ARCH_BCM6858) += \ bcm968580xref.dtb
arch/arm/dts/bcm96753ref.dts new file +80 -0
80 lines not on this page · raw message
board/broadcom/bcm96753ref/Kconfig new file +16 -0
@@ -0,0 +1,16 @@ +if TARGET_BCM96753REF + +config SYS_VENDOR + default "broadcom" + +config SYS_BOARD + default "bcm96753ref" + +config SYS_CONFIG_NAME + default "broadcom_bcm96753ref" + +endif + +config TARGET_BCM96753REF + bool "Support Broadcom bcm96753ref" + depends on ARCH_BCM6753
board/broadcom/bcm96753ref/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +BROADCOM BCM96753REF +M: Philippe Reynes <[email protected]> +S: Maintained +F: board/broadcom/bcm96753ref +F: include/configs/broadcom_bcm96753ref.h +F: configs/bcm96753ref_ram_defconfig
board/broadcom/bcm96753ref/Makefile new file +3 -0
@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0+ + +obj-y += bcm96753ref.o
board/broadcom/bcm96753ref/bcm96753ref.c new file +40 -0
@@ -0,0 +1,40 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* +* Copyright (C) 2022 Philippe Reynes <[email protected]> +*/ + +#include <common.h> +#include <fdtdec.h> +#include <linux/io.h> +#include <cpu_func.h> + +int board_init (void ) +{ +return 0 ; +} + +int dram_init (void ) +{ +if (fdtdec_setup_mem_size_base () !=0 ) +printf ("fdtdec_setup_mem_size_base() has failed\n" ); + +return 0 ; +} + +int dram_init_banksize (void ) +{ +fdtdec_setup_memory_banksize (); + +return 0 ; +} + +int print_cpuinfo (void ) +{ +return 0 ; +} + +void enable_caches (void ) +{ +icache_enable (); +dcache_enable (); +}
configs/bcm96753ref_ram_defconfig new file +81 -0
81 lines not on this page · raw message
include/configs/broadcom_bcm96753ref.h new file +34 -0
@@ -0,0 +1,34 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Copyright (C) 2022 Philippe Reynes <[email protected]> +*/ + +#include <linux/sizes.h> + +/* +* common +*/ + +/* UART */ +#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \ + 230400, 500000, 1500000 } +/* Memory usage */ +#define CONFIG_SYS_MAXARGS 24 + +/* +* 6853 +*/ + +/* RAM */ +#define CONFIG_SYS_SDRAM_BASE 0x00000000 + +/* U-Boot */ +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + SZ_16M) + +#ifdef CONFIG_MTD_RAW_NAND +#define CONFIG_SYS_MAX_NAND_DEVICE 1 +#endif /* CONFIG_MTD_RAW_NAND */ + +/* +* 96753ref +*/
Signature · 1 line
2.17.1
Re: [PATCH 5/5] bcm96753ref: add initial support
Quoted 7 lines · Philippe Reynes
This add the initial support of the broadcom reference board bcm96753ref with a bcm6753 SoC.
This board has 1 GB of RAM, 256 MB of flash (nand), 2 USB port, 1 UART, and 4 ethernet ports.
Signed-off-by Philippe Reynes <[email protected]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom
Quoted 3 lines · Philippe Reynes
This add the initial support of the broadcom bcm6753 SoC family.
Signed-off-by Philippe Reynes <[email protected]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom