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)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 5 Dec 2018 10:50:05 +0000 (11:50 +0100)
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>
arch/arm/boot/dts/sun8i-h3.dtsi

index 3ecfabb..45242df 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;