brcm2708: update to latest patches from RPi foundation
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.19 / 950-0584-overlays-Fix-compatible-string-for-ds1307-RTC.patch
1 From 4a5715f95d8865c817c9a747f28f38b234f5df42 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Mon, 17 Jun 2019 14:36:12 +0100
4 Subject: [PATCH] overlays: Fix compatible string for ds1307 RTC
5
6 Kernels since 4.19 have required the correct manufacture name in the
7 compatible string for I2C devices, and unfortunately the one for the
8 Dallas/Maxim DS1307 should have been "dallas,ds1307" and not
9 "maxim,ds1307".
10
11 See: https://github.com/raspberrypi/linux/issues/3013
12
13 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
14 ---
15 arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 --- a/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
19 +++ b/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
20 @@ -30,7 +30,7 @@
21 status = "okay";
22
23 ds1307: ds1307@68 {
24 - compatible = "maxim,ds1307";
25 + compatible = "dallas,ds1307";
26 reg = <0x68>;
27 status = "okay";
28 };