projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93fdf5e
)
overlays: i2c-rtc: Add RV3032 support
author
Phil Elwell
<phil@raspberrypi.com>
Wed, 12 Oct 2022 09:04:31 +0000
(10:04 +0100)
committer
Phil Elwell
<phil@raspberrypi.com>
Wed, 12 Oct 2022 09:04:31 +0000
(10:04 +0100)
See: https://github.com/raspberrypi/linux/issues/5205
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/overlays/i2c-rtc-common.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/overlays/i2c-rtc-common.dtsi
b/arch/arm/boot/dts/overlays/i2c-rtc-common.dtsi
index
5e03764
..
94b0243
100644
(file)
--- a/
arch/arm/boot/dts/overlays/i2c-rtc-common.dtsi
+++ b/
arch/arm/boot/dts/overlays/i2c-rtc-common.dtsi
@@
-283,6
+283,19
@@
};
};
+ fragment@21 {
+ target = <&i2cbus>;
+ __dormant__ {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ rv3032: rv3032@51 {
+ compatible = "microcrystal,rv3032";
+ reg = <0x51>;
+ };
+ };
+ };
+
__overrides__ {
abx80x = <0>,"+0";
@@
-306,6
+319,7
@@
s35390a = <0>,"+18";
bq32000 = <0>,"+19";
rv8803 = <0>,"+20";
+ rv3032 = <0>,"+21";
addr = <&abx80x>, "reg:0",
<&ds1307>, "reg:0",