From 8876f89640d3386822025f42b60b1ff9dd679123 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 6 Mar 2020 21:52:21 +0100 Subject: ARM: socfpga: Enable DM RTC bootcount on ABB SECU1 Add and enable RTC-backed boot counter on ABB SECU1 platform. Signed-off-by: Marek Vasut Cc: Ley Foon Tan Cc: Simon Goldschmidt Reviewed-by: Ley Foon Tan --- arch/arm/dts/socfpga_arria5_secu1.dts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/arm/dts/socfpga_arria5_secu1.dts') diff --git a/arch/arm/dts/socfpga_arria5_secu1.dts b/arch/arm/dts/socfpga_arria5_secu1.dts index dadf766682..820e29ad6d 100644 --- a/arch/arm/dts/socfpga_arria5_secu1.dts +++ b/arch/arm/dts/socfpga_arria5_secu1.dts @@ -31,6 +31,12 @@ spi0 = &spi1; }; + bootcount@0 { + compatible = "u-boot,bootcount-rtc"; + rtc = <&rtc>; + offset = <0x9e>; + }; + i2c_gpio: i2c@0 { compatible = "i2c-gpio"; #address-cells = <1>; -- cgit