mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 07:33:56 +00:00
993c2c89a8
Add the compatible for i.MX8ULP. Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Jacky Bai <ping.bai@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
68 lines
1.3 KiB
YAML
68 lines
1.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Freescale Low Power Inter IC (LPI2C) for i.MX
|
|
|
|
maintainers:
|
|
- Anson Huang <Anson.Huang@nxp.com>
|
|
|
|
allOf:
|
|
- $ref: /schemas/i2c/i2c-controller.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- enum:
|
|
- fsl,imx7ulp-lpi2c
|
|
- items:
|
|
- enum:
|
|
- fsl,imx8qxp-lpi2c
|
|
- fsl,imx8dxl-lpi2c
|
|
- fsl,imx8qm-lpi2c
|
|
- fsl,imx8ulp-lpi2c
|
|
- const: fsl,imx7ulp-lpi2c
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
assigned-clock-parents: true
|
|
assigned-clock-rates: true
|
|
assigned-clocks: true
|
|
clock-frequency: true
|
|
|
|
clock-names:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/imx7ulp-clock.h>
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
i2c@40a50000 {
|
|
compatible = "fsl,imx7ulp-lpi2c";
|
|
reg = <0x40A50000 0x10000>;
|
|
interrupt-parent = <&intc>;
|
|
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&clks IMX7ULP_CLK_LPI2C7>;
|
|
};
|