Replace reset controller indices with constants. Signed-off-by: Andreas Färber <afaerber@xxxxxxx> --- v2: New arch/arm/boot/dts/rtd1195.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi index e2cdcbcf70f4..9ccf8fa04718 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -13,6 +13,7 @@ /memreserve/ 0x18100000 0x01000000; /* nor */ #include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/reset/realtek,rtd1195.h> / { compatible = "realtek,rtd1195"; @@ -128,7 +129,7 @@ reg = <0x18007800 0x400>; reg-shift = <2>; reg-io-width = <4>; - resets = <&iso_reset 8>; + resets = <&iso_reset RTD1195_ISO_RSTN_UR0>; clock-frequency = <27000000>; status = "disabled"; }; @@ -138,7 +139,7 @@ reg = <0x1801b200 0x100>; reg-shift = <2>; reg-io-width = <4>; - resets = <&reset2 28>; + resets = <&reset2 RTD1195_RSTN_UR1>; clock-frequency = <27000000>; status = "disabled"; }; -- 2.16.4