]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: bcm2711: PL011 UARTs are actually r1p5
authorPhil Elwell <phil@raspberrypi.com>
Sun, 23 Feb 2025 12:56:13 +0000 (13:56 +0100)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Tue, 25 Feb 2025 19:18:41 +0000 (11:18 -0800)
The ARM PL011 UART instances in BCM2711 are r1p5 spec, which means they
have 32-entry FIFOs. The correct periphid value for this is 0x00341011.
Thanks to N Buchwitz for pointing this out.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20250223125614.3592-2-wahrenst@gmx.net
Fixes: 7dbe8c62ceeb ("ARM: dts: Add minimal Raspberry Pi 4 support")
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
arch/arm/boot/dts/broadcom/bcm2711.dtsi

index 5eaec6c6a1df35e39a1d642bafa6a123bb2711d5..4fd0732a34d321c75801377d80b583ad0b36f30f 100644 (file)
                        clocks = <&clocks BCM2835_CLOCK_UART>,
                                 <&clocks BCM2835_CLOCK_VPU>;
                        clock-names = "uartclk", "apb_pclk";
-                       arm,primecell-periphid = <0x00241011>;
+                       arm,primecell-periphid = <0x00341011>;
                        status = "disabled";
                };
 
                        clocks = <&clocks BCM2835_CLOCK_UART>,
                                 <&clocks BCM2835_CLOCK_VPU>;
                        clock-names = "uartclk", "apb_pclk";
-                       arm,primecell-periphid = <0x00241011>;
+                       arm,primecell-periphid = <0x00341011>;
                        status = "disabled";
                };
 
                        clocks = <&clocks BCM2835_CLOCK_UART>,
                                 <&clocks BCM2835_CLOCK_VPU>;
                        clock-names = "uartclk", "apb_pclk";
-                       arm,primecell-periphid = <0x00241011>;
+                       arm,primecell-periphid = <0x00341011>;
                        status = "disabled";
                };
 
                        clocks = <&clocks BCM2835_CLOCK_UART>,
                                 <&clocks BCM2835_CLOCK_VPU>;
                        clock-names = "uartclk", "apb_pclk";
-                       arm,primecell-periphid = <0x00241011>;
+                       arm,primecell-periphid = <0x00341011>;
                        status = "disabled";
                };
 
 };
 
 &uart0 {
+       arm,primecell-periphid = <0x00341011>;
        interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
 };