HunZI a462d2b757
target: add phytium support (#11798)
* target: add phytium support

* kernel/video: add phytium platform ARM GPU support

* config: add EFI support to phytium armv8

* target: phytium: remove rtl8821cs driver

* target: phytium: refresh dts
2024-01-18 15:16:24 +08:00

49 lines
951 B
YAML
Executable File

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/i2c/snps,designware-i2c.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Phytium I2C/SMBus Controller
maintainers:
- Chen Baozi <chenbaozi@phytium.com.cn>
allOf:
- $ref: /schemas/i2c/i2c-controller.yaml#
properties:
compatible:
const: phytium,i2c
reg:
minItems: 1
items:
- description: Offset and length of the memory mapped registers
interrupts:
maxItems: 1
clocks:
minItems: 1
items:
- description: I2C controller reference clock source
unevaluatedProperties: false
required:
- compatible
- reg
- interrupts
examples:
- |
i2c0: i2c@28011000 {
compatible = "phytium,i2c";
reg = <0x0 0x28011000 0x0 0x1000>;
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "smbus_alert";
clocks = <&sysclk_48mhz>;
};
...