Skip to content

Commit 0b8736f

Browse files
nboullispopcornmix
authored andcommitted
Implement a "wakeup-source" option for the i2c-rtc DeviceTree overlay.
See: #1511
1 parent fe51062 commit 0b8736f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,9 @@ Params: ds1307 Select the DS1307 device
445445

446446
trickle-resistor-ohms Resistor value for trickle charge (DS1339-only)
447447

448+
wakeup-source Specify that the RTC can be used as a wakeup
449+
source
450+
448451

449452
Name: i2c0-bcm2708
450453
Info: Enable the i2c_bcm2708 driver for the i2c0 bus. Not all pin combinations

arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,9 @@
6565
pcf8523 = <&pcf8523>,"status";
6666
pcf8563 = <&pcf8563>,"status";
6767
trickle-resistor-ohms = <&ds1339>,"trickle-resistor-ohms:0";
68+
wakeup-source = <&ds1339>,"wakeup-source?",
69+
<&ds3231>,"wakeup-source?",
70+
<&mcp7940x>,"wakeup-source?",
71+
<&mcp7941x>,"wakeup-source?";
6872
};
6973
};

0 commit comments

Comments
 (0)