overlays: Fix i2c-rtc order and fragment numbering
authorPhil Elwell <phil@raspberrypi.org>
Wed, 7 Jun 2017 07:53:36 +0000 (08:53 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:54:18 +0000 (15:54 +0100)
See: https://github.com/raspberrypi/linux/issues/2059

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts

index b73f902289c8e52705665d8da6d0e904eeaaaf18..6140f172a86b8731782f938f76cb5dac9f28b662 100644 (file)
@@ -60,9 +60,9 @@
                        #size-cells = <0>;
                        status = "okay";
 
-                       mcp7940x: mcp7940x@6f {
-                               compatible = "microchip,mcp7940x";
-                               reg = <0x6f>;
+                       ds3231: ds3231@68 {
+                               compatible = "maxim,ds3231";
+                               reg = <0x68>;
                                status = "okay";
                        };
                };
@@ -75,8 +75,8 @@
                        #size-cells = <0>;
                        status = "okay";
 
-                       mcp7941x: mcp7941x@6f {
-                               compatible = "microchip,mcp7941x";
+                       mcp7940x: mcp7940x@6f {
+                               compatible = "microchip,mcp7940x";
                                reg = <0x6f>;
                                status = "okay";
                        };
@@ -90,9 +90,9 @@
                        #size-cells = <0>;
                        status = "okay";
 
-                       ds3231: ds3231@68 {
-                               compatible = "maxim,ds3231";
-                               reg = <0x68>;
+                       mcp7941x: mcp7941x@6f {
+                               compatible = "microchip,mcp7941x";
+                               reg = <0x6f>;
                                status = "okay";
                        };
                };