mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-29 02:59:13 +00:00

Convert the TI DM816 AHCI SATA Controller to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
44 lines
786 B
YAML
44 lines
786 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/ata/ti,dm816-ahci.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: TI DM816 AHCI SATA Controller
|
|
|
|
maintainers:
|
|
- Bartosz Golaszewski <brgl@bgdev.pl>
|
|
|
|
allOf:
|
|
- $ref: ahci-common.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: ti,dm816-ahci
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: functional clock
|
|
- description: external reference clock
|
|
|
|
ti,hwmods:
|
|
const: sata
|
|
|
|
required:
|
|
- compatible
|
|
- clocks
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
sata@4a140000 {
|
|
compatible = "ti,dm816-ahci";
|
|
reg = <0x4a140000 0x10000>;
|
|
interrupts = <16>;
|
|
clocks = <&sysclk5_ck>, <&sata_refclk>;
|
|
};
|