Skip to content

Commit 4292d18

Browse files
andredkrzk
authored andcommitted
arm64: dts: exynos: gs101-pixel-common: add nvmem-reboot-mode
Add the 'nvmem-reboot-mode' which is used to communicate a requested boot mode to the boot loader. Signed-off-by: André Draszik <[email protected]> Reviewed-by: Peter Griffin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 8deaddf commit 4292d18

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,21 @@
6060
};
6161
};
6262

63+
reboot-mode {
64+
compatible = "nvmem-reboot-mode";
65+
nvmem-cells = <&nvmem_reboot_mode>;
66+
nvmem-cell-names = "reboot-mode";
67+
mode-bootloader = <0x800000fc>;
68+
mode-charge = <0x8000000a>;
69+
mode-dm-verity-device-corrupted = <0x80000050>;
70+
mode-fastboot = <0x800000fa>;
71+
mode-reboot-ab-update = <0x80000052>;
72+
mode-recovery = <0x800000ff>;
73+
mode-rescue = <0x800000f9>;
74+
mode-shutdown-thermal = <0x80000051>;
75+
mode-shutdown-thermal-battery = <0x80000051>;
76+
};
77+
6378
/* TODO: Remove this once PMIC is implemented */
6479
reg_placeholder: regulator-0 {
6580
compatible = "regulator-fixed";
@@ -224,7 +239,7 @@
224239
#address-cells = <1>;
225240
#size-cells = <1>;
226241

227-
reboot-mode@0 {
242+
nvmem_reboot_mode: reboot-mode@0 {
228243
reg = <0x0 0x4>;
229244
};
230245

0 commit comments

Comments
 (0)