bcm53xx: backport uart2 and pcie2 device-nodes
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-5.4 / 034-v5.10-ARM-dts-BCM5301X-Specify-uart2-in-the-DT.patch
1 From 5e396bb05b89e23e98e6d75749b77502e68210a4 Mon Sep 17 00:00:00 2001
2 From: Christian Lamparter <chunkeey@gmail.com>
3 Date: Sat, 22 Aug 2020 18:19:20 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Specify uart2 in the DT
5
6 The BCM53016 in the Meraki MR32 utilizes the third "uart2"
7 to connect to a on-board Bluetooth-LE 4.0 BCM20732 chip.
8
9 Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
10 Reviewed-by: Scott Branden <scott.branden@broadcom.com>
11 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
12
13 --- a/arch/arm/boot/dts/bcm5301x.dtsi
14 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
15 @@ -392,6 +392,15 @@
16 reg = <0x18105000 0x1000>;
17 };
18
19 + uart2: serial@18008000 {
20 + compatible = "ns16550a";
21 + reg = <0x18008000 0x20>;
22 + clocks = <&iprocslow>;
23 + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
24 + reg-shift = <2>;
25 + status = "disabled";
26 + };
27 +
28 i2c0: i2c@18009000 {
29 compatible = "brcm,iproc-i2c";
30 reg = <0x18009000 0x50>;