From patchwork Fri Nov 9 09:44:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150616 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923001ljp; Fri, 9 Nov 2018 01:45:01 -0800 (PST) X-Google-Smtp-Source: AJdET5dciIhH/vX+aa+iNyBJNhC0Hc7tSCIrTMrNHG406jgoKOpaT1vG94eg4YjCHIZrUVhJUyKH X-Received: by 2002:a17:902:f24:: with SMTP id 33-v6mr8475527ply.228.1541756701674; Fri, 09 Nov 2018 01:45:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756701; cv=none; d=google.com; s=arc-20160816; b=uCCgWZYCjDlYt+VH7ufHQF/av37iHCkMmtwVEj0c6EgD3vxRU+acUMz9nG7GKDjSMV SwTLsqKXoNfyM0wMTT7+UxK9fCGYToe2SlQT8kURRC8QD0hROdMR/D+RrdWcQv/mWDzE 6eGoshHnWiltwM+irPi7qOIjnpURljSQMHy20PzUZbkrbY9bnTGAvyTDVEuMyI7g4rbD 8JHwuTfN3gb9VUibU3bMo28IoqglMZI650O4ZiqseM0GJ9JoONVzTULau4YODvj93/vh SZxXbNPd+y/bXUjQW5bMju3hyLipY1OUWTK8MGqUPhHYhq/lrYrrnJ2zyYCt4mDZe2OL GUGQ== 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; bh=CI0vtFhzEWBoValPRHdJdBM7gkLCetZ7Qs0nNaCBMwM=; b=PdKvReH8vAqQETNznQN6A0cqyin3IZrJsRAGMbD2VJKgbtMhwgH/ddnCCdtrFxfgaM Xe6VnJ95MWR2+vthsII3NlPScB1X9GVHdK3AuXkg1AvKwOfg/hW22BlDdG39u30hFytg u7l9WtpSx+lt2OoL2UQ4b5pMrAzMU0yYOtau0wXuoMWNbZGnF8X4lZqNMCafYNu/SaBW srL5He8yX7qu//qmrQ8ZrW2WhDmTwkmTP8YfRA0/1DlTejRA6zNHXKSKBofP1pDifYTx IB4bOhd6NXbjVPM09zdrwUEQ6UdF8UHdwcbIYQql1w3zjF/IVLmUlSH6OBP989tXRb2N wU8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=u4on4zda; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x24-v6si9515plr.379.2018.11.09.01.45.01; Fri, 09 Nov 2018 01:45:01 -0800 (PST) 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=@kernel.org header.s=default header.b=u4on4zda; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727955AbeKITYp (ORCPT + 32 others); Fri, 9 Nov 2018 14:24:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:53224 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITYo (ORCPT ); Fri, 9 Nov 2018 14:24:44 -0500 Received: from localhost.localdomain (unknown [171.76.98.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 84CAF20892; Fri, 9 Nov 2018 09:44:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756698; bh=PnGBIQj6vQNCdyeotTZeKjaTKW4GDlmzKH3Hmd55qd0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u4on4zda1bMa+cQT3lieornNBGPMMQecf8WJ++cGFFmxRMuBg8pFyrmaelq2f5bwU vH2k4cSwoMF5M4l9QGAA3burd36yznS2j2yaLL5fQ0C2SzTpIg8xusxigIpBGlfH/y iEBDvAwb1j03WAC1IY9pZx2Mmn0LRqPCD3BPqmUw= From: Vinod Koul To: Andy Gross Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul Subject: [PATCH v5 01/18] arm64: dts: qcom: qcs404: add base dts files Date: Fri, 9 Nov 2018 15:14:00 +0530 Message-Id: <20181109094417.12109-2-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add base dts files for QCS404 chipset along with cpu, timer, gcc and uart2 nodes. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 175 +++++++++++++++++++++++++++++++++++ 1 file changed, 175 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs404.dtsi -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi new file mode 100644 index 000000000000..91abcdc78505 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -0,0 +1,175 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, Linaro Limited + +#include +#include + +/ { + interrupt-parent = <&intc>; + + #address-cells = <2>; + #size-cells = <2>; + + chosen { }; + + clocks { + xo_board: xo-board { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <19200000>; + }; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + CPU0: cpu@100 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x100>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU1: cpu@101 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x101>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU2: cpu@102 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x102>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU3: cpu@103 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x103>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + L2_0: l2-cache { + compatible = "cache"; + cache-level = <2>; + }; + }; + + memory@80000000 { + device_type = "memory"; + /* We expect the bootloader to fill in the size */ + reg = <0 0x80000000 0 0>; + }; + + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; + + soc: soc@0 { + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0 0xffffffff>; + compatible = "simple-bus"; + + gcc: clock-controller@1800000 { + compatible = "qcom,gcc-qcs404"; + reg = <0x01800000 0x80000>; + #clock-cells = <1>; + + assigned-clocks = <&gcc GCC_APSS_AHB_CLK_SRC>; + assigned-clock-rates = <19200000>; + }; + + blsp1_uart2: serial@78b1000 { + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; + reg = <0x078b1000 0x200>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + status = "okay"; + }; + + intc: interrupt-controller@b000000 { + compatible = "qcom,msm-qgic2"; + interrupt-controller; + #interrupt-cells = <3>; + reg = <0x0b000000 0x1000>, + <0x0b002000 0x1000>; + }; + + timer@b120000 { + #address-cells = <1>; + #size-cells = <1>; + ranges; + compatible = "arm,armv7-timer-mem"; + reg = <0x0b120000 0x1000>; + clock-frequency = <19200000>; + + frame@b121000 { + frame-number = <0>; + interrupts = , + ; + reg = <0x0b121000 0x1000>, + <0x0b122000 0x1000>; + }; + + frame@b123000 { + frame-number = <1>; + interrupts = ; + reg = <0x0b123000 0x1000>; + status = "disabled"; + }; + + frame@b124000 { + frame-number = <2>; + interrupts = ; + reg = <0x0b124000 0x1000>; + status = "disabled"; + }; + + frame@b125000 { + frame-number = <3>; + interrupts = ; + reg = <0x0b125000 0x1000>; + status = "disabled"; + }; + + frame@b126000 { + frame-number = <4>; + interrupts = ; + reg = <0x0b126000 0x1000>; + status = "disabled"; + }; + + frame@b127000 { + frame-number = <5>; + interrupts = ; + reg = <0xb127000 0x1000>; + status = "disabled"; + }; + + frame@b128000 { + frame-number = <6>; + interrupts = ; + reg = <0x0b128000 0x1000>; + status = "disabled"; + }; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; +};