mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Drop the requirement of "-master" suffix in node names because: 1. "Master" word is discouraged and MIPI Alliance renamed it to "Controller". 2. Some devices can operate in Controller (Master) or Target mode, thus the name is not accurate in such cases. 3. Other buses, like I2C controllers, use simple "i2c". Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Jeremy Kerr <jk@codeconstruct.com.au> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20240117075618.81932-1-krzysztof.kozlowski@linaro.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
73 lines
1.5 KiB
YAML
73 lines
1.5 KiB
YAML
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/i3c/aspeed,ast2600-i3c.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: ASPEED AST2600 i3c controller
|
|
|
|
maintainers:
|
|
- Jeremy Kerr <jk@codeconstruct.com.au>
|
|
|
|
allOf:
|
|
- $ref: i3c.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: aspeed,ast2600-i3c
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
resets:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
sda-pullup-ohms:
|
|
enum: [545, 750, 2000]
|
|
default: 2000
|
|
description: |
|
|
Value to configure SDA pullup resistor, in Ohms.
|
|
|
|
aspeed,global-regs:
|
|
$ref: /schemas/types.yaml#/definitions/phandle-array
|
|
items:
|
|
- items:
|
|
- description: phandle to i3c global register syscon node
|
|
- description: index of this i3c controller in the global register set
|
|
description: |
|
|
A (phandle, controller index) reference to the i3c global register set
|
|
used for this device.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- interrupts
|
|
- aspeed,global-regs
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
i3c@2000 {
|
|
compatible = "aspeed,ast2600-i3c";
|
|
reg = <0x2000 0x1000>;
|
|
#address-cells = <3>;
|
|
#size-cells = <0>;
|
|
clocks = <&syscon 0>;
|
|
resets = <&syscon 0>;
|
|
aspeed,global-regs = <&i3c_global 0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_i3c1_default>;
|
|
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
...
|