LinuxTV Patchwork [v2,01/15] ARM: dts: sun8i: h3: Fix the system-control register range

login
register
mail settings
Submitter Paul Kocialkowski
Date Dec. 5, 2018, 9:24 a.m.
Message ID <20181205092444.29497-2-paul.kocialkowski@bootlin.com>
Download mbox | patch
Permalink /patch/53303/
State Not Applicable
Delegated to: Hans Verkuil
Headers show

Comments

Paul Kocialkowski - Dec. 5, 2018, 9:24 a.m.
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>
---
 arch/arm/boot/dts/sun8i-h3.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index c2da3a3d373a..dbb7e71b6d69 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -136,7 +136,7 @@ 
 	soc {
 		system-control@1c00000 {
 			compatible = "allwinner,sun8i-h3-system-control";
-			reg = <0x01c00000 0x30>;
+			reg = <0x01c00000 0x1000>;
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges;

Privacy Policy