mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ARM: dts: msm8974-FP2: add reboot-mode node
This enables userspace to signal the bootloader to go into the bootloader or recovery mode. The magic values can be found in both the downstream kernel and the LK kernel (bootloader). Reviewed-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
27fe0fc05f
commit
b5273951ba
@ -338,6 +338,16 @@ phy@a {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
imem@fe805000 {
|
||||
status = "okay";
|
||||
|
||||
reboot-mode {
|
||||
mode-normal = <0x77665501>;
|
||||
mode-bootloader = <0x77665500>;
|
||||
mode-recovery = <0x77665502>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spmi_bus {
|
||||
|
@ -1217,6 +1217,17 @@ dsi_phy0: dsi-phy@fd922a00 {
|
||||
clock-names = "iface";
|
||||
};
|
||||
};
|
||||
|
||||
imem@fe805000 {
|
||||
status = "disabled";
|
||||
compatible = "syscon", "simple-mfd";
|
||||
reg = <0xfe805000 0x1000>;
|
||||
|
||||
reboot-mode {
|
||||
compatible = "syscon-reboot-mode";
|
||||
offset = <0x65c>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
smd {
|
||||
|
Loading…
Reference in New Issue
Block a user