diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-08-04 07:21:02 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-08-11 09:09:21 -0400 |
commit | 68f46897ea7efbcb30d19304072074fac4569c54 (patch) | |
tree | 407569de9d7cf01bbd56c41caccd6db07d7d59b3 /arch/arm/boot/dts/uniphier-ph1-pro4.dtsi | |
parent | b9efb8e30e99fe8ca9f886e0332eb0f29b6b48bb (diff) |
ARM: dts: uniphier: add I2C controller device nodes
Add I2C controller device nodes for PH1-sLD3, PH1-LD4, PH1-sLD8
(FIFO-less I2C) and PH1-Pro4 (FIFO-builtin I2C).
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/uniphier-ph1-pro4.dtsi')
-rw-r--r-- | arch/arm/boot/dts/uniphier-ph1-pro4.dtsi | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/uniphier-ph1-pro4.dtsi b/arch/arm/boot/dts/uniphier-ph1-pro4.dtsi index d0ca4c86c8e4..e8bbc454d788 100644 --- a/arch/arm/boot/dts/uniphier-ph1-pro4.dtsi +++ b/arch/arm/boot/dts/uniphier-ph1-pro4.dtsi | |||
@@ -77,6 +77,12 @@ | |||
77 | compatible = "fixed-clock"; | 77 | compatible = "fixed-clock"; |
78 | clock-frequency = <73728000>; | 78 | clock-frequency = <73728000>; |
79 | }; | 79 | }; |
80 | |||
81 | i2c_clk: i2c_clk { | ||
82 | #clock-cells = <0>; | ||
83 | compatible = "fixed-clock"; | ||
84 | clock-frequency = <50000000>; | ||
85 | }; | ||
80 | }; | 86 | }; |
81 | 87 | ||
82 | soc { | 88 | soc { |
@@ -136,6 +142,82 @@ | |||
136 | fifo-size = <64>; | 142 | fifo-size = <64>; |
137 | }; | 143 | }; |
138 | 144 | ||
145 | i2c0: i2c@58780000 { | ||
146 | compatible = "socionext,uniphier-fi2c"; | ||
147 | status = "disabled"; | ||
148 | reg = <0x58780000 0x80>; | ||
149 | #address-cells = <1>; | ||
150 | #size-cells = <0>; | ||
151 | pinctrl-names = "default"; | ||
152 | pinctrl-0 = <&pinctrl_i2c0>; | ||
153 | interrupts = <0 41 4>; | ||
154 | clocks = <&i2c_clk>; | ||
155 | clock-frequency = <100000>; | ||
156 | }; | ||
157 | |||
158 | i2c1: i2c@58781000 { | ||
159 | compatible = "socionext,uniphier-fi2c"; | ||
160 | status = "disabled"; | ||
161 | reg = <0x58781000 0x80>; | ||
162 | #address-cells = <1>; | ||
163 | #size-cells = <0>; | ||
164 | pinctrl-names = "default"; | ||
165 | pinctrl-0 = <&pinctrl_i2c1>; | ||
166 | interrupts = <0 42 4>; | ||
167 | clocks = <&i2c_clk>; | ||
168 | clock-frequency = <100000>; | ||
169 | }; | ||
170 | |||
171 | i2c2: i2c@58782000 { | ||
172 | compatible = "socionext,uniphier-fi2c"; | ||
173 | status = "disabled"; | ||
174 | reg = <0x58782000 0x80>; | ||
175 | #address-cells = <1>; | ||
176 | #size-cells = <0>; | ||
177 | pinctrl-names = "default"; | ||
178 | pinctrl-0 = <&pinctrl_i2c2>; | ||
179 | interrupts = <0 43 4>; | ||
180 | clocks = <&i2c_clk>; | ||
181 | clock-frequency = <100000>; | ||
182 | }; | ||
183 | |||
184 | i2c3: i2c@58783000 { | ||
185 | compatible = "socionext,uniphier-fi2c"; | ||
186 | status = "disabled"; | ||
187 | reg = <0x58783000 0x80>; | ||
188 | #address-cells = <1>; | ||
189 | #size-cells = <0>; | ||
190 | pinctrl-names = "default"; | ||
191 | pinctrl-0 = <&pinctrl_i2c3>; | ||
192 | interrupts = <0 44 4>; | ||
193 | clocks = <&i2c_clk>; | ||
194 | clock-frequency = <100000>; | ||
195 | }; | ||
196 | |||
197 | /* i2c4 does not exist */ | ||
198 | |||
199 | /* chip-internal connection for DMD */ | ||
200 | i2c5: i2c@58785000 { | ||
201 | compatible = "socionext,uniphier-fi2c"; | ||
202 | reg = <0x58785000 0x80>; | ||
203 | #address-cells = <1>; | ||
204 | #size-cells = <0>; | ||
205 | interrupts = <0 25 4>; | ||
206 | clocks = <&i2c_clk>; | ||
207 | clock-frequency = <400000>; | ||
208 | }; | ||
209 | |||
210 | /* chip-internal connection for HDMI */ | ||
211 | i2c6: i2c@58786000 { | ||
212 | compatible = "socionext,uniphier-fi2c"; | ||
213 | reg = <0x58786000 0x80>; | ||
214 | #address-cells = <1>; | ||
215 | #size-cells = <0>; | ||
216 | interrupts = <0 26 4>; | ||
217 | clocks = <&i2c_clk>; | ||
218 | clock-frequency = <400000>; | ||
219 | }; | ||
220 | |||
139 | system-bus-controller-misc@59800000 { | 221 | system-bus-controller-misc@59800000 { |
140 | compatible = "socionext,uniphier-system-bus-controller-misc", | 222 | compatible = "socionext,uniphier-system-bus-controller-misc", |
141 | "syscon"; | 223 | "syscon"; |