ARM: dts: exynos4: use the node's name for i2c
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 9 Jan 2017 05:47:47 +0000 (14:47 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 18 Jan 2017 04:25:56 +0000 (13:25 +0900)
Use the node's name for i2c.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/dts/exynos4.dtsi

index 7de227c..a5a00c8 100644 (file)
 #include "skeleton.dtsi"
 
 / {
+       aliases {
+               i2c0 = &i2c_0;
+               i2c1 = &i2c_1;
+               i2c2 = &i2c_2;
+               i2c3 = &i2c_3;
+               i2c4 = &i2c_4;
+               i2c5 = &i2c_5;
+               i2c6 = &i2c_6;
+               i2c7 = &i2c_7;
+       };
+
        combiner: interrupt-controller@10440000 {
                compatible = "samsung,exynos4210-combiner";
                #interrupt-cells = <2>;
@@ -47,7 +58,7 @@
                id = <4>;
        };
 
-       i2c@13860000 {
+       i2c_0: i2c@13860000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,s3c2440-i2c";
@@ -55,7 +66,7 @@
                interrupts = <0 56 0>;
        };
 
-       i2c@13870000 {
+       i2c_1: i2c@13870000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,s3c2440-i2c";
@@ -63,7 +74,7 @@
                interrupts = <1 57 0>;
        };
 
-       i2c@13880000 {
+       i2c_2: i2c@13880000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,s3c2440-i2c";
@@ -71,7 +82,7 @@
                interrupts = <2 58 0>;
        };
 
-       i2c@13890000 {
+       i2c_3: i2c@13890000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,s3c2440-i2c";
@@ -79,7 +90,7 @@
                interrupts = <3 59 0>;
        };
 
-       i2c@138a0000 {
+       i2c_4: i2c@138a0000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,s3c2440-i2c";
@@ -87,7 +98,7 @@
                interrupts = <4 60 0>;
        };
 
-       i2c@138b0000 {
+       i2c_5: i2c@138b0000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,s3c2440-i2c";
                interrupts = <5 61 0>;
        };
 
-       i2c@138c0000 {
+       i2c_6: i2c@138c0000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,s3c2440-i2c";
                interrupts = <6 62 0>;
        };
 
-       i2c@138d0000 {
+       i2c_7: i2c@138d0000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "samsung,s3c2440-i2c";