aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/include/asm/arch-bcm281xx
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/u-boot/arch/arm/include/asm/arch-bcm281xx
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/u-boot/arch/arm/include/asm/arch-bcm281xx')
-rw-r--r--roms/u-boot/arch/arm/include/asm/arch-bcm281xx/boot0.h10
-rw-r--r--roms/u-boot/arch/arm/include/asm/arch-bcm281xx/gpio.h14
-rw-r--r--roms/u-boot/arch/arm/include/asm/arch-bcm281xx/sysmap.h36
3 files changed, 60 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/include/asm/arch-bcm281xx/boot0.h b/roms/u-boot/arch/arm/include/asm/arch-bcm281xx/boot0.h
new file mode 100644
index 000000000..8cde42b89
--- /dev/null
+++ b/roms/u-boot/arch/arm/include/asm/arch-bcm281xx/boot0.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2016 Broadcom Corporation.
+ */
+
+/* BOOT0 header information */
+_start:
+ ARM_VECTORS
+ .word 0xbabeface
+ .word _end - _start
diff --git a/roms/u-boot/arch/arm/include/asm/arch-bcm281xx/gpio.h b/roms/u-boot/arch/arm/include/asm/arch-bcm281xx/gpio.h
new file mode 100644
index 000000000..6716e1a15
--- /dev/null
+++ b/roms/u-boot/arch/arm/include/asm/arch-bcm281xx/gpio.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2013 Broadcom Corporation.
+ */
+
+#ifndef __ARCH_BCM281XX_GPIO_H
+#define __ARCH_BCM281XX_GPIO_H
+
+/*
+ * Empty file - cmd_gpio.c requires this. The implementation
+ * is in drivers/gpio/kona_gpio.c instead of inlined here.
+ */
+
+#endif
diff --git a/roms/u-boot/arch/arm/include/asm/arch-bcm281xx/sysmap.h b/roms/u-boot/arch/arm/include/asm/arch-bcm281xx/sysmap.h
new file mode 100644
index 000000000..477b69388
--- /dev/null
+++ b/roms/u-boot/arch/arm/include/asm/arch-bcm281xx/sysmap.h
@@ -0,0 +1,36 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2013 Broadcom Corporation.
+ */
+
+#ifndef __ARCH_BCM281XX_SYSMAP_H
+
+#define BSC1_BASE_ADDR 0x3e016000
+#define BSC2_BASE_ADDR 0x3e017000
+#define BSC3_BASE_ADDR 0x3e018000
+#define DWDMA_AHB_BASE_ADDR 0x38100000
+#define ESUB_CLK_BASE_ADDR 0x38000000
+#define ESW_CONTRL_BASE_ADDR 0x38200000
+#define GPIO2_BASE_ADDR 0x35003000
+#define HSOTG_BASE_ADDR 0x3f120000
+#define HSOTG_CTRL_BASE_ADDR 0x3f130000
+#define KONA_MST_CLK_BASE_ADDR 0x3f001000
+#define KONA_SLV_CLK_BASE_ADDR 0x3e011000
+#define PMU_BSC_BASE_ADDR 0x3500d000
+#define PWRMGR_BASE_ADDR 0x35010000
+#define SDIO1_BASE_ADDR 0x3f180000
+#define SDIO2_BASE_ADDR 0x3f190000
+#define SDIO3_BASE_ADDR 0x3f1a0000
+#define SDIO4_BASE_ADDR 0x3f1b0000
+#define SECWD_BASE_ADDR 0x3500c000
+#define SECWD2_BASE_ADDR 0x35002f40
+#define TIMER_BASE_ADDR 0x3e00d000
+
+#define HSOTG_DCTL_OFFSET 0x00000804
+#define HSOTG_DCTL_SFTDISCON_MASK 0x00000002
+
+#define HSOTG_CTRL_PHY_P1CTL_OFFSET 0x00000008
+#define HSOTG_CTRL_PHY_P1CTL_SOFT_RESET_MASK 0x00000002
+#define HSOTG_CTRL_PHY_P1CTL_NON_DRIVING_MASK 0x00000001
+
+#endif