Skip to content

Commit

Permalink
BCM270X_DT: Add DS1339 to i2c-rtc overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
nboullis authored and Phil Elwell committed Mar 24, 2016
1 parent 09e64d4 commit 6ec2115
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ Info: Adds support for a number of I2C Real Time Clock devices
Load: dtoverlay=i2c-rtc,<param>=<val>
Params: ds1307 Select the DS1307 device

ds1339 Select the DS1339 device

ds3231 Select the DS3231 device

mcp7941x Select the MCP7941x device
Expand All @@ -381,6 +383,8 @@ Params: ds1307 Select the DS1307 device

pcf8563 Select the PCF8563 device

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


Name: i2c0-bcm2708
Info: Enable the i2c_bcm2708 driver for the i2c0 bus
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
reg = <0x68>;
status = "disable";
};
ds1339: ds1339@68 {
compatible = "dallas,ds1339";
trickle-resistor-ohms = <0>;
reg = <0x68>;
status = "disable";
};
mcp7941x: mcp7941x@6f {
compatible = "microchip,mcp7941x";
reg = <0x6f>;
Expand Down Expand Up @@ -46,10 +52,12 @@
};
__overrides__ {
ds1307 = <&ds1307>,"status";
ds1339 = <&ds1339>,"status";
ds3231 = <&ds3231>,"status";
mcp7941x = <&mcp7941x>,"status";
pcf2127 = <&pcf2127>,"status";
pcf8523 = <&pcf8523>,"status";
pcf8563 = <&pcf8563>,"status";
trickle-resistor-ohms = <&ds1339>,"trickle-resistor-ohms:0";
};
};

0 comments on commit 6ec2115

Please sign in to comment.