diff options
author | Doug Anderson <dianders@chromium.org> | 2012-11-20 23:35:46 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-11-21 10:38:37 -0500 |
commit | 34db4990e025fe03b565f6a7aa7977ac356771e1 (patch) | |
tree | 920f19c763b9398c0af67803c9cfff7f6ea83478 /arch/arm/boot/dts/exynos4.dtsi | |
parent | 95e82941b73b4a8811299ad7b639157822c8c59d (diff) |
ARM: dts: Add aliases for i2c controller for exynos4
This is similar to a recent commit for exynos5250 titled:
ARM: EXYNOS: Add aliases for i2c controller
Adding aliases will be useful to prevent warnings in a future
change. See:
i2c: s3c2410: Get the i2c bus number from alias id
Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos4.dtsi')
-rw-r--r-- | arch/arm/boot/dts/exynos4.dtsi | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index a26c3dd58269..824d362b25b8 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi | |||
@@ -28,6 +28,14 @@ | |||
28 | spi0 = &spi_0; | 28 | spi0 = &spi_0; |
29 | spi1 = &spi_1; | 29 | spi1 = &spi_1; |
30 | spi2 = &spi_2; | 30 | spi2 = &spi_2; |
31 | i2c0 = &i2c_0; | ||
32 | i2c1 = &i2c_1; | ||
33 | i2c2 = &i2c_2; | ||
34 | i2c3 = &i2c_3; | ||
35 | i2c4 = &i2c_4; | ||
36 | i2c5 = &i2c_5; | ||
37 | i2c6 = &i2c_6; | ||
38 | i2c7 = &i2c_7; | ||
31 | }; | 39 | }; |
32 | 40 | ||
33 | gic:interrupt-controller@10490000 { | 41 | gic:interrupt-controller@10490000 { |
@@ -121,7 +129,7 @@ | |||
121 | status = "disabled"; | 129 | status = "disabled"; |
122 | }; | 130 | }; |
123 | 131 | ||
124 | i2c@13860000 { | 132 | i2c_0: i2c@13860000 { |
125 | #address-cells = <1>; | 133 | #address-cells = <1>; |
126 | #size-cells = <0>; | 134 | #size-cells = <0>; |
127 | compatible = "samsung,s3c2440-i2c"; | 135 | compatible = "samsung,s3c2440-i2c"; |
@@ -130,7 +138,7 @@ | |||
130 | status = "disabled"; | 138 | status = "disabled"; |
131 | }; | 139 | }; |
132 | 140 | ||
133 | i2c@13870000 { | 141 | i2c_1: i2c@13870000 { |
134 | #address-cells = <1>; | 142 | #address-cells = <1>; |
135 | #size-cells = <0>; | 143 | #size-cells = <0>; |
136 | compatible = "samsung,s3c2440-i2c"; | 144 | compatible = "samsung,s3c2440-i2c"; |
@@ -139,7 +147,7 @@ | |||
139 | status = "disabled"; | 147 | status = "disabled"; |
140 | }; | 148 | }; |
141 | 149 | ||
142 | i2c@13880000 { | 150 | i2c_2: i2c@13880000 { |
143 | #address-cells = <1>; | 151 | #address-cells = <1>; |
144 | #size-cells = <0>; | 152 | #size-cells = <0>; |
145 | compatible = "samsung,s3c2440-i2c"; | 153 | compatible = "samsung,s3c2440-i2c"; |
@@ -148,7 +156,7 @@ | |||
148 | status = "disabled"; | 156 | status = "disabled"; |
149 | }; | 157 | }; |
150 | 158 | ||
151 | i2c@13890000 { | 159 | i2c_3: i2c@13890000 { |
152 | #address-cells = <1>; | 160 | #address-cells = <1>; |
153 | #size-cells = <0>; | 161 | #size-cells = <0>; |
154 | compatible = "samsung,s3c2440-i2c"; | 162 | compatible = "samsung,s3c2440-i2c"; |
@@ -157,7 +165,7 @@ | |||
157 | status = "disabled"; | 165 | status = "disabled"; |
158 | }; | 166 | }; |
159 | 167 | ||
160 | i2c@138A0000 { | 168 | i2c_4: i2c@138A0000 { |
161 | #address-cells = <1>; | 169 | #address-cells = <1>; |
162 | #size-cells = <0>; | 170 | #size-cells = <0>; |
163 | compatible = "samsung,s3c2440-i2c"; | 171 | compatible = "samsung,s3c2440-i2c"; |
@@ -166,7 +174,7 @@ | |||
166 | status = "disabled"; | 174 | status = "disabled"; |
167 | }; | 175 | }; |
168 | 176 | ||
169 | i2c@138B0000 { | 177 | i2c_5: i2c@138B0000 { |
170 | #address-cells = <1>; | 178 | #address-cells = <1>; |
171 | #size-cells = <0>; | 179 | #size-cells = <0>; |
172 | compatible = "samsung,s3c2440-i2c"; | 180 | compatible = "samsung,s3c2440-i2c"; |
@@ -175,7 +183,7 @@ | |||
175 | status = "disabled"; | 183 | status = "disabled"; |
176 | }; | 184 | }; |
177 | 185 | ||
178 | i2c@138C0000 { | 186 | i2c_6: i2c@138C0000 { |
179 | #address-cells = <1>; | 187 | #address-cells = <1>; |
180 | #size-cells = <0>; | 188 | #size-cells = <0>; |
181 | compatible = "samsung,s3c2440-i2c"; | 189 | compatible = "samsung,s3c2440-i2c"; |
@@ -184,7 +192,7 @@ | |||
184 | status = "disabled"; | 192 | status = "disabled"; |
185 | }; | 193 | }; |
186 | 194 | ||
187 | i2c@138D0000 { | 195 | i2c_7: i2c@138D0000 { |
188 | #address-cells = <1>; | 196 | #address-cells = <1>; |
189 | #size-cells = <0>; | 197 | #size-cells = <0>; |
190 | compatible = "samsung,s3c2440-i2c"; | 198 | compatible = "samsung,s3c2440-i2c"; |