From patchwork Tue Jan 2 08:25:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greentime Hu X-Patchwork-Id: 854428 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="OWXl2udn"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3z9nJb3HZZz9t2Q for ; Tue, 2 Jan 2018 19:28:31 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752708AbeABI23 (ORCPT ); Tue, 2 Jan 2018 03:28:29 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:33555 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752520AbeABI2V (ORCPT ); Tue, 2 Jan 2018 03:28:21 -0500 Received: by mail-pg0-f68.google.com with SMTP id g7so24095258pgs.0; Tue, 02 Jan 2018 00:28:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=cYqyGnWnTw15b6t9JGPbEFRJtXXk7DlDNIfuqQsYZp0=; b=OWXl2udn5FGxI+R4ubFLiJspSmw3mSZyKGSDEt5HiF7JmDfTfY8ZcXIAsnOiIAHFft N/OoLjs1GbD1It2a93R57RbqD2EKxNoeuBxNxj8F3hrNnTDTuco7brBsuxZbJj/OGuJG oWg9qP8WprPAIHE9iXOoHGjCijujdE68XRctv2YqU8SUOuyAYPLV1j9tJty5RFV08p7X VD5HdwACJGKG9ZkBZ+kxwgU8yYwcvq0q+3llOEelUa8CG8J96csLgTLWLCED+sTxE7f0 0CkJJVX+ww2Jeyjxw/0qEroFF3jEjX3cCK04Bo8Mxh7Gk/X962U45TaIC9ssZ/LX8BvX czHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=cYqyGnWnTw15b6t9JGPbEFRJtXXk7DlDNIfuqQsYZp0=; b=nuhwMcciGxIesw0GE9G7Nx8bkqYVTqbNTwYF7G3EuU5IFQb34kB7J5fDqgqs1RxC8Z 7Fvy5xjBzoH1QCB10rzSG1yzgrOM9E2Q4ccGnS4y4sQ6Imcj9gbF9l7OwY7W1ZRuy/Hh mzCqDSXbNqk/miivI8VuMdJkckPoGoSkVmnUYiXpviNB9iZGeHCDXw+s8zarP3by4znK zRUdcUjuYoEl8u+gjaqVimjFyCpYWD3PaknJZNLG0TshQKQxPxix0fKYLyn1PIiXODG4 kkTcK7+K50S1L5LzZOrhn5/kk1PcbPCDw+MwF8uVClKDg+yIAhERdswKQ9nlawuXQ42Y 7fZQ== X-Gm-Message-State: AKGB3mL7LRLjFs6mrI9yQCIVvuHioWhNQhW0aDtIoB4Krv9Q5LlGWF6y zXabAig/BgbsZQzSKrW/Y0I= X-Google-Smtp-Source: ACJfBotSjon22AGT/kgQ/dprLOPogvHY0dNsNbPYiCMFTUc/oxtJM8SqGJB0PyuwCLYOeLW+eD41hQ== X-Received: by 10.99.140.19 with SMTP id m19mr40327540pgd.47.1514881701160; Tue, 02 Jan 2018 00:28:21 -0800 (PST) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id 76sm19681729pge.89.2018.01.02.00.28.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jan 2018 00:28:20 -0800 (PST) From: Greentime Hu To: greentime@andestech.com, linux-kernel@vger.kernel.org, arnd@arndb.de, linux-arch@vger.kernel.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, netdev@vger.kernel.org, deanbo422@gmail.com, devicetree@vger.kernel.org, viro@zeniv.linux.org.uk, dhowells@redhat.com, will.deacon@arm.com, daniel.lezcano@linaro.org, linux-serial@vger.kernel.org, geert.uytterhoeven@gmail.com, linus.walleij@linaro.org, mark.rutland@arm.com, greg@kroah.com, ren_guo@c-sky.com, rdunlap@infradead.org, davem@davemloft.net, jonas@southpole.se, stefan.kristiansson@saunalahti.fi, shorne@gmail.com Cc: green.hu@gmail.com, Vincent Chen , Rick Chen , Zong Li Subject: [PATCH v5 31/39] dt-bindings: nds32 CPU Bindings Date: Tue, 2 Jan 2018 16:25:03 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Greentime Hu This patch adds nds32 CPU binding documents. Signed-off-by: Vincent Chen Signed-off-by: Rick Chen Signed-off-by: Zong Li Signed-off-by: Greentime Hu Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/nds32/cpus.txt | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/nds32/cpus.txt diff --git a/Documentation/devicetree/bindings/nds32/cpus.txt b/Documentation/devicetree/bindings/nds32/cpus.txt new file mode 100644 index 0000000..9a52937 --- /dev/null +++ b/Documentation/devicetree/bindings/nds32/cpus.txt @@ -0,0 +1,37 @@ +* Andestech Processor Binding + +This binding specifies what properties must be available in the device tree +representation of a Andestech Processor Core, which is the root node in the +tree. + +Required properties: + + - compatible: + Usage: required + Value type: + Definition: should be one of: + "andestech,n13" + "andestech,n15" + "andestech,d15" + "andestech,n10" + "andestech,d10" + "andestech,nds32v3" + - device_type + Usage: required + Value type: + Definition: must be "cpu" + - reg: Contains CPU index. + - clock-frequency: Contains the clock frequency for CPU, in Hz. + +* Examples + +/ { + cpus { + cpu@0 { + device_type = "cpu"; + compatible = "andestech,n13", "andestech,nds32v3"; + reg = <0x0>; + clock-frequency = <60000000> + }; + }; +};