dt-bindings: Add devicetree bindings
Add snapshot of device tree bindings from keystone common kernel, branch
"android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065
from e32903b9a63bb558df8b803b076619c53c16baad to
android-mainline-keystone-qcom-release").
Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
This commit is contained in:
42
bindings/mips/loongson/devices.yaml
Normal file
42
bindings/mips/loongson/devices.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/mips/loongson/devices.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Loongson based Platforms Device Tree Bindings
|
||||
|
||||
maintainers:
|
||||
- Jiaxun Yang <jiaxun.yang@flygoat.com>
|
||||
description: |
|
||||
Devices with a Loongson CPU shall have the following properties.
|
||||
|
||||
properties:
|
||||
$nodename:
|
||||
const: '/'
|
||||
compatible:
|
||||
oneOf:
|
||||
|
||||
- description: Classic Loongson64 Quad Core + LS7A
|
||||
items:
|
||||
- const: loongson,loongson64c-4core-ls7a
|
||||
|
||||
- description: Classic Loongson64 Quad Core + RS780E
|
||||
items:
|
||||
- const: loongson,loongson64c-4core-rs780e
|
||||
|
||||
- description: Classic Loongson64 Octa Core + RS780E
|
||||
items:
|
||||
- const: loongson,loongson64c-8core-rs780e
|
||||
|
||||
- description: Generic Loongson64 Quad Core + LS7A
|
||||
items:
|
||||
- const: loongson,loongson64g-4core-ls7a
|
||||
|
||||
- description: Virtual Loongson64 Quad Core + VirtIO
|
||||
items:
|
||||
- const: loongson,loongson64v-4core-virtio
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
38
bindings/mips/loongson/ls2k-reset.yaml
Normal file
38
bindings/mips/loongson/ls2k-reset.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: "http://devicetree.org/schemas/mips/loongson/ls2k-reset.yaml#"
|
||||
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||
|
||||
title: Loongson 2K1000 PM Controller
|
||||
|
||||
maintainers:
|
||||
- Qing Zhang <zhangqing@loongson.cn>
|
||||
|
||||
description: |
|
||||
This controller can be found in Loongson-2K1000 Soc systems.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: loongson,ls2k-pm
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
bus {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
pm: reset-controller@1fe07000 {
|
||||
compatible = "loongson,ls2k-pm";
|
||||
reg = <0 0x1fe07000 0 0x422>;
|
||||
};
|
||||
};
|
||||
...
|
||||
42
bindings/mips/loongson/rs780e-acpi.yaml
Normal file
42
bindings/mips/loongson/rs780e-acpi.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: "http://devicetree.org/schemas/mips/loongson/rs780e-acpi.yaml#"
|
||||
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||
|
||||
title: Loongson RS780E PCH ACPI Controller
|
||||
|
||||
maintainers:
|
||||
- Jiaxun Yang <jiaxun.yang@flygoat.com>
|
||||
|
||||
description: |
|
||||
This controller can be found in Loongson-3 systems with RS780E PCH.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: loongson,rs780e-acpi
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
isa@0 {
|
||||
compatible = "isa";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <1>;
|
||||
ranges = <1 0 0 0x1000>;
|
||||
|
||||
acpi@800 {
|
||||
compatible = "loongson,rs780e-acpi";
|
||||
reg = <1 0x800 0x100>;
|
||||
};
|
||||
};
|
||||
|
||||
...
|
||||
Reference in New Issue
Block a user