提交 d0f1c224 编写于 作者: P Phil Elwell 提交者: Zheng Zengkai

overlays: i2c-rtc: Add the Dallas DS1340

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

See: https://github.com/raspberrypi/linux/issues/4180Signed-off-by: NPhil Elwell <phil@raspberrypi.com>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 efa98696
...@@ -1311,6 +1311,8 @@ Params: abx80x Select one of the ABx80x family: ...@@ -1311,6 +1311,8 @@ Params: abx80x Select one of the ABx80x family:
ds1339 Select the DS1339 device ds1339 Select the DS1339 device
ds1340 Select the DS1340 device
ds3231 Select the DS3231 device ds3231 Select the DS3231 device
m41t62 Select the M41T62 device m41t62 Select the M41T62 device
......
...@@ -231,6 +231,20 @@ ...@@ -231,6 +231,20 @@
}; };
}; };
fragment@17 {
target = <&i2cbus>;
__dormant__ {
#address-cells = <1>;
#size-cells = <0>;
ds1340: ds1340@68 {
compatible = "dallas,ds1340";
trickle-resistor-ohms = <0>;
reg = <0x68>;
};
};
};
frag100: fragment@100 { frag100: fragment@100 {
target = <&i2c_arm>; target = <&i2c_arm>;
i2cbus: __overlay__ { i2cbus: __overlay__ {
...@@ -242,6 +256,7 @@ ...@@ -242,6 +256,7 @@
abx80x = <0>,"+0"; abx80x = <0>,"+0";
ds1307 = <0>,"+1"; ds1307 = <0>,"+1";
ds1339 = <0>,"+2"; ds1339 = <0>,"+2";
ds1340 = <0>,"+17";
ds3231 = <0>,"+3"; ds3231 = <0>,"+3";
mcp7940x = <0>,"+4"; mcp7940x = <0>,"+4";
mcp7941x = <0>,"+5"; mcp7941x = <0>,"+5";
...@@ -273,6 +288,7 @@ ...@@ -273,6 +288,7 @@
trickle-diode-type = <&abx80x>,"abracon,tc-diode", trickle-diode-type = <&abx80x>,"abracon,tc-diode",
<&rv1805>,"abracon,tc-diode"; <&rv1805>,"abracon,tc-diode";
trickle-resistor-ohms = <&ds1339>,"trickle-resistor-ohms:0", trickle-resistor-ohms = <&ds1339>,"trickle-resistor-ohms:0",
<&ds1340>,"trickle-resistor-ohms:0",
<&abx80x>,"abracon,tc-resistor:0", <&abx80x>,"abracon,tc-resistor:0",
<&rv3028>,"trickle-resistor-ohms:0", <&rv3028>,"trickle-resistor-ohms:0",
<&rv1805>,"abracon,tc-resistor:0"; <&rv1805>,"abracon,tc-resistor:0";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册