Path: blob/master/Documentation/devicetree/bindings/i2c/hisilicon,hix5hd2-i2c.yaml
30383 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/i2c/hisilicon,hix5hd2-i2c.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#5title: I2C for HiSilicon hix5hd2 chipset platform67maintainers:8- Wei Yan <sledge.yanwei@huawei.com>910allOf:11- $ref: /schemas/i2c/i2c-controller.yaml#1213properties:14compatible:15enum:16- hisilicon,hix5hd2-i2c1718reg:19maxItems: 12021interrupts:22maxItems: 12324clocks:25maxItems: 12627clock-frequency:28description: Desired I2C bus frequency in Hz29default: 1000003031required:32- compatible33- reg34- interrupts35- clocks3637unevaluatedProperties: false3839examples:40- |41#include <dt-bindings/clock/hix5hd2-clock.h>4243i2c@f8b10000 {44compatible = "hisilicon,hix5hd2-i2c";45reg = <0xf8b10000 0x1000>;46interrupts = <0 38 4>;47clocks = <&clock HIX5HD2_I2C0_RST>;48#address-cells = <1>;49#size-cells = <0>;50};515253