]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: sun8i: h3: Fix the system-control register range
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Wed, 5 Dec 2018 09:24:30 +0000 (10:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:52:27 +0000 (08:52 +0100)
[ Upstream commit 925c5afd78c40169c7e0e6adec52d5119ff43751 ]

Unlike in previous generations, the system-control register range is not
limited to a size of 0x30 on the H3. In particular, the EMAC clock
configuration register (accessed through syscon) is at offset 0x30 in
that range.

Extend the register size to its full range (0x1000) as a result.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/sun8i-h3.dtsi

index 97de6ad133dc2813e6830e54f44b2a4b5bd8d76f..9233ba30a857c7b2f77da960da00aab19b0eaff2 100644 (file)
        soc {
                system-control@1c00000 {
                        compatible = "allwinner,sun8i-h3-system-control";
-                       reg = <0x01c00000 0x30>;
+                       reg = <0x01c00000 0x1000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges;