]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: r8a7794: Correct SCIFB reg properties to cover all registers
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 19 Sep 2016 14:18:56 +0000 (16:18 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 4 Nov 2016 09:36:07 +0000 (10:36 +0100)
Several SCIFB registers reside outside the reported register ranges.
Fortunately this works (on Linux), due to the PAGE_SIZE granularity of
ioremap().

Extend the sizes from 64 to 0x100 bytes to fix this, like is done on
SH/R-Mobile SoCs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7794.dtsi

index 57e0d27cb82e8eec25dc166bd270533642f56bd2..8cfc1385f58a32534f2c0531fe9786fb9fcd6068 100644 (file)
@@ -411,7 +411,7 @@ scifa5: serial@e6c80000 {
        scifb0: serial@e6c20000 {
                compatible = "renesas,scifb-r8a7794",
                             "renesas,rcar-gen2-scifb", "renesas,scifb";
-               reg = <0 0xe6c20000 0 64>;
+               reg = <0 0xe6c20000 0 0x100>;
                interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7794_CLK_SCIFB0>;
                clock-names = "fck";
@@ -425,7 +425,7 @@ scifb0: serial@e6c20000 {
        scifb1: serial@e6c30000 {
                compatible = "renesas,scifb-r8a7794",
                             "renesas,rcar-gen2-scifb", "renesas,scifb";
-               reg = <0 0xe6c30000 0 64>;
+               reg = <0 0xe6c30000 0 0x100>;
                interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7794_CLK_SCIFB1>;
                clock-names = "fck";
@@ -439,7 +439,7 @@ scifb1: serial@e6c30000 {
        scifb2: serial@e6ce0000 {
                compatible = "renesas,scifb-r8a7794",
                             "renesas,rcar-gen2-scifb", "renesas,scifb";
-               reg = <0 0xe6ce0000 0 64>;
+               reg = <0 0xe6ce0000 0 0x100>;
                interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7794_CLK_SCIFB2>;
                clock-names = "fck";