apple,i2c.yaml (4356fd6041877ef0c91a2f6051b59bb1a8961ca2) apple,i2c.yaml (6f8260557d490364c2b49872127c379de9b141ac)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/i2c/apple,i2c.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Apple/PASemi I2C controller
8

--- 26 unchanged lines hidden (view full) ---

35 maxItems: 1
36
37 clock-frequency:
38 description: |
39 Desired I2C bus clock frequency in Hz. If not specified, 100 kHz will be
40 used. This frequency is generated by dividing the reference clock.
41 Allowed values are between ref_clk/(16*4) and ref_clk/(16*255).
42
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/i2c/apple,i2c.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Apple/PASemi I2C controller
8

--- 26 unchanged lines hidden (view full) ---

35 maxItems: 1
36
37 clock-frequency:
38 description: |
39 Desired I2C bus clock frequency in Hz. If not specified, 100 kHz will be
40 used. This frequency is generated by dividing the reference clock.
41 Allowed values are between ref_clk/(16*4) and ref_clk/(16*255).
42
43 power-domains:
44 maxItems: 1
45
43required:
44 - compatible
45 - reg
46 - clocks
47 - interrupts
48
49unevaluatedProperties: false
50
51examples:
52 - |
53 i2c@35010000 {
54 compatible = "apple,t8103-i2c", "apple,i2c";
55 reg = <0x35010000 0x4000>;
56 interrupt-parent = <&aic>;
57 interrupts = <0 627 4>;
58 clocks = <&ref_clk>;
59 #address-cells = <1>;
60 #size-cells = <0>;
61 };
46required:
47 - compatible
48 - reg
49 - clocks
50 - interrupts
51
52unevaluatedProperties: false
53
54examples:
55 - |
56 i2c@35010000 {
57 compatible = "apple,t8103-i2c", "apple,i2c";
58 reg = <0x35010000 0x4000>;
59 interrupt-parent = <&aic>;
60 interrupts = <0 627 4>;
61 clocks = <&ref_clk>;
62 #address-cells = <1>;
63 #size-cells = <0>;
64 };