exynos: dts: Sync up I2C ports with the kernel
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2015 00:15:48 +0000 (18:15 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Aug 2015 03:06:10 +0000 (21:06 -0600)
The kernel uses upper case for I2C unit addresses. Follow the same
convention to reduce differences.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
arch/arm/dts/exynos5.dtsi
arch/arm/dts/exynos5250-arndale.dts
arch/arm/dts/exynos5250-smdk5250.dts
arch/arm/dts/exynos5250-snow.dts
arch/arm/dts/exynos5250.dtsi
arch/arm/dts/exynos5420-peach-pit.dts
arch/arm/dts/exynos5420-smdk5420.dts
arch/arm/dts/exynos54xx.dtsi
arch/arm/dts/exynos5800-peach-pi.dts

index 238acb80a2393a2b6eb204582ec1c4d75be9518f..179584c7487c67a552d6b23da269ced32ad2861f 100644 (file)
                interrupts = <1 9 0xf04>;
        };
 
-       i2c@12c60000 {
-               #address-cells = <1>;
-               #size-cells = <0>;
+       i2c_0: i2c@12C60000 {
                compatible = "samsung,s3c2440-i2c";
                reg = <0x12C60000 0x100>;
                interrupts = <0 56 0>;
-       };
-
-       i2c@12c70000 {
                #address-cells = <1>;
                #size-cells = <0>;
+       };
+
+       i2c_1: i2c@12C70000 {
                compatible = "samsung,s3c2440-i2c";
                reg = <0x12C70000 0x100>;
                interrupts = <0 57 0>;
-       };
-
-       i2c@12c80000 {
                #address-cells = <1>;
                #size-cells = <0>;
+       };
+
+       i2c_2: i2c@12C80000 {
                compatible = "samsung,s3c2440-i2c";
                reg = <0x12C80000 0x100>;
                interrupts = <0 58 0>;
-       };
-
-       i2c@12c90000 {
                #address-cells = <1>;
                #size-cells = <0>;
+       };
+
+       i2c_3: i2c@12C90000 {
                compatible = "samsung,s3c2440-i2c";
                reg = <0x12C90000 0x100>;
                interrupts = <0 59 0>;
+               #address-cells = <1>;
+               #size-cells = <0>;
        };
 
-       spi@12d20000 {
+       spi_0: spi@12d20000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos-spi";
                interrupts = <0 68 0>;
        };
 
-       spi@12d30000 {
+       spi_1: spi@12d30000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos-spi";
                interrupts = <0 69 0>;
        };
 
-       spi@12d40000 {
+       spi_2: spi@12d40000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos-spi";
                interrupts = <0 70 0>;
         };
 
-       spi@131a0000 {
+       spi_3: spi@131a0000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos-spi";
                interrupts = <0 129 0>;
        };
 
-       spi@131b0000 {
+       spi_4: spi@131b0000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos-spi";
index 21c0a214ea5207967a141170fb35f9b26e2a7e18..031c622e0bb11d1ac8dce44ec89d46facd1f19b5 100644 (file)
        compatible = "samsung,arndale", "samsung,exynos5250";
 
        aliases {
-               i2c0 = "/i2c@12c60000";
-               i2c1 = "/i2c@12c70000";
-               i2c2 = "/i2c@12c80000";
-               i2c3 = "/i2c@12c90000";
-               i2c4 = "/i2c@12ca0000";
-               i2c5 = "/i2c@12cb0000";
-               i2c6 = "/i2c@12cc0000";
-               i2c7 = "/i2c@12cd0000";
+               i2c0 = "/i2c@12C60000";
+               i2c1 = "/i2c@12C70000";
+               i2c2 = "/i2c@12C80000";
+               i2c3 = "/i2c@12C90000";
+               i2c4 = "/i2c@12CA0000";
+               i2c5 = "/i2c@12CB0000";
+               i2c6 = "/i2c@12CC0000";
+               i2c7 = "/i2c@12CD0000";
                serial0 = "/serial@12C20000";
                console = "/serial@12C20000";
        };
index 3cebfc28a5f701598c039c613ac47645270c4ac5..636fec9f28a0b52e890e7902b38fffd171124b66 100644 (file)
 
 /dts-v1/;
 #include "exynos5250.dtsi"
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
        model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
        compatible = "samsung,smdk5250", "samsung,exynos5250";
 
        aliases {
-               i2c0 = "/i2c@12c60000";
-               i2c1 = "/i2c@12c70000";
-               i2c2 = "/i2c@12c80000";
-               i2c3 = "/i2c@12c90000";
-               i2c4 = "/i2c@12ca0000";
-               i2c5 = "/i2c@12cb0000";
-               i2c6 = "/i2c@12cc0000";
-               i2c7 = "/i2c@12cd0000";
+               i2c0 = "/i2c@12C60000";
+               i2c1 = "/i2c@12C70000";
+               i2c2 = "/i2c@12C80000";
+               i2c3 = "/i2c@12C90000";
+               i2c4 = "/i2c@12CA0000";
+               i2c5 = "/i2c@12CB0000";
+               i2c6 = "/i2c@12CC0000";
+               i2c7 = "/i2c@12CD0000";
                spi0 = "/spi@12d20000";
                spi1 = "/spi@12d30000";
                spi2 = "/spi@12d40000";
                status = "disabled";
        };
 
-       i2c@12c70000 {
+       i2c@12C70000 {
                soundcodec@1a {
                        reg = <0x1a>;
                        compatible = "wolfson,wm8994-codec";
                };
        };
 
-       i2c@12c60000 {
+       i2c@12C60000 {
                pmic@9 {
                        reg = <0x9>;
                        compatible = "maxim,max77686";
index e4b3dc29e470e927f95ebfde622637da5be952c5..9abe0b7a8c0dd59913a8cbbb023ceb9f8459ee86 100644 (file)
@@ -7,24 +7,27 @@
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
-*/
+ */
 
 /dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/input/input.h>
 #include "exynos5250.dtsi"
 
 / {
        model = "Google Snow";
-       compatible = "google,snow", "samsung,exynos5250";
+       compatible = "google,snow", "samsung,exynos5250", "samsung,exynos5";
 
        aliases {
-               i2c0 = "/i2c@12c60000";
-               i2c1 = "/i2c@12c70000";
-               i2c2 = "/i2c@12c80000";
-               i2c3 = "/i2c@12c90000";
-               i2c4 = "/i2c@12ca0000";
-               i2c5 = "/i2c@12cb0000";
-               i2c6 = "/i2c@12cc0000";
-               i2c7 = "/i2c@12cd0000";
+               i2c0 = "/i2c@12C60000";
+               i2c1 = "/i2c@12C70000";
+               i2c2 = "/i2c@12C80000";
+               i2c3 = "/i2c@12C90000";
+               i2c4 = "/i2c@12CA0000";
+               i2c5 = "/i2c@12CB0000";
+               i2c6 = "/i2c@12CC0000";
+               i2c7 = "/i2c@12CD0000";
                spi0 = "/spi@12d20000";
                spi1 = "/spi@12d30000";
                spi2 = "/spi@12d40000";
@@ -39,7 +42,7 @@
                i2s = "/sound@3830000";
        };
 
-       i2c4: i2c@12ca0000 {
+       i2c4: i2c@12CA0000 {
                cros_ec: cros-ec@1e {
                        reg = <0x1e>;
                        compatible = "google,cros-ec-i2c";
@@ -66,6 +69,7 @@
                spi-max-frequency = <1000000>;
                spi-deactivate-delay = <100>;
 
+               /* Snow did support SPI but the released version used I2C */
                embedded-controller {
                        compatible = "google,cros-ec-i2c";
                        reg = <0x1e>;
@@ -85,7 +89,7 @@
                status = "disabled";
        };
 
-       i2c@12cd0000 {
+       i2c@12CD0000 {
                soundcodec@22 {
                        reg = <0x22>;
                        compatible = "maxim,max98095-codec";
                };
        };
 
-       i2c@12c60000 {
-               pmic@9 {
+       i2c@12C60000 {
+               max77686@09 {
                        reg = <0x9>;
                        compatible = "maxim,max77686";
                };
index ccbafe9b07d7500569c4be9a82f3cb57bdf5d322..7eef3e3f4fb78fa280c6135697a075fb38eaa061 100644 (file)
                interrupts = <0 47 0>;
        };
 
-       i2c@12ca0000 {
-               #address-cells = <1>;
-               #size-cells = <0>;
+       i2c_4: i2c@12CA0000 {
                compatible = "samsung,s3c2440-i2c";
                reg = <0x12CA0000 0x100>;
                interrupts = <0 60 0>;
-       };
-
-       i2c@12cb0000 {
                #address-cells = <1>;
                #size-cells = <0>;
+       };
+
+       i2c_5: i2c@12CB0000 {
                compatible = "samsung,s3c2440-i2c";
                reg = <0x12CB0000 0x100>;
                interrupts = <0 61 0>;
-       };
-
-       i2c@12cc0000 {
                #address-cells = <1>;
                #size-cells = <0>;
+       };
+
+       i2c_6: i2c@12CC0000 {
                compatible = "samsung,s3c2440-i2c";
                reg = <0x12CC0000 0x100>;
                interrupts = <0 62 0>;
-       };
-
-       i2c@12cd0000 {
                #address-cells = <1>;
                #size-cells = <0>;
+       };
+
+       i2c_7: i2c@12CD0000 {
                compatible = "samsung,s3c2440-i2c";
                reg = <0x12CD0000 0x100>;
                interrupts = <0 63 0>;
+               #address-cells = <1>;
+               #size-cells = <0>;
        };
 
        sound@3830000 {
index 6fe762deb3173c5bd7d62e6a822cfda76892f920..0f1002e894a3e87c2cfd0e024e2c686a423e1ca0 100644 (file)
@@ -25,7 +25,7 @@
        aliases {
                serial0 = "/serial@12C30000";
                console = "/serial@12C30000";
-               pmic = "/i2c@12ca0000";
+               pmic = "/i2c@12CA0000";
        };
 
        dmc {
@@ -49,7 +49,7 @@
        };
 
        /* MAX77802 is on i2c bus 4 */
-       i2c@12ca0000 {
+       i2c@12CA0000 {
                clock-frequency = <400000>;
                power-regulator@9 {
                        compatible = "maxim,max77802-pmic";
@@ -57,7 +57,7 @@
                };
        };
 
-       i2c@12cd0000 { /* i2c7 */
+       i2c@12CD0000 { /* i2c7 */
                clock-frequency = <100000>;
               soundcodec@20 {
                      reg = <0x20>;
@@ -76,7 +76,7 @@
                 samsung,codec-type = "max98090";
         };
 
-       i2c@12e10000 { /* i2c9 */
+       i2c@12E10000 { /* i2c9 */
                clock-frequency = <400000>;
                 tpm@20 {
                         compatible = "infineon,slb9645tt";
index 6855027389d8d84cf7ad59decc7a377d62034e39..015ff151f280d029b9f15edf6772fec7e0f0444c 100644 (file)
@@ -37,7 +37,7 @@
        };
 
        /* s2mps11 is on i2c bus 4 */
-       i2c@12ca0000 {
+       i2c@12CA0000 {
                #address-cells = <1>;
                #size-cells = <0>;
                pmic@66 {
@@ -82,7 +82,7 @@
                samsung,codec-type = "wm8994";
        };
 
-       i2c@12c70000 {
+       i2c@12C70000 {
                soundcodec@1a {
                        reg = <0x1a>;
                        compatible = "wolfson,wm8994-codec";
index 31fabb190efaa4357f93b21d5c68ab3cedad568a..bd3619d75137f0b884824eab6f3a73cc4b8c1098 100644 (file)
        };
 
        aliases {
-               i2c0 = "/i2c@12c60000";
-               i2c1 = "/i2c@12c70000";
-               i2c2 = "/i2c@12c80000";
-               i2c3 = "/i2c@12c90000";
-               i2c4 = "/i2c@12ca0000";
-               i2c5 = "/i2c@12cb0000";
-               i2c6 = "/i2c@12cc0000";
-               i2c7 = "/i2c@12cd0000";
-               i2c8 = "/i2c@12e00000";
-               i2c9 = "/i2c@12e10000";
-               i2c10 = "/i2c@12e20000";
+               i2c0 = "/i2c@12C60000";
+               i2c1 = "/i2c@12C70000";
+               i2c2 = "/i2c@12C80000";
+               i2c3 = "/i2c@12C90000";
+               i2c4 = "/i2c@12CA0000";
+               i2c5 = "/i2c@12CB0000";
+               i2c6 = "/i2c@12CC0000";
+               i2c7 = "/i2c@12CD0000";
+               i2c8 = "/i2c@12E00000";
+               i2c9 = "/i2c@12E10000";
+               i2c10 = "/i2c@12E20000";
                pinctrl0 = &pinctrl_0;
                pinctrl1 = &pinctrl_1;
                pinctrl2 = &pinctrl_2;
@@ -42,7 +42,7 @@
                xhci1 = "/xhci@12400000";
        };
 
-       i2c@12ca0000 {
+       i2c@12CA0000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos5-hsi2c";
@@ -50,7 +50,7 @@
                interrupts = <0 60 0>;
        };
 
-       i2c@12cb0000 {
+       i2c@12CB0000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos5-hsi2c";
@@ -58,7 +58,7 @@
                interrupts = <0 61 0>;
        };
 
-       i2c@12cc0000 {
+       i2c@12CC0000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos5-hsi2c";
@@ -66,7 +66,7 @@
                interrupts = <0 62 0>;
        };
 
-       i2c@12cd0000 {
+       i2c@12CD0000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos5-hsi2c";
@@ -74,7 +74,7 @@
                interrupts = <0 63 0>;
        };
 
-       i2c@12e00000 {
+       i2c@12E00000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos5-hsi2c";
@@ -82,7 +82,7 @@
                interrupts = <0 87 0>;
        };
 
-       i2c@12e10000 {
+       i2c@12E10000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos5-hsi2c";
@@ -90,7 +90,7 @@
                interrupts = <0 88 0>;
        };
 
-       i2c@12e20000 {
+       i2c@12E20000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,exynos5-hsi2c";
index 176ce552ad974046702dcd660e2da754ab43f400..4e548f7cd7514734bbcbc40226bfb43b801f95e5 100644 (file)
@@ -25,7 +25,7 @@
        aliases {
                serial0 = "/serial@12C30000";
                console = "/serial@12C30000";
-               pmic = "/i2c@12ca0000";
+               pmic = "/i2c@12CA0000";
        };
 
        dmc {
@@ -49,7 +49,7 @@
        };
 
        /* MAX77802 is on i2c bus 4 */
-       i2c@12ca0000 {
+       i2c@12CA0000 {
                clock-frequency = <400000>;
                power-regulator@9 {
                        compatible = "maxim,max77802-pmic";
@@ -57,7 +57,7 @@
                };
        };
 
-       i2c@12cd0000 { /* i2c7 */
+       i2c@12CD0000 { /* i2c7 */
                clock-frequency = <100000>;
               soundcodec@20 {
                      reg = <0x20>;
@@ -69,7 +69,7 @@
                 samsung,codec-type = "max98090";
         };
 
-       i2c@12e10000 { /* i2c9 */
+       i2c@12E10000 { /* i2c9 */
                clock-frequency = <400000>;
                 tpm@20 {
                         compatible = "infineon,slb9645tt";