U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/5] bcm63158: add initial support
@ 2019-01-31 17:57 Philippe Reynes
  2019-01-31 17:57 ` [U-Boot] [PATCH 2/5] bcm963158: " Philippe Reynes
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Philippe Reynes @ 2019-01-31 17:57 UTC (permalink / raw)
  To: u-boot

This add the initial support of the broadcom bcm63158 SoC family,
only the cpu, dram and uart are supported.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
---
 arch/arm/Kconfig           |  6 ++++
 arch/arm/dts/bcm63158.dtsi | 85 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)
 create mode 100644 arch/arm/dts/bcm63158.dtsi

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f0edb10..4316de0 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -528,6 +528,12 @@ config ARCH_BCM283X
 	imply CMD_DM
 	imply FAT_WRITE
 
+config ARCH_BCM63158
+	bool "Broadcom BCM63158 family"
+	select DM
+	select OF_CONTROL
+	imply CMD_DM
+
 config ARCH_BCM6858
 	bool "Broadcom BCM6858 family"
 	select DM
diff --git a/arch/arm/dts/bcm63158.dtsi b/arch/arm/dts/bcm63158.dtsi
new file mode 100644
index 0000000..be68205
--- /dev/null
+++ b/arch/arm/dts/bcm63158.dtsi
@@ -0,0 +1,85 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2019 Philippe Reynes <philippe.reynes@softathome.com>
+ */
+
+#include "skeleton64.dtsi"
+
+/ {
+	compatible = "brcm,bcm63158";
+	#address-cells = <2>;
+	#size-cells = <2>;
+
+	cpus {
+		#address-cells = <2>;
+		#size-cells = <0>;
+		u-boot,dm-pre-reloc;
+
+		cpu0: cpu at 0 {
+			compatible = "arm,cortex-a53", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x0 0x0>;
+			next-level-cache = <&l2>;
+			u-boot,dm-pre-reloc;
+		};
+
+		cpu1: cpu at 1 {
+			compatible = "arm,cortex-a53", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x0 0x1>;
+			next-level-cache = <&l2>;
+			u-boot,dm-pre-reloc;
+		};
+
+		cpu2: cpu at 2 {
+			compatible = "arm,cortex-a53", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x0 0x2>;
+			next-level-cache = <&l2>;
+			u-boot,dm-pre-reloc;
+		};
+
+		cpu3: cpu at 3 {
+			compatible = "arm,cortex-a53", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x0 0x3>;
+			next-level-cache = <&l2>;
+			u-boot,dm-pre-reloc;
+		};
+
+		l2: l2-cache0 {
+			compatible = "cache";
+			u-boot,dm-pre-reloc;
+		};
+	};
+
+	clocks {
+		compatible = "simple-bus";
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+		u-boot,dm-pre-reloc;
+
+		periph_osc: periph-osc {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <0xbebc200>;
+			u-boot,dm-pre-reloc;
+		};
+	};
+
+	ubus {
+		compatible = "simple-bus";
+		#address-cells = <2>;
+		#size-cells = <2>;
+		u-boot,dm-pre-reloc;
+
+		uart0: serial at ff812000 {
+			compatible = "arm,pl011", "arm,primecell";
+			reg = <0x0 0xff812000 0x0 0x1000>;
+			clock = <50000000>;
+
+			status = "disabled";
+		};
+	};
+};
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-02-10 13:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-31 17:57 [U-Boot] [PATCH 1/5] bcm63158: add initial support Philippe Reynes
2019-01-31 17:57 ` [U-Boot] [PATCH 2/5] bcm963158: " Philippe Reynes
2019-02-10 13:10   ` [U-Boot] [U-Boot,2/5] " Tom Rini
2019-01-31 17:57 ` [U-Boot] [PATCH 3/5] watchdog: bcm6345: allow to use this driver on arm bcm63158 Philippe Reynes
2019-02-10 13:10   ` [U-Boot] [U-Boot, " Tom Rini
2019-01-31 17:57 ` [U-Boot] [PATCH 4/5] dt: bcm63158: add watchdog Philippe Reynes
2019-02-10 13:10   ` [U-Boot] [U-Boot,4/5] " Tom Rini
2019-01-31 17:57 ` [U-Boot] [PATCH 5/5] bcm963158: enable watchdog and reboot with watchdog Philippe Reynes
2019-02-10 13:10   ` [U-Boot] [U-Boot, " Tom Rini
2019-02-10 13:09 ` [U-Boot] [U-Boot,1/5] bcm63158: add initial support Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox