brcm2708: update 4.1 patches
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.1 / 0085-BCM270X_DT-Add-MCP7941X-to-i2c-rtc-overlay.patch
1 From 016d0929fffe98d94188cff48aa4454e78942855 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 24 Jun 2015 09:24:31 +0100
4 Subject: [PATCH 085/148] BCM270X_DT: Add MCP7941X to i2c-rtc overlay
5
6 ---
7 arch/arm/boot/dts/overlays/README | 3 +++
8 arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts | 6 ++++++
9 2 files changed, 9 insertions(+)
10
11 --- a/arch/arm/boot/dts/overlays/README
12 +++ b/arch/arm/boot/dts/overlays/README
13 @@ -253,6 +253,8 @@ Params: ds1307 Select
14
15 ds3231 Select the DS3231 device
16
17 + mcp7941x Select the MCP7941x device
18 +
19 pcf2127 Select the PCF2127 device
20
21 pcf8523 Select the PCF8523 device
22 @@ -396,6 +398,7 @@ Params: speed Display
23
24 xohms Touchpanel sensitivity (X-plate resistance)
25
26 +
27 Name: rpi-ft5406
28 Info: Official Raspberry Pi display touchscreen
29 Load: dtoverlay=rpi-ft5406
30 --- a/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
31 +++ b/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
32 @@ -17,6 +17,11 @@
33 reg = <0x68>;
34 status = "disable";
35 };
36 + mcp7941x: mcp7941x@6f {
37 + compatible = "microchip,mcp7941x";
38 + reg = <0x6f>;
39 + status = "disable";
40 + };
41 ds3231: ds3231@68 {
42 compatible = "maxim,ds3231";
43 reg = <0x68>;
44 @@ -42,6 +47,7 @@
45 __overrides__ {
46 ds1307 = <&ds1307>,"status";
47 ds3231 = <&ds3231>,"status";
48 + mcp7941x = <&mcp7941x>,"status";
49 pcf2127 = <&pcf2127>,"status";
50 pcf8523 = <&pcf8523>,"status";
51 pcf8563 = <&pcf8563>,"status";