Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Add DTS files for bcmbca SoC BCM63148

Add DTS for ARMv7 based broadband SoC BCM63148. bcm63148.dtsi is the SoC
description DTS header and bcm963148.dts is a simple DTS file for
Broadcom BCM963148 Reference board that only enable the UART port.

Signed-off-by: William Zhang <william.zhang@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

authored by

William Zhang and committed by
Florian Fainelli
03b7500f fa8f6698

+134
+1
arch/arm/boot/dts/Makefile
··· 183 183 bcm7445-bcm97445svmb.dtb 184 184 dtb-$(CONFIG_ARCH_BCMBCA) += \ 185 185 bcm947622.dtb \ 186 + bcm963148.dtb \ 186 187 bcm963178.dtb \ 187 188 bcm96756.dtb \ 188 189 bcm96846.dtb \
+103
arch/arm/boot/dts/bcm63148.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + /* 3 + * Copyright 2022 Broadcom Ltd. 4 + */ 5 + 6 + #include <dt-bindings/interrupt-controller/arm-gic.h> 7 + #include <dt-bindings/interrupt-controller/irq.h> 8 + 9 + / { 10 + compatible = "brcm,bcm63148", "brcm,bcmbca"; 11 + #address-cells = <1>; 12 + #size-cells = <1>; 13 + 14 + interrupt-parent = <&gic>; 15 + 16 + cpus { 17 + #address-cells = <1>; 18 + #size-cells = <0>; 19 + 20 + B15_0: cpu@0 { 21 + device_type = "cpu"; 22 + compatible = "brcm,brahma-b15"; 23 + reg = <0x0>; 24 + next-level-cache = <&L2_0>; 25 + enable-method = "psci"; 26 + }; 27 + 28 + B15_1: cpu@1 { 29 + device_type = "cpu"; 30 + compatible = "brcm,brahma-b15"; 31 + reg = <0x1>; 32 + next-level-cache = <&L2_0>; 33 + enable-method = "psci"; 34 + }; 35 + 36 + L2_0: l2-cache0 { 37 + compatible = "cache"; 38 + }; 39 + }; 40 + 41 + timer { 42 + compatible = "arm,armv7-timer"; 43 + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 44 + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 45 + <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 46 + <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; 47 + }; 48 + 49 + pmu: pmu { 50 + compatible = "arm,cortex-a15-pmu"; 51 + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 52 + <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 53 + interrupt-affinity = <&B15_0>, <&B15_1>; 54 + }; 55 + 56 + clocks: clocks { 57 + periph_clk: periph-clk { 58 + compatible = "fixed-clock"; 59 + #clock-cells = <0>; 60 + clock-frequency = <50000000>; 61 + }; 62 + }; 63 + 64 + psci { 65 + compatible = "arm,psci-0.2"; 66 + method = "smc"; 67 + }; 68 + 69 + axi@80030000 { 70 + compatible = "simple-bus"; 71 + #address-cells = <1>; 72 + #size-cells = <1>; 73 + ranges = <0 0x80030000 0x8000>; 74 + 75 + gic: interrupt-controller@1000 { 76 + compatible = "arm,cortex-a15-gic"; 77 + #interrupt-cells = <3>; 78 + interrupt-controller; 79 + reg = <0x1000 0x1000>, 80 + <0x2000 0x2000>, 81 + <0x4000 0x2000>, 82 + <0x6000 0x2000>; 83 + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | 84 + IRQ_TYPE_LEVEL_HIGH)>; 85 + }; 86 + }; 87 + 88 + bus@ff800000 { 89 + compatible = "simple-bus"; 90 + #address-cells = <1>; 91 + #size-cells = <1>; 92 + ranges = <0 0xfffe8000 0x8000>; 93 + 94 + uart0: serial@600 { 95 + compatible = "brcm,bcm6345-uart"; 96 + reg = <0x600 0x20>; 97 + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 98 + clocks = <&periph_clk>; 99 + clock-names = "refclk"; 100 + status = "disabled"; 101 + }; 102 + }; 103 + };
+30
arch/arm/boot/dts/bcm963148.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + /* 3 + * Copyright 2019 Broadcom Ltd. 4 + */ 5 + 6 + /dts-v1/; 7 + 8 + #include "bcm63148.dtsi" 9 + 10 + / { 11 + model = "Broadcom BCM963148 Reference Board"; 12 + compatible = "brcm,bcm963148", "brcm,bcm63148", "brcm,bcmbca"; 13 + 14 + aliases { 15 + serial0 = &uart0; 16 + }; 17 + 18 + chosen { 19 + stdout-path = "serial0:115200n8"; 20 + }; 21 + 22 + memory@0 { 23 + device_type = "memory"; 24 + reg = <0x0 0x08000000>; 25 + }; 26 + }; 27 + 28 + &uart0 { 29 + status = "okay"; 30 + };