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>
17 # Need a custom select here or 'arm,primecell' will match on lots of nodes
37 - const: arm,primecell
39 - const: stericsson,db8500-i2c
40 - const: st,nomadik-i2c
41 - const: arm,primecell
54 # Clock name in STn8815
58 # Clock name in DB8500 or EyeQ
74 $ref: /schemas/types.yaml#/definitions/phandle-array
77 - description: Phandle to OLB system controller node.
78 - description: Platform-wide controller ID (integer starting from zero).
80 The phandle pointing to OLB system controller node, with the I2C
90 unevaluatedProperties: false
93 - $ref: /schemas/i2c/i2c-controller.yaml#
98 const: mobileye,eyeq5-i2c
108 #include <dt-bindings/interrupt-controller/irq.h>
109 #include <dt-bindings/interrupt-controller/arm-gic.h>
110 #include <dt-bindings/reset/stericsson,db8500-prcc-reset.h>
111 #include <dt-bindings/arm/ux500_pm_domains.h>
113 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
114 reg = <0x80004000 0x1000>;
115 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
117 #address-cells = <1>;
120 clock-frequency = <400000>;
121 clocks = <&prcc_kclk 3 3>, <&prcc_pclk 3 3>;
122 clock-names = "i2cclk", "apb_pclk";
123 power-domains = <&pm_domains DOMAIN_VAPE>;
124 resets = <&prcc_reset DB8500_PRCC_3 DB8500_PRCC_3_RESET_I2C0>;
128 compatible = "st,nomadik-i2c", "arm,primecell";
129 reg = <0x101f8000 0x1000>;
130 interrupt-parent = <&vica>;
132 clock-frequency = <100000>;
133 #address-cells = <1>;
135 clocks = <&i2c0clk>, <&pclki2c0>;
136 clock-names = "mclk", "apb_pclk";
139 #include <dt-bindings/interrupt-controller/mips-gic.h>
141 compatible = "mobileye,eyeq5-i2c", "arm,primecell";
142 reg = <0x300000 0x1000>;
143 interrupt-parent = <&gic>;
144 interrupts = <GIC_SHARED 1 IRQ_TYPE_LEVEL_HIGH>;
145 clock-frequency = <400000>;
146 #address-cells = <1>;
148 clocks = <&i2c_ser_clk>, <&i2c_clk>;
149 clock-names = "i2cclk", "apb_pclk";
150 mobileye,olb = <&olb 0>;