diff options
author | Heiko Stuebner <heiko@sntech.de> | 2014-06-24 14:12:06 -0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2014-07-26 17:35:29 -0400 |
commit | 9cdffd8cb9b5f30495a9c284ab05d5b803f3b457 (patch) | |
tree | aff9869175fd8962e7378b27ffd9556b39354577 /arch/arm/boot/dts/rk3xxx.dtsi | |
parent | ff84b90ecd1cfd00af3d1832fd8bf3c18e555d4e (diff) |
ARM: dts: add rk3066 and rk3188 i2c device nodes and pinctrl settings
The core controller settings themself are identical, only the compatible and
pinctrl settings differ.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3xxx.dtsi')
-rw-r--r-- | arch/arm/boot/dts/rk3xxx.dtsi | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi index ad204da6c60f..d3fa4d1a2f8a 100644 --- a/arch/arm/boot/dts/rk3xxx.dtsi +++ b/arch/arm/boot/dts/rk3xxx.dtsi | |||
@@ -20,6 +20,14 @@ | |||
20 | / { | 20 | / { |
21 | interrupt-parent = <&gic>; | 21 | interrupt-parent = <&gic>; |
22 | 22 | ||
23 | aliases { | ||
24 | i2c0 = &i2c0; | ||
25 | i2c1 = &i2c1; | ||
26 | i2c2 = &i2c2; | ||
27 | i2c3 = &i2c3; | ||
28 | i2c4 = &i2c4; | ||
29 | }; | ||
30 | |||
23 | xin24m: oscillator { | 31 | xin24m: oscillator { |
24 | compatible = "fixed-clock"; | 32 | compatible = "fixed-clock"; |
25 | clock-frequency = <24000000>; | 33 | clock-frequency = <24000000>; |
@@ -117,6 +125,82 @@ | |||
117 | reg = <0x20008000 0x200>; | 125 | reg = <0x20008000 0x200>; |
118 | }; | 126 | }; |
119 | 127 | ||
128 | i2c0: i2c@2002d000 { | ||
129 | compatible = "rockchip,rk3066-i2c"; | ||
130 | reg = <0x2002d000 0x1000>; | ||
131 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; | ||
132 | #address-cells = <1>; | ||
133 | #size-cells = <0>; | ||
134 | |||
135 | rockchip,grf = <&grf>; | ||
136 | rockchip,bus-index = <0>; | ||
137 | |||
138 | clock-names = "i2c"; | ||
139 | clocks = <&cru PCLK_I2C0>; | ||
140 | |||
141 | status = "disabled"; | ||
142 | }; | ||
143 | |||
144 | i2c1: i2c@2002f000 { | ||
145 | compatible = "rockchip,rk3066-i2c"; | ||
146 | reg = <0x2002f000 0x1000>; | ||
147 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; | ||
148 | #address-cells = <1>; | ||
149 | #size-cells = <0>; | ||
150 | |||
151 | rockchip,grf = <&grf>; | ||
152 | |||
153 | clocks = <&cru PCLK_I2C1>; | ||
154 | clock-names = "i2c"; | ||
155 | |||
156 | status = "disabled"; | ||
157 | }; | ||
158 | |||
159 | i2c2: i2c@20056000 { | ||
160 | compatible = "rockchip,rk3066-i2c"; | ||
161 | reg = <0x20056000 0x1000>; | ||
162 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; | ||
163 | #address-cells = <1>; | ||
164 | #size-cells = <0>; | ||
165 | |||
166 | rockchip,grf = <&grf>; | ||
167 | |||
168 | clocks = <&cru PCLK_I2C2>; | ||
169 | clock-names = "i2c"; | ||
170 | |||
171 | status = "disabled"; | ||
172 | }; | ||
173 | |||
174 | i2c3: i2c@2005a000 { | ||
175 | compatible = "rockchip,rk3066-i2c"; | ||
176 | reg = <0x2005a000 0x1000>; | ||
177 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; | ||
178 | #address-cells = <1>; | ||
179 | #size-cells = <0>; | ||
180 | |||
181 | rockchip,grf = <&grf>; | ||
182 | |||
183 | clocks = <&cru PCLK_I2C3>; | ||
184 | clock-names = "i2c"; | ||
185 | |||
186 | status = "disabled"; | ||
187 | }; | ||
188 | |||
189 | i2c4: i2c@2005e000 { | ||
190 | compatible = "rockchip,rk3066-i2c"; | ||
191 | reg = <0x2005e000 0x1000>; | ||
192 | interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; | ||
193 | #address-cells = <1>; | ||
194 | #size-cells = <0>; | ||
195 | |||
196 | rockchip,grf = <&grf>; | ||
197 | |||
198 | clocks = <&cru PCLK_I2C4>; | ||
199 | clock-names = "i2c"; | ||
200 | |||
201 | status = "disabled"; | ||
202 | }; | ||
203 | |||
120 | uart2: serial@20064000 { | 204 | uart2: serial@20064000 { |
121 | compatible = "snps,dw-apb-uart"; | 205 | compatible = "snps,dw-apb-uart"; |
122 | reg = <0x20064000 0x400>; | 206 | reg = <0x20064000 0x400>; |