Message ID | 20241031070232.1793078-3-masterr3c0rd@epochal.quest (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | sunxi: A100/A133 second stage support | expand |
On 10/31/24 12:32 PM, Cody Eksal wrote: > From: Yangtao Li <frank@allwinnertech.com> > > Declare A100's watchdog in the device-tree. > > Signed-off-by: Yangtao Li <frank@allwinnertech.com> > Reviewed-by: Andre Przywara <andre.przywara@arm.com> > Signed-off-by: Cody Eksal <masterr3c0rd@epochal.quest> Tested-by: Parthiban Nallathambi <parthiban@linumiz.com> Thanks, Parthiban > --- > arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi > index 1eca7c220ede..adb11b26045f 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi > @@ -144,6 +144,14 @@ ths_calibration: calib@14 { > }; > }; > > + watchdog@30090a0 { > + compatible = "allwinner,sun50i-a100-wdt", > + "allwinner,sun6i-a31-wdt"; > + reg = <0x030090a0 0x20>; > + interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&dcxo24M>; > + }; > + > pio: pinctrl@300b000 { > compatible = "allwinner,sun50i-a100-pinctrl"; > reg = <0x0300b000 0x400>;
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi index 1eca7c220ede..adb11b26045f 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi @@ -144,6 +144,14 @@ ths_calibration: calib@14 { }; }; + watchdog@30090a0 { + compatible = "allwinner,sun50i-a100-wdt", + "allwinner,sun6i-a31-wdt"; + reg = <0x030090a0 0x20>; + interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&dcxo24M>; + }; + pio: pinctrl@300b000 { compatible = "allwinner,sun50i-a100-pinctrl"; reg = <0x0300b000 0x400>;