diff options
author | Michal Wilczynski <m.wilczynski@samsung.com> | 2024-10-14 10:34:28 +0200 |
---|---|---|
committer | Michal Wilczynski <m.wilczynski@samsung.com> | 2024-10-14 10:48:28 +0200 |
commit | d55fbd25f95201a492b0a320432b39d7a66f6b87 (patch) | |
tree | b5a78184dcfbd84332c5bebd4d7fdf48661acdc8 | |
parent | 81096bf0ba79bf042ff3824b4891e283b869c8fb (diff) | |
download | linux-thead-d55fbd25f95201a492b0a320432b39d7a66f6b87.tar.gz linux-thead-d55fbd25f95201a492b0a320432b39d7a66f6b87.tar.bz2 linux-thead-d55fbd25f95201a492b0a320432b39d7a66f6b87.zip |
riscv: dts: thead: Enable light_event and dependent nodes
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>
-rw-r--r-- | arch/riscv/boot/dts/thead/th1520.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index f8b217eb9e23..0f30927fc7a4 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -32,6 +32,10 @@ }; }; + aon_iram: aon-iram@ffffef8000 { + compatible = "syscon"; + reg = <0xff 0xffef8000 0x0 0x10000>; + }; cpus: cpus { #address-cells = <1>; @@ -1164,5 +1168,11 @@ status = "okay"; }; }; + + light_event: light-event { + compatible = "thead,light-event"; + aon-iram-regmap = <&aon_iram>; + status = "okay"; + }; }; }; |