1 From 82a58061ada60058ec00113c179380f945914709 Mon Sep 17 00:00:00 2001
2 From: William Zhang <william.zhang@broadcom.com>
3 Date: Wed, 8 Jun 2022 11:00:59 -0700
4 Subject: [PATCH] arm64: dts: Add DTS files for bcmbca SoC BCM63146
6 Add DTS for ARMv8 based broadband SoC BCM63146. bcm63146.dtsi is the
7 SoC description DTS header and bcm963146.dts is a simple DTS file for
8 Broadcom BCM963146 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/bcm63146.dtsi | 110 ++++++++++++++++++
15 .../boot/dts/broadcom/bcmbca/bcm963146.dts | 30 +++++
16 3 files changed, 142 insertions(+), 1 deletion(-)
17 create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm63146.dtsi
18 create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm963146.dts
20 --- a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
21 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
22 @@ -7,4 +7,5 @@ dtb-$(CONFIG_ARCH_BCMBCA) += \
23 bcm4912-asus-gt-ax6000.dtb \
30 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm63146.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,bcm63146", "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 7 IRQ_TYPE_LEVEL_HIGH>,
83 + <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
84 + interrupt-affinity = <&B53_0>, <&B53_1>;
88 + periph_clk: periph-clk {
89 + compatible = "fixed-clock";
91 + clock-frequency = <200000000>;
93 + uart_clk: uart-clk {
94 + compatible = "fixed-factor-clock";
96 + clocks = <&periph_clk>;
103 + compatible = "arm,psci-0.2";
108 + compatible = "simple-bus";
109 + #address-cells = <1>;
111 + ranges = <0x0 0x0 0x81000000 0x8000>;
113 + gic: interrupt-controller@1000 {
114 + compatible = "arm,gic-400";
115 + #interrupt-cells = <3>;
116 + interrupt-controller;
117 + reg = <0x1000 0x1000>,
121 + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) |
122 + IRQ_TYPE_LEVEL_HIGH)>;
127 + compatible = "simple-bus";
128 + #address-cells = <1>;
130 + ranges = <0x0 0x0 0xff800000 0x800000>;
132 + uart0: serial@12000 {
133 + compatible = "arm,pl011", "arm,primecell";
134 + reg = <0x12000 0x1000>;
135 + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
136 + clocks = <&uart_clk>, <&uart_clk>;
137 + clock-names = "uartclk", "apb_pclk";
138 + status = "disabled";
143 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm963146.dts
145 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
147 + * Copyright 2022 Broadcom Ltd.
152 +#include "bcm63146.dtsi"
155 + model = "Broadcom BCM963146 Reference Board";
156 + compatible = "brcm,bcm963146", "brcm,bcm63146", "brcm,bcmbca";
163 + stdout-path = "serial0:115200n8";
167 + device_type = "memory";
168 + reg = <0x0 0x0 0x0 0x08000000>;