diff options
author | Pali Rohár <pali@kernel.org> | 2022-02-14 11:34:25 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-02-17 14:17:07 +0100 |
commit | 0c4625ac7dab5048b588d55e43ace109246df932 (patch) | |
tree | 6a33541d598dcbbeaaef8c68890d815229e3d44c /arch/arm/dts/armada-37xx.dtsi | |
parent | af6d0938f3033b7a93980427cd324658d64d3eb1 (diff) | |
download | u-boot-0c4625ac7dab5048b588d55e43ace109246df932.tar.gz |
watchdog: armada_37xx: Convert to official DT bindings
Official DT bindings have only one reg property: watchdog address space.
Convert armada-37xx-wdt.c driver to offical DT bindings and access sel_reg
register via MVEBU_REGISTER() macro, as its value (required by U-Boot
driver) is not in DT yet. In later stage can be driver cleaned to not use
it.
This change would allow U-Boot to use A3720 watchdog DTS structure from
Linux kernel.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/dts/armada-37xx.dtsi')
-rw-r--r-- | arch/arm/dts/armada-37xx.dtsi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/dts/armada-37xx.dtsi b/arch/arm/dts/armada-37xx.dtsi index a427d9cf62..4c686c380c 100644 --- a/arch/arm/dts/armada-37xx.dtsi +++ b/arch/arm/dts/armada-37xx.dtsi @@ -109,8 +109,7 @@ wdt: watchdog-timer@8300 { compatible = "marvell,armada-3700-wdt"; - reg = <0xd064 0x4>, - <0x8300 0x40>; + reg = <0x8300 0x40>; }; nb_periph_clk: nb-periph-clk@13000 { |