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

ARM: dts: bcm63148: Add BCMBCA peripherals

All the BCMBCA SoCs share a set of peripherals at 0xff800000,
albeit at slightly varying memory locations on the bus and
with varying IRQ assignments.

Add the GPIO, RNG and LED and DMA blocks for the
BCM63148 based on the vendor files 63148_map_part.h and
63148_intr.h from the "bcmopen-consumer" code drop.

This SoC has up to 160 possible GPIOs due to having 5
registers with 32 GPIOs in each available.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: William Zhang <william.zhang@broadcom.com>
Link: https://lore.kernel.org/r/20250512-bcmbca-peripherals-arm-v3-7-86f97ab4326f@linaro.org
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>

authored by

Linus Walleij and committed by
Florian Fainelli
ec8ed347 b7907e00

+64
+64
arch/arm/boot/dts/broadcom/bcm63148.dtsi
··· 99 99 #size-cells = <1>; 100 100 ranges = <0 0xfffe8000 0x8000>; 101 101 102 + /* GPIOs 0 .. 31 */ 103 + gpio0: gpio@100 { 104 + compatible = "brcm,bcm6345-gpio"; 105 + reg = <0x100 0x04>, <0x114 0x04>; 106 + reg-names = "dirout", "dat"; 107 + gpio-controller; 108 + #gpio-cells = <2>; 109 + status = "disabled"; 110 + }; 111 + 112 + /* GPIOs 32 .. 63 */ 113 + gpio1: gpio@104 { 114 + compatible = "brcm,bcm6345-gpio"; 115 + reg = <0x104 0x04>, <0x118 0x04>; 116 + reg-names = "dirout", "dat"; 117 + gpio-controller; 118 + #gpio-cells = <2>; 119 + status = "disabled"; 120 + }; 121 + 122 + /* GPIOs 64 .. 95 */ 123 + gpio2: gpio@108 { 124 + compatible = "brcm,bcm6345-gpio"; 125 + reg = <0x108 0x04>, <0x11c 0x04>; 126 + reg-names = "dirout", "dat"; 127 + gpio-controller; 128 + #gpio-cells = <2>; 129 + status = "disabled"; 130 + }; 131 + 132 + /* GPIOs 96 .. 127 */ 133 + gpio3: gpio@10c { 134 + compatible = "brcm,bcm6345-gpio"; 135 + reg = <0x10c 0x04>, <0x120 0x04>; 136 + reg-names = "dirout", "dat"; 137 + gpio-controller; 138 + #gpio-cells = <2>; 139 + status = "disabled"; 140 + }; 141 + 142 + /* GPIOs 128 .. 159 */ 143 + gpio4: gpio@110 { 144 + compatible = "brcm,bcm6345-gpio"; 145 + reg = <0x110 0x04>, <0x124 0x04>; 146 + reg-names = "dirout", "dat"; 147 + gpio-controller; 148 + #gpio-cells = <2>; 149 + status = "disabled"; 150 + }; 151 + 152 + rng@300 { 153 + compatible = "brcm,iproc-rng200"; 154 + reg = <0x300 0x28>; 155 + interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; 156 + }; 157 + 102 158 uart0: serial@600 { 103 159 compatible = "brcm,bcm6345-uart"; 104 160 reg = <0x600 0x20>; 105 161 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 106 162 clocks = <&periph_clk>; 107 163 clock-names = "refclk"; 164 + status = "disabled"; 165 + }; 166 + 167 + leds: led-controller@700 { 168 + #address-cells = <1>; 169 + #size-cells = <0>; 170 + compatible = "brcm,bcm63138-leds"; 171 + reg = <0x700 0xdc>; 108 172 status = "disabled"; 109 173 }; 110 174