Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions arch/arm64/boot/dts/apple/t6031-die0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@
#size-cells = <0>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 0 723 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <2>;

pmic1: pmic@b {
compatible = "apple,chapel-pmic", "apple,spmi-nvmem";
Expand All @@ -251,10 +253,22 @@
#address-cells = <1>;
#size-cells = <1>;

rtc_ctrl: rtc-ctrl@2000 {
reg = <0x2000 0x1>;
};

pm_setting: pm-setting@2001 {
reg = <0x2001 0x1>;
};

rtc_alarm: rtc-alarm@2008 {
reg = <0x2008 0x4>;
};

rtc_alarm_mask: rtc-alarm-mask@200e {
reg = <0x200e 0x1>;
};

rtc_offset: rtc-offset@2100 {
reg = <0x2100 0x6>;
};
Expand Down Expand Up @@ -365,8 +379,13 @@

rtc {
compatible = "apple,smc-rtc";
nvmem-cells = <&rtc_offset>;
nvmem-cell-names = "rtc_offset";
nvmem-cells = <&rtc_offset>, <&rtc_ctrl>, <&rtc_alarm>,
<&rtc_alarm_mask>;
nvmem-cell-names = "rtc_offset", "rtc_ctrl", "rtc_alarm",
"rtc_alarm_mask";
/* The PMIC's RTC alarm, peripheral interrupt 2 of nub-spmi0 */
interrupts-extended = <&nub_spmi 2 IRQ_TYPE_EDGE_RISING>;
wakeup-source;
};
};

Expand Down