File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed
Documentation/devicetree/bindings/i2c Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
+ %YAML 1.2
3
+ ---
4
+ $id : http://devicetree.org/schemas/i2c/spacemit,k1-i2c.yaml#
5
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6
+
7
+ title : I2C controller embedded in SpacemiT's K1 SoC
8
+
9
+ maintainers :
10
+ -
Troy Mitchell <[email protected] >
11
+
12
+ properties :
13
+ compatible :
14
+ const : spacemit,k1-i2c
15
+
16
+ reg :
17
+ maxItems : 1
18
+
19
+ interrupts :
20
+ maxItems : 1
21
+
22
+ clocks :
23
+ items :
24
+ - description : I2C Functional Clock
25
+ - description : APB Bus Clock
26
+
27
+ clock-names :
28
+ items :
29
+ - const : func
30
+ - const : bus
31
+
32
+ clock-frequency :
33
+ description : |
34
+ K1 support three different modes which running different frequencies
35
+ standard speed mode: up to 100000 (100Hz)
36
+ fast speed mode : up to 400000 (400Hz)
37
+ high speed mode : up to 3300000 (3.3Mhz)
38
+ default : 400000
39
+ maximum : 3300000
40
+
41
+ required :
42
+ - compatible
43
+ - reg
44
+ - interrupts
45
+ - clocks
46
+
47
+ unevaluatedProperties : false
48
+
49
+ examples :
50
+ - |
51
+ i2c@d4010800 {
52
+ compatible = "spacemit,k1-i2c";
53
+ reg = <0xd4010800 0x38>;
54
+ interrupt-parent = <&plic>;
55
+ interrupts = <36>;
56
+ clocks =<&ccu 32>, <&ccu 84>;
57
+ clock-names = "func", "bus";
58
+ clock-frequency = <100000>;
59
+ };
60
+
61
+ ...
You can’t perform that action at this time.
0 commit comments