From patchwork Wed Feb 1 19:46:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 93084 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2578979qgi; Wed, 1 Feb 2017 11:46:45 -0800 (PST) X-Received: by 10.84.194.37 with SMTP id g34mr6845025pld.105.1485978405722; Wed, 01 Feb 2017 11:46:45 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o17si15231822pgh.239.2017.02.01.11.46.45; Wed, 01 Feb 2017 11:46:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752093AbdBATqo (ORCPT + 7 others); Wed, 1 Feb 2017 14:46:44 -0500 Received: from mail-lf0-f41.google.com ([209.85.215.41]:36861 "EHLO mail-lf0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752061AbdBATqn (ORCPT ); Wed, 1 Feb 2017 14:46:43 -0500 Received: by mail-lf0-f41.google.com with SMTP id z134so234271221lff.3 for ; Wed, 01 Feb 2017 11:46:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=yCoO8TwtxIZvJe222NGK4DmVY/ndyrIkmnNgb7qZSEQ=; b=RRXd0L1apOFebSVah0LbF2Nntq29WYUV4dB7Nx7ww6prTguuim5pGLg0n72woDZC3O 66u6hAo5Zxzw0jSVSsRZcajkbh8AOSIkX82xRF0mR8fMHs3W5dcxJ12VgYeDn8Q3o4vF Xcfqar64G8M19UCQHdD+eOvgs4Ad9g8MvNchk= 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; bh=yCoO8TwtxIZvJe222NGK4DmVY/ndyrIkmnNgb7qZSEQ=; b=re7yH11IYy7X6ZFdJS2iOl9fvsVXq+QtsPEz0bQp4sGn8wC7myeL/pzwcxrbJq8fht Ym0JzX5Q7Jjiq3SMnKcR1PcL3igt1iBRX2jFBoNc2wJ1PvU0uZJx2DkvyzydVuDUnq1C lET9QYSqtFaNUuVLBddFnidsBNblOZv2jyj1Bh1zri+awCfWnKyhsbUXUlKn87T1c682 0V9ZLNUCiAKnPN7qESfURrQuyxTeHThbbAb1VUTv7F3aOPuFe9P5nlzr/3jrBQOGILWL b/OhL7AbEsgpLB4HdR9nvkzTWJLTAZEuvjwCbrzBRkTUDds+EUP/hHM86C/lkE14iuDK CbRQ== X-Gm-Message-State: AIkVDXKAXlBy4Z8oNL0fkZumHDUpHpg/sdC1CuYX82hw1Vrl8qw1JJiy2OO3Jg1ALk/YToDM X-Received: by 10.46.71.207 with SMTP id u198mr1903586lja.42.1485978401416; Wed, 01 Feb 2017 11:46:41 -0800 (PST) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id 70sm6004285lfq.14.2017.02.01.11.46.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Feb 2017 11:46:39 -0800 (PST) From: Linus Walleij To: Hans Ulli Kroll , Florian Fainelli , linux-arm-kernel@lists.infradead.org, Rob Herring Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 12/22 v2] ARM: dts: add top-level DT bindings for Cortina Gemini Date: Wed, 1 Feb 2017 20:46:32 +0100 Message-Id: <20170201194632.18455-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds the top level SoC bindings for Cortina systems Gemini platforms. Cc: Janos Laube Cc: Paulius Zaleckas Cc: Hans Ulli Kroll Cc: Florian Fainelli Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Rename required property "intcon" to "interrupt-controller" - Elaborate a bit on the SoC origins - Put the example DTS SoC nodes in a soc {} node --- Documentation/devicetree/bindings/arm/gemini.txt | 81 ++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/gemini.txt -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/arm/gemini.txt b/Documentation/devicetree/bindings/arm/gemini.txt new file mode 100644 index 000000000000..eb788302d3e9 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/gemini.txt @@ -0,0 +1,81 @@ +Cortina systems Gemini platforms + +The Gemini SoC is the project name for an ARMv4 FA525-based SoC originally +produced by Storlink Semiconductor around 2005. The company was renamed +later renamed Storm Semiconductor. The chip product name is Storlink SL3516. +It was derived from earlier products from Storm named SL3316 (Centroid) and +SL3512. + +Storm Semiconductor was acquired by Cortina Systems in 2008 and the SoC was +produced and used for NAS and similar usecases. In 2014 Cortina Systems was +in turn acquired by Inphi, who seem to have discontinued this product family. + +Required properties (in root node): + compatible = "cortina,gemini"; + +Required nodes: + +- syscon: the root node must have a system controller node pointing to the + global control registers, with the compatible string + "cortina,gemini-syscon", "syscon"; + +- timer: the root node must have a timer node pointing to the SoC timer + block, with the compatible string "cortina,gemini-timer" + See: clocksource/cortina,gemini-timer.txt + +- interrup-controller: the root node must have an interrupt controller + node pointing to the SoC interrupt controller block, with the compatible + string "cortina,gemini-interrupt-controller" + See interrupt-controller/cortina,gemini-interrupt-controller.txt + +Example: + +/ { + model = "Foo Gemini Machine"; + compatible = "cortina,gemini"; + #address-cells = <1>; + #size-cells = <1>; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + soc { + #address-cells = <1>; + #size-cells = <1>; + ranges; + compatible = "simple-bus"; + interrupt-parent = <&intcon>; + + syscon: syscon@40000000 { + compatible = "cortina,gemini-syscon", "syscon"; + reg = <0x40000000 0x1000>; + }; + + uart0: serial@42000000 { + compatible = "ns16550a"; + reg = <0x42000000 0x100>; + clock-frequency = <48000000>; + interrupts = <18 IRQ_TYPE_LEVEL_HIGH>; + reg-shift = <2>; + }; + + timer@43000000 { + compatible = "cortina,gemini-timer"; + reg = <0x43000000 0x1000>; + interrupt-parent = <&intcon>; + interrupts = <14 IRQ_TYPE_EDGE_RISING>, /* Timer 1 */ + <15 IRQ_TYPE_EDGE_RISING>, /* Timer 2 */ + <16 IRQ_TYPE_EDGE_RISING>; /* Timer 3 */ + syscon = <&syscon>; + }; + + intcon: interrupt-controller@48000000 { + compatible = "cortina,gemini-interrupt-controller"; + reg = <0x48000000 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +};