Skip to content

Commit

Permalink
device-tree: nexus7: Add IMEM syscon and reboot reason support
Browse files Browse the repository at this point in the history
This patch add the IMEM syscon memory region to the DT,
as well as addds support for the magic reboot reason
values that are written to the address for each mode.

Cc: Rob Herring <[email protected]>
Cc: Andy Gross <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: John Stultz <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Andy Gross <[email protected]>
  • Loading branch information
johnstultz-work authored and Andy Gross committed Aug 24, 2016
1 parent dcf5907 commit c03a4b2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
Original file line number Diff line number Diff line change
Expand Up @@ -273,5 +273,19 @@
vqmmc-supply = <&pm8921_s4>;
};
};

imem@2a03f000 {
compatible = "syscon", "simple-mfd";
reg = <0x2a03f000 0x1000>;

reboot-mode {
compatible = "syscon-reboot-mode";
offset = <0x65c>;

mode-normal = <0x77665501>;
mode-bootloader = <0x77665500>;
mode-recovery = <0x77665502>;
};
};
};
};

0 comments on commit c03a4b2

Please sign in to comment.