Skip to contentSkip to conversation

arm-bsp/fvp-baser-aemv8r64: Fix PL011 and SP805 register sizes

PATCH Applied Peter Hoyes 2 participants 2 messages Jan 13, 2022 – Jan 14, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-bsp/fvp-baser-aemv8r64: Fix PL011 and SP805 register sizes

From: Peter Hoyes <[email protected]>

The Linux kernel expects the peripheral ID register to be just below the end of the address range, which for the PL011 and SP805 is at 0xFE0 not 0xFFE0, so set the size to 0x1000.

Issue-Id: SCM-3881

Change-Id Iada28e8192d72b1647822c33d13deffe507043b5
---
 .../files/fvp-baser-aemv8r64/fvp-baser-aemv8r64.dts    | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
meta-arm-bsp/recipes-kernel/linux/files/fvp-baser-aemv8r64/fvp-baser-aemv8r64.dts +5 -5
index dfc6f7e..4d6640a 100644
@@ -111,7 +111,7 @@
 
         uart@9c090000 {
                 compatible = "arm,pl011", "arm,primecell";
-                reg = <0x0 0x9c090000 0x0 0x10000>;
+                reg = <0x0 0x9c090000 0x0 0x1000>;
                 interrupts = <0x0 5 0x4>;
                 clocks = <&refclk24mhz>, <&refclk100mhz>;
                 clock-names = "uartclk", "apb_pclk";
@@ -119,7 +119,7 @@
 
         uart@9c0a0000 {
                 compatible = "arm,pl011", "arm,primecell";
-                reg = <0x0 0x9c0a0000 0x0 0x10000>;
+                reg = <0x0 0x9c0a0000 0x0 0x1000>;
                 interrupts = <0x0 6 0x4>;
                 clocks = <&refclk24mhz>, <&refclk100mhz>;
                 clock-names = "uartclk", "apb_pclk";
@@ -127,7 +127,7 @@
 
         uart@9c0b0000 {
                 compatible = "arm,pl011", "arm,primecell";
-                reg = <0x0 0x9c0b0000 0x0 0x10000>;
+                reg = <0x0 0x9c0b0000 0x0 0x1000>;
                 interrupts = <0x0 7 0x4>;
                 clocks = <&refclk24mhz>, <&refclk100mhz>;
                 clock-names = "uartclk", "apb_pclk";
@@ -135,7 +135,7 @@
 
         uart@9c0c0000 {
                 compatible = "arm,pl011", "arm,primecell";
-                reg = <0x0 0x9c0c0000 0x0 0x10000>;
+                reg = <0x0 0x9c0c0000 0x0 0x1000>;
                 interrupts = <0x0 8 0x4>;
                 clocks = <&refclk24mhz>, <&refclk100mhz>;
                 clock-names = "uartclk", "apb_pclk";
@@ -143,7 +143,7 @@
 
         wdt@9c0f0000 {
                 compatible = "arm,sp805", "arm,primecell";
-                reg = <0x0 0x9c0f0000 0x0 0x10000>;
+                reg = <0x0 0x9c0f0000 0x0 0x1000>;
                 interrupts = <0x0 0 0x4>;
                 clocks = <&refclk24mhz>, <&refclk100mhz>;
                 clock-names = "wdog_clk", "apb_pclk";
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 3 lines · Peter Hoyes

The Linux kernel expects the peripheral ID register to be just below the end of the address range, which for the PL011 and SP805 is at 0xFE0 not 0xFFE0, so set the size to 0x1000.

Applied, thanks!

[1/1] arm-bsp/fvp-baser-aemv8r64: Fix PL011 and SP805 register sizes

      commit: 3d38ee3e1106d18b3ba6a0cf0925718149cd7f05

Best regards,

Signature · 1 line
Jon Mason <[email protected]>