msudagoni
Posts: 1
Joined: Thu Feb 01, 2024 2:27 pm

RP5 vs RP4 UART address was different in dtb file

Thu Feb 01, 2024 2:33 pm

hi All,

while working with RP5(raspberry 5) board, checked the device tree UART address are different from RP4.

RP5 device tree address:


uart2: serial@7d001400 {
compatible = "arm,pl011", "arm,primecell";
reg = <0x7d001400 0x200>;
interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_uart>,
<&clk_vpu>;
clock-names = "uartclk", "apb_pclk";
arm,primecell-periphid = <0x00241011>;
status = "disabled";
};


https://github.com/raspberrypi/linux/bl ... m2712.dtsi



uart2: serial@7e201400 {
compatible = "arm,pl011", "arm,primecell";
reg = <0x7e201400 0x200>;
interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clocks BCM2835_CLOCK_UART>,
<&clocks BCM2835_CLOCK_VPU>;
clock-names = "uartclk", "apb_pclk";
arm,primecell-periphid = <0x00241011>;
status = "disabled";
};

https://github.com/raspberrypi/linux/bl ... m2711.dtsi

the base address are different. Is there any new data sheet for BCM 2712?

can you please suggest.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5805
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: RP5 vs RP4 UART address was different in dtb file

Wed Feb 14, 2024 2:43 pm

I doubt you'll get more than the DTB and the associated Linux drivers. The user-accessible GPIOs are on RP1 which is documented, and the rest is fairly boring.

Return to “Device Tree”