Lines Matching +full:i2c +full:- +full:scl +full:- +full:rising +full:- +full:time +full:- +full:ns
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,rk3128-i2c
33 - rockchip,rk3368-i2c
34 - const: rockchip,rk3288-i2c
35 - items:
36 - enum:
37 - rockchip,px30-i2c
38 - rockchip,rk3308-i2c
39 - rockchip,rk3328-i2c
40 - rockchip,rk3562-i2c
41 - rockchip,rk3568-i2c
42 - rockchip,rk3576-i2c
43 - rockchip,rk3588-i2c
44 - rockchip,rv1126-i2c
45 - const: rockchip,rk3399-i2c
56 - description:
62 - description:
65 clock-names:
68 - const: i2c
69 - const: pclk
76 On those SoCs an alias with the correct I2C bus ID
79 clock-frequency:
82 SCL frequency to use (in Hz). If omitted, 100kHz is used.
84 i2c-scl-rising-time-ns:
87 Number of nanoseconds the SCL signal takes to rise
88 (t(r) in I2C specification). If not specified this is assumed to be
89 the maximum the specification allows(1000 ns for Standard-mode,
90 300 ns for Fast-mode) which might cause slightly slower communication.
92 i2c-scl-falling-time-ns:
95 Number of nanoseconds the SCL signal takes to fall
96 (t(f) in the I2C specification). If not specified this is assumed to
97 be the maximum the specification allows (300 ns) which might cause
100 i2c-sda-falling-time-ns:
104 (t(f) in the I2C specification). If not specified we will use the SCL
108 - compatible
109 - reg
110 - interrupts
111 - clocks
112 - clock-names
119 - rockchip,rk3066-i2c
120 - rockchip,rk3188-i2c
124 - rockchip,grf
129 - |
130 #include <dt-bindings/clock/rk3188-cru-common.h>
131 #include <dt-bindings/interrupt-controller/arm-gic.h>
132 #include <dt-bindings/interrupt-controller/irq.h>
133 i2c0: i2c@2002d000 {
134 compatible = "rockchip,rk3188-i2c";
138 clock-names = "i2c";
140 i2c-scl-falling-time-ns = <100>;
141 i2c-scl-rising-time-ns = <800>;
142 #address-cells = <1>;
143 #size-cells = <0>;