1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/i2c/st,nomadik-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ST Microelectronics Nomadik I2C
9 description: The Nomadik I2C host controller began its life in the ST
10 Microelectronics STn8800 SoC, and was then inherited into STn8810 and
11 STn8815. It was part of the prototype STn8500 which then became ST-Ericsson
12 DB8500 after the merge of these two companies wireless divisions.
15 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: /schemas/i2c/i2c-controller.yaml#
20 # Need a custom select here or 'arm,primecell' will match on lots of nodes
33 # The variant found in STn8815
35 - const: st,nomadik-i2c
36 - const: arm,primecell
37 # The variant found in DB8500
39 - const: stericsson,db8500-i2c
40 - const: st,nomadik-i2c
41 - const: arm,primecell
54 # Clock name in STn8815
58 # Clock name in DB8500
80 unevaluatedProperties: false
84 #include <dt-bindings/interrupt-controller/irq.h>
85 #include <dt-bindings/interrupt-controller/arm-gic.h>
86 #include <dt-bindings/reset/stericsson,db8500-prcc-reset.h>
87 #include <dt-bindings/arm/ux500_pm_domains.h>
89 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
90 reg = <0x80004000 0x1000>;
91 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
96 clock-frequency = <400000>;
97 clocks = <&prcc_kclk 3 3>, <&prcc_pclk 3 3>;
98 clock-names = "i2cclk", "apb_pclk";
99 power-domains = <&pm_domains DOMAIN_VAPE>;
100 resets = <&prcc_reset DB8500_PRCC_3 DB8500_PRCC_3_RESET_I2C0>;
104 compatible = "st,nomadik-i2c", "arm,primecell";
105 reg = <0x101f8000 0x1000>;
106 interrupt-parent = <&vica>;
108 clock-frequency = <100000>;
109 #address-cells = <1>;
111 clocks = <&i2c0clk>, <&pclki2c0>;
112 clock-names = "mclk", "apb_pclk";