ARM: dts: meson8: add the reset controller
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 21 Jan 2018 22:14:13 +0000 (23:14 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 12 Feb 2018 22:13:36 +0000 (14:13 -0800)
Meson8 uses the same reset controller as Meson8b. Add the node along
with the #include for the reset lines to meson8.dtsi so we can use it
from there as well.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/meson8.dtsi

index d2e3eeaa1a5fe3b292c22af440fdd752fb3b07e9..f48e89a7f7b493ae6a5cff382af2621b30efb45d 100644 (file)
@@ -46,6 +46,7 @@
 #include <dt-bindings/clock/meson8b-clkc.h>
 #include <dt-bindings/gpio/meson8-gpio.h>
 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
+#include <dt-bindings/reset/amlogic,meson8b-reset.h>
 #include "meson.dtsi"
 
 / {
                reg = <0x8000 0x4>, <0x4000 0x460>;
        };
 
+       reset: reset-controller@4404 {
+               compatible = "amlogic,meson8b-reset";
+               reg = <0x4404 0x9c>;
+               #reset-cells = <1>;
+       };
+
        analog_top: analog-top@81a8 {
                compatible = "amlogic,meson8-analog-top", "syscon";
                reg = <0x81a8 0x14>;