1 From 64eca7ad058cff861b48cdead8dee40dfc284e9e Mon Sep 17 00:00:00 2001
2 From: William Zhang <william.zhang@broadcom.com>
3 Date: Wed, 8 Jun 2022 11:04:36 -0700
4 Subject: [PATCH] arm64: dts: Add DTS files for bcmbca SoC BCM6856
6 Add DTS for ARMv8 based broadband SoC BCM6856. bcm6856.dtsi is the
7 SoC description DTS header and bcm96856.dts is a simple DTS file for
8 Broadcom BCM96956 Reference board that only enable the UART port.
10 Signed-off-by: William Zhang <william.zhang@broadcom.com>
11 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
13 arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 3 +-
14 .../boot/dts/broadcom/bcmbca/bcm6856.dtsi | 103 ++++++++++++++++++
15 .../boot/dts/broadcom/bcmbca/bcm96856.dts | 30 +++++
16 3 files changed, 135 insertions(+), 1 deletion(-)
17 create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm6856.dtsi
18 create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm96856.dts
20 --- a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
21 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
22 @@ -8,4 +8,5 @@ dtb-$(CONFIG_ARCH_BCMBCA) += \
30 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm6856.dtsi
32 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
34 + * Copyright 2022 Broadcom Ltd.
37 +#include <dt-bindings/interrupt-controller/irq.h>
38 +#include <dt-bindings/interrupt-controller/arm-gic.h>
41 + compatible = "brcm,bcm6856", "brcm,bcmbca";
42 + #address-cells = <2>;
45 + interrupt-parent = <&gic>;
48 + #address-cells = <2>;
52 + compatible = "brcm,brahma-b53";
53 + device_type = "cpu";
55 + next-level-cache = <&L2_0>;
56 + enable-method = "psci";
60 + compatible = "brcm,brahma-b53";
61 + device_type = "cpu";
63 + next-level-cache = <&L2_0>;
64 + enable-method = "psci";
68 + compatible = "cache";
73 + compatible = "arm,armv8-timer";
74 + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
75 + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
76 + <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
77 + <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
81 + compatible = "arm,cortex-a53-pmu";
82 + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
83 + <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
84 + interrupt-affinity = <&B53_0>, <&B53_1>;
88 + periph_clk:periph-clk {
89 + compatible = "fixed-clock";
91 + clock-frequency = <200000000>;
96 + compatible = "arm,psci-0.2";
101 + compatible = "simple-bus";
102 + #address-cells = <1>;
104 + ranges = <0x0 0x0 0x81000000 0x8000>;
106 + gic: interrupt-controller@1000 {
107 + compatible = "arm,gic-400";
108 + #interrupt-cells = <3>;
109 + interrupt-controller;
110 + reg = <0x1000 0x1000>, /* GICD */
111 + <0x2000 0x2000>, /* GICC */
112 + <0x4000 0x2000>, /* GICH */
113 + <0x6000 0x2000>; /* GICV */
114 + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) |
115 + IRQ_TYPE_LEVEL_HIGH)>;
120 + compatible = "simple-bus";
121 + #address-cells = <1>;
123 + ranges = <0x0 0x0 0xff800000 0x800000>;
125 + uart0: serial@640 {
126 + compatible = "brcm,bcm6345-uart";
127 + reg = <0x640 0x18>;
128 + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
129 + clocks = <&periph_clk>;
130 + clock-names = "refclk";
131 + status = "disabled";
136 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm96856.dts
138 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
140 + * Copyright 2022 Broadcom Ltd.
145 +#include "bcm6856.dtsi"
148 + model = "Broadcom BCM96856 Reference Board";
149 + compatible = "brcm,bcm96856", "brcm,bcm6856", "brcm,bcmbca";
156 + stdout-path = "serial0:115200n8";
160 + device_type = "memory";
161 + reg = <0x0 0x0 0x0 0x08000000>;