Light event device tree node is required for the 'reboot' feature to
work, as the driver function gets called by the watchdog. Enable it in
the device tree to get the driver initialized properly. Add aon_iram
dependent node as well. Ported from vendor kernel [1].
[1] https://gitee.com/thead-yocto/kernel.git
Change-Id: Id77c4901a2a77146d0f26e31769221a1cf5ca853
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
};
};
+ aon_iram: aon-iram@ffffef8000 {
+ compatible = "syscon";
+ reg = <0xff 0xffef8000 0x0 0x10000>;
+ };
cpus: cpus {
#address-cells = <1>;
status = "okay";
};
};
+
+ light_event: light-event {
+ compatible = "thead,light-event";
+ aon-iram-regmap = <&aon_iram>;
+ status = "okay";
+ };
};
};