Lines Matching +full:rk3188 +full:- +full:i2c
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-rk3x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip RK3xxx I2C controller
10 This driver interfaces with the native I2C controller present in Rockchip
14 - $ref: /schemas/i2c/i2c-controller.yaml#
17 - Heiko Stuebner <heiko@sntech.de>
23 - const: rockchip,rv1108-i2c
24 - const: rockchip,rk3066-i2c
25 - const: rockchip,rk3188-i2c
26 - const: rockchip,rk3228-i2c
27 - const: rockchip,rk3288-i2c
28 - const: rockchip,rk3399-i2c
29 - items:
30 - enum:
31 - rockchip,rk3036-i2c
32 - rockchip,rk3368-i2c
33 - const: rockchip,rk3288-i2c
34 - items:
35 - enum:
36 - rockchip,px30-i2c
37 - rockchip,rk3308-i2c
38 - rockchip,rk3328-i2c
39 - const: rockchip,rk3399-i2c
50 - description:
51 For older hardware (rk3066, rk3188, rk3228, rk3288)
56 - description:
59 clock-names:
62 - const: i2c
63 - const: pclk
68 Required on RK3066, RK3188 the phandle of the syscon node for
70 On those SoCs an alias with the correct I2C bus ID
73 clock-frequency:
78 i2c-scl-rising-time-ns:
82 (t(r) in I2C specification). If not specified this is assumed to be
83 the maximum the specification allows(1000 ns for Standard-mode,
84 300 ns for Fast-mode) which might cause slightly slower communication.
86 i2c-scl-falling-time-ns:
90 (t(f) in the I2C specification). If not specified this is assumed to
94 i2c-sda-falling-time-ns:
98 (t(f) in the I2C specification). If not specified we will use the SCL
102 - compatible
103 - reg
104 - interrupts
105 - clocks
106 - clock-names
113 - rockchip,rk3066-i2c
114 - rockchip,rk3188-i2c
118 - rockchip,grf
123 - |
124 #include <dt-bindings/clock/rk3188-cru-common.h>
125 #include <dt-bindings/interrupt-controller/arm-gic.h>
126 #include <dt-bindings/interrupt-controller/irq.h>
127 i2c0: i2c@2002d000 {
128 compatible = "rockchip,rk3188-i2c";
132 clock-names = "i2c";
134 i2c-scl-falling-time-ns = <100>;
135 i2c-scl-rising-time-ns = <800>;
136 #address-cells = <1>;
137 #size-cells = <0>;