brintos

brintos / linux-shallow public Read only

0
0
Text · 986 B · 9a1b95c Raw
55 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/i2c/nxp,lpc1788-i2c.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NXP I2C controller for LPC2xxx/178x/18xx/43xx8 9maintainers:10  - Vladimir Zapolskiy <vz@mleia.com>11 12allOf:13  - $ref: /schemas/i2c/i2c-controller.yaml#14 15properties:16  compatible:17    const: nxp,lpc1788-i2c18 19  reg:20    maxItems: 121 22  interrupts:23    maxItems: 124 25  clocks:26    maxItems: 127 28  clock-frequency:29    description: the desired I2C bus clock frequency in Hz30    default: 10000031 32  resets:33    maxItems: 134 35required:36  - compatible37  - reg38  - interrupts39  - clocks40 41unevaluatedProperties: false42 43examples:44  - |45    #include "dt-bindings/clock/lpc18xx-ccu.h"46 47    i2c@400a1000 {48        compatible = "nxp,lpc1788-i2c";49        reg = <0x400a1000 0x1000>;50        interrupts = <18>;51        clocks = <&ccu1 CLK_APB1_I2C0>;52        #address-cells = <1>;53        #size-cells = <0>;54    };55