From patchwork Fri Feb 21 05:09:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 11395559 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 66A5113A4 for ; Fri, 21 Feb 2020 05:14:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 46B7224650 for ; Fri, 21 Feb 2020 05:14:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=flygoat.com header.i=jiaxun.yang@flygoat.com header.b="OsJkUZiK" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726088AbgBUFOR (ORCPT ); Fri, 21 Feb 2020 00:14:17 -0500 Received: from sender3-op-o12.zoho.com.cn ([124.251.121.243]:17838 "EHLO sender3-op-o12.zoho.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726018AbgBUFOR (ORCPT ); Fri, 21 Feb 2020 00:14:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1582262003; s=mail; d=flygoat.com; i=jiaxun.yang@flygoat.com; h=From:To:Cc:Message-ID:Subject:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=0pEcnOKM7CsK9fnPOt3+WeuiOGPkHTmreGSIcMsbBH0=; b=OsJkUZiKxkoamj43s+lBiW+hbxeh6/LDkXj7Rbjjluy4ehSTCq3IZ0/pJOrHry1J 4ZgEvpRjtxr6AIjVf/PFMGeCPhGDJGAsHKzt3IEh49wPBD/5B6yCX90qsI3jPvlmuDY R6ozVrhH6uO0D5devd7xoLn38I1Z5Mhgjt5W6Ffw= Received: from localhost.localdomain (39.155.141.144 [39.155.141.144]) by mx.zoho.com.cn with SMTPS id 1582262001627515.8880634481673; Fri, 21 Feb 2020 13:13:21 +0800 (CST) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: Jiaxun Yang , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Mark Rutland , Ralf Baechle , Paul Burton , Huacai Chen , Greg Kroah-Hartman , Allison Randal , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Message-ID: <20200221050942.507775-8-jiaxun.yang@flygoat.com> Subject: [PATCH v4 07/10] dt-bindings: mips: Add loongson boards Date: Fri, 21 Feb 2020 13:09:22 +0800 X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221050942.507775-1-jiaxun.yang@flygoat.com> References: <20200221050942.507775-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 X-ZohoCNMailClient: External Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Prepare for later dts. Signed-off-by: Jiaxun Yang --- .../bindings/mips/loongson/devices.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/mips/loongson/devices.yaml diff --git a/Documentation/devicetree/bindings/mips/loongson/devices.yaml b/Documentation/devicetree/bindings/mips/loongson/devices.yaml new file mode 100644 index 000000000000..32bec784da87 --- /dev/null +++ b/Documentation/devicetree/bindings/mips/loongson/devices.yaml @@ -0,0 +1,29 @@ +# 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 +description: | + Devices with a Loongson CPU shall have the following properties. + Note that generic device is used for built-in dtbs and will be + patched during boot on firmware without OF support. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + + - description: Generic Loongson3 4Core + RS780E + items: + - const: loongson,loongson3-4core-rs780e + + - description: Generic Loongson3 8Core + RS780E + items: + - const: loongson,loongson3-8core-rs780e +...