Received: by 10.223.164.221 with SMTP id h29csp1047451wrb; Sat, 21 Oct 2017 19:49:41 -0700 (PDT) X-Received: by 10.98.157.156 with SMTP id a28mr9344463pfk.74.1508640581716; Sat, 21 Oct 2017 19:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508640581; cv=none; d=google.com; s=arc-20160816; b=Jpc60KSIVKIGqlOvM96bKmpRsmJ6t3oRj48HPBiV3ho9ZgIK+VuSEaAEBRnypjDjhw o5T9yXaoXb6VkV3okjJjWnPmBJntBTF44v7v8niiZjU9bEG+GnPuAkiIMPJbhlQeh80s vlBgX1JpA08Q+X4E9UfjrsPqVhqJguwMOgFD1VO5LiQVcNZzU8DUy5iTYP06F8xyHUEa Yjk712DtL1JPqdSq/bx7ZSHD1sXRKawAiCbqCKyaOTdVOo+sv5KcpGPW2g5qdJ+GwTHA 6rKrFPWBG0QaFCuq98deQdiMRLs2Tu66/rcyLoeo+Y0UBIfeWrGNn8k6uuFQviVYqGto yr5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=gz25/Du+M8r/+ExgkPkH0eg85nD/4Ed1WDPYbTa7T80=; b=sXS2YKCyn7fYikskTorwkK2/WPb9MyFsL2ckhSpBQRJa2QlWUoW27sgNeZqaE8VJME 5nfxeAUg075mg/4gV9brQlPP6tWFv1YKIvJmQ5urQaofpCnUxmV/bz0ZmMyKRYUaGyxE yNKp9mTqDUB6cL9nwi3PwYgxZxmDdtdM0oSRCeXU4/Wu7dds6VV/b4Fym+JyWhZS6KFP 9LeKogpEIJ32x0eJyOaPA2g1sCoOtZ/DVK099jkV+S84uhaJD9d43OPIGDtdeRvqjOIS n0FQUIb1/wIDUJ3PGuu4+R4P3KozqsT36PECKFbMtAiw4/I3svt1Gp/Ems0vaF/Dmz1E dn7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EEPxo7+2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si3199689pfd.103.2017.10.21.19.49.28; Sat, 21 Oct 2017 19:49:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EEPxo7+2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751426AbdJVCre (ORCPT + 99 others); Sat, 21 Oct 2017 22:47:34 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:52599 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751281AbdJVCrb (ORCPT ); Sat, 21 Oct 2017 22:47:31 -0400 Received: by mail-pg0-f68.google.com with SMTP id a192so9293606pge.9; Sat, 21 Oct 2017 19:47:31 -0700 (PDT) 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; bh=gz25/Du+M8r/+ExgkPkH0eg85nD/4Ed1WDPYbTa7T80=; b=EEPxo7+2egKUcW3lD9QWiwr+TyEJNSC/qb6v2YEN4JKF5N5EH4H3EEdoNJYgdap577 bzICcVIYvKqax+LrUSEz2Qj7DZuba+Y3tV7vRvh4bZSXAo1pZN2Ul/3Px/9JdfErTZ04 j9OsY9ZKBg58hiKu7EVr5zQ1nCu+bZ3lb+kRx7QIi/dgvvXVkbR859h7GtBv6isEMzgY /Wtxtv5/IgsxixBTRN57S3HCY2pX3e/L/pd/qUoX69XBgPS0ejCpl4Me+dYBkf2eMqn3 c31rmZjmyLDGdku7Qe0+snQQTw8wKPo9pfc/TRabwXh8VRWsq3Bx/ZII/+5e8xyiwh8U twlQ== 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; bh=gz25/Du+M8r/+ExgkPkH0eg85nD/4Ed1WDPYbTa7T80=; b=KrscXMI4C5VBNmvDLQn1nhn2s4oxNTmP0sL9b/jAs4boXSluWr4MHHqDEzoxGXv2Wf w/77dNlPo0idaVtSqZK75QPwEaCEH8GnSN7MhHB0KT9XyCgKWqG8MCkR9hmSdPbcgyo4 0IXVYAsncmK839yi3+3fNSmlpiz8SgbEXv0zUD3FldXCtKjmrx2kPCTPWtAIE72WhcDf yHCBzcwya2NUEiegvob2T6ODX8Ama4fuwomyrlVbLIA0d9anR6gbuX2s16iNPCScU3nS JUjxO+aFftdwGv7cHMqpYGKrZ8XtZ+xIys6sjR+Ay8vYHVe0iDRokRxI1q2SEtFnxZ2/ QPoA== X-Gm-Message-State: AMCzsaWaf6/aiiGhSghuxV/sYQcZAkJK/x5oqMxrm4f1TMwpL3qZdxbr GfBQO7CFNCA7ZG8krkNFA6xfInV/8sM= X-Google-Smtp-Source: ABhQp+RPdhVYNn52UZULJxz1l7JEPIbDxjyw6/Rd6au4I41xOCGHSdTPCV82hIlnRnEfzUJLauRuYw== X-Received: by 10.99.100.67 with SMTP id y64mr2439003pgb.349.1508640450593; Sat, 21 Oct 2017 19:47:30 -0700 (PDT) Received: from localhost (g183.61-45-92.ppp.wakwak.ne.jp. [61.45.92.183]) by smtp.gmail.com with ESMTPSA id a17sm7856040pfk.173.2017.10.21.19.47.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Oct 2017 19:47:30 -0700 (PDT) From: Stafford Horne To: LKML Cc: Openrisc , Stafford Horne , Rob Herring , Mark Rutland , "David S. Miller" , Greg Kroah-Hartman , Mauro Carvalho Chehab , Randy Dunlap , devicetree@vger.kernel.org Subject: [PATCH 3/3] openrisc: dts: Add OpenRISC platform SoC Date: Sun, 22 Oct 2017 11:46:41 +0900 Message-Id: <20171022024641.28478-4-shorne@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171022024641.28478-1-shorne@gmail.com> References: <20171022024641.28478-1-shorne@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree binding documentation for the OpenRISC platform opencores,or1ksim. This is the main OpenRISC reference platform supporting multiple FPGA SoC's. This format is based on some of the mips binding docs as we have similar requirements. Also, update maintainers so openrisc related binding changes are visible to the openrisc team. Suggested-by: Pavel Machek Signed-off-by: Stafford Horne --- .../bindings/openrisc/opencores/or1ksim.txt | 39 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/openrisc/opencores/or1ksim.txt diff --git a/Documentation/devicetree/bindings/openrisc/opencores/or1ksim.txt b/Documentation/devicetree/bindings/openrisc/opencores/or1ksim.txt new file mode 100644 index 000000000000..4950c794ecbb --- /dev/null +++ b/Documentation/devicetree/bindings/openrisc/opencores/or1ksim.txt @@ -0,0 +1,39 @@ +OpenRISC Generic SoC +==================== + +Boards and FPGA SoC's which support the OpenRISC standard platform. The +platform essentially follows the conventions of the OpenRISC architecture +specification, however some aspects, such as the boot protocol have been defined +by the Linux port. + +Required properties +------------------- + - compatible: Must include "opencores,or1ksim" + +CPU nodes: +---------- +A "cpus" node is required. Required properties: + - #address-cells: Must be 1. + - #size-cells: Must be 0. +A CPU sub-node is also required for at least CPU 0. Since the topology may +be probed via CPS, it is not necessary to specify secondary CPUs. Required +properties: + - compatible: Must be "opencores,or1200-rtlsvn481". + - reg: CPU number. + - clock-frequency: The CPU clock frequency in Hz. +Example: + cpus { + #address-cells = <1>; + #size-cells = <0>; + cpu@0 { + compatible = "opencores,or1200-rtlsvn481"; + reg = <0>; + clock-frequency = <20000000>; + }; + }; + + +Boot protocol +------------- +The bootloader may pass the following arguments to the kernel: + - r3: address of a flattened device-tree blob or 0x0. diff --git a/MAINTAINERS b/MAINTAINERS index a57d13cb414d..71e4f6762196 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10008,6 +10008,7 @@ T: git git://github.com/openrisc/linux.git L: openrisc@lists.librecores.org W: http://openrisc.io S: Maintained +F; Documentation/devicetree/bindings/openrisc/ F: Documentation/openrisc/ F: arch/openrisc/ F: drivers/irqchip/irq-or1k-* -- 2.13.6 From 1583003167297824015@xxx Fri Nov 03 00:37:43 +0000 2017 X-GM-THRID: 1583003167297824015 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread