Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2995920imm; Fri, 20 Jul 2018 08:22:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeil9ap2fL8zpPOlvx8jCwRiR/uOs6naFXkv5vCIyapW1s3a0i4GYXpWgWfbD/BLgpjcT2+ X-Received: by 2002:a62:4c0f:: with SMTP id z15-v6mr2638250pfa.110.1532100169057; Fri, 20 Jul 2018 08:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532100169; cv=none; d=google.com; s=arc-20160816; b=gik3EAfE6+9Y6B/9XoRYmtMLSxD3WXqNUZwVlHNvGS7mIIDDSvkcGSsuMtAQnb3Yt8 lgo6g1MYuNHHe5tLevHWfLpUwnVu3wFOnoru2XVbr/HQU2eGJPd1ZJNu3P2crQWH+ERx 7PKO2s8J30CVzR2FluifxVc9R5ma6YUMw+hpFbRr1p7s7Dg6sULBuIUk2jik+URGQYu1 yqXJVQmeK9N55jaSwsE5wIVnTCjgyehIjCxWQNthlBdt8K0yawlPBf601KE6qpTGOynf OorjIDi7Co62CycVu3/nuL0KmL6kGBN24Vp2OfLd/H39sfjaVZEfc8xOpHYe5S63ufQG PRPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=mnOoq1z2VNAwi8n2pRjCdLmHnpnjgrFSnrS+PFiVlvI=; b=CEw+ELP/l1auPUpIzeNqNYujJ0ev7drmSRv2Af498k9re2SglK/3v4uKRN22sFqzOm A8VwRc0XaZi5QBV6j7UgyHKoMxTOKbO9WLdk8fsv+yZXi6420oGRoFcbaMOrSn0rtB0H OipfQRmoozKkYFj7WGkiI0LX+iEmy8dV8V6i9u/G5BUM+UG36FYOQk+7j/jYhyQN/aHq aztTRn6Wp2D2IUaBlt3ojhcyNlLvE/TQ744Y1Sk6KvdubCVobS/hwI4+/f0MgCNdGLIg sQnaIU3QgnPLV08t3oPmYpUDgAFBHwjJpYbUpxPGT54OIHn/iwfs63r5ITHk3eiQCG+8 q+tg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 n38-v6si2010944pgb.536.2018.07.20.08.22.33; Fri, 20 Jul 2018 08:22:49 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732922AbeGTQKG (ORCPT + 99 others); Fri, 20 Jul 2018 12:10:06 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:43548 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731678AbeGTQKG (ORCPT ); Fri, 20 Jul 2018 12:10:06 -0400 Received: by mail-io0-f193.google.com with SMTP id y10-v6so10224831ioa.10; Fri, 20 Jul 2018 08:21:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mnOoq1z2VNAwi8n2pRjCdLmHnpnjgrFSnrS+PFiVlvI=; b=YCPL+YhC7CXfmc0TRHcu3WYbnn2KLpplSHI+8oAaPJwxFSxzb2/NPeuGEU/yrSnKiY QAG3kdyrOZJUbu/WTR+vnUw0HvFjqxvvDaM53dniakLKEDm+xuDqDcHmiWkLzOIocHS/ IKC3DNaMafGbhxQR0X9wFbNggZewSP3rmFWmUQhMAMzhqy7smFxBs1zI30kcw2firXiS C38fTdmyBDNX7QmNrBunlgrv0KP+hkGJruAgTBeurNlH5N6e0Dcggru0fQwf7MOLxqcv L3ILW6NMyzboNyaO96B4eee+CUNji3yuDGwGCqm1FvkBxT+G4ndZDyV8JtQsOsuFF1rp 3eyw== X-Gm-Message-State: AOUpUlHKF73Oro5gf12+zzBQvpB8+U6aW3qrGsiODaRE8/wzfowNO5Ts D0RawjkBhGb4fOXZuglj/w== X-Received: by 2002:a6b:5306:: with SMTP id h6-v6mr1981415iob.2.1532100079028; Fri, 20 Jul 2018 08:21:19 -0700 (PDT) Received: from localhost ([24.51.61.72]) by smtp.gmail.com with ESMTPSA id v13-v6sm1333438ita.38.2018.07.20.08.21.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Jul 2018 08:21:18 -0700 (PDT) Date: Fri, 20 Jul 2018 09:21:17 -0600 From: Rob Herring To: Jisheng Zhang Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Subject: Re: [PATCH 3/3] arm64: dts: synaptics: add dtsi file for Synaptics AS370 SoC Message-ID: <20180720152117.GB26487@rob-hp-laptop> References: <20180713171712.05f58a74@xhacker.debian> <20180713172626.5ca0e30f@xhacker.debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180713172626.5ca0e30f@xhacker.debian> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 13, 2018 at 05:26:26PM +0800, Jisheng Zhang wrote: > Add initial dtsi file to support Synaptics AS370 SoC with quad > Cortex-A53 CPUs. > > Signed-off-by: Jisheng Zhang > --- > arch/arm64/boot/dts/synaptics/as370.dtsi | 177 +++++++++++++++++++++++ > 1 file changed, 177 insertions(+) > create mode 100644 arch/arm64/boot/dts/synaptics/as370.dtsi > > diff --git a/arch/arm64/boot/dts/synaptics/as370.dtsi b/arch/arm64/boot/dts/synaptics/as370.dtsi > new file mode 100644 > index 000000000000..20f3d658c566 > --- /dev/null > +++ b/arch/arm64/boot/dts/synaptics/as370.dtsi > @@ -0,0 +1,177 @@ > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > +/* > + * Copyright (C) 2018 Synaptics Incorporated > + * > + * Author: Jisheng Zhang > + */ > + > +#include > + > +/ { > + compatible = "syna,as370"; > + interrupt-parent = <&gic>; > + #address-cells = <2>; > + #size-cells = <2>; > + > + aliases { > + serial0 = &uart0; This normally goes in the board file. All boards will use this? > + }; > + > + psci { > + compatible = "arm,psci-1.0"; > + method = "smc"; > + }; > + > + cpus { > + #address-cells = <1>; > + #size-cells = <0>; > + > + cpu0: cpu@0 { > + compatible = "arm,cortex-a53", "arm,armv8"; > + device_type = "cpu"; > + reg = <0x0>; > + enable-method = "psci"; > + next-level-cache = <&l2>; > + cpu-idle-states = <&CPU_SLEEP_0>; > + }; > + > + cpu1: cpu@1 { > + compatible = "arm,cortex-a53", "arm,armv8"; > + device_type = "cpu"; > + reg = <0x1>; > + enable-method = "psci"; > + next-level-cache = <&l2>; > + cpu-idle-states = <&CPU_SLEEP_0>; > + }; > + > + cpu2: cpu@2 { > + compatible = "arm,cortex-a53", "arm,armv8"; > + device_type = "cpu"; > + reg = <0x2>; > + enable-method = "psci"; > + next-level-cache = <&l2>; > + cpu-idle-states = <&CPU_SLEEP_0>; > + }; > + > + cpu3: cpu@3 { > + compatible = "arm,cortex-a53", "arm,armv8"; > + device_type = "cpu"; > + reg = <0x3>; > + enable-method = "psci"; > + next-level-cache = <&l2>; > + cpu-idle-states = <&CPU_SLEEP_0>; > + }; > + > + l2: cache { > + compatible = "cache"; Why do you need this node? Doesn't define > + }; > + > + idle-states { > + entry-method = "psci"; > + CPU_SLEEP_0: cpu-sleep-0 { > + compatible = "arm,idle-state"; > + local-timer-stop; > + arm,psci-suspend-param = <0x0010000>; > + entry-latency-us = <75>; > + exit-latency-us = <155>; > + min-residency-us = <1000>; > + }; > + }; > + }; > + > + osc: osc { > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <25000000>; > + }; > + > + pmu { > + compatible = "arm,cortex-a53-pmu"; > + interrupts = , > + , > + , > + ; > + interrupt-affinity = <&cpu0>, > + <&cpu1>, > + <&cpu2>, > + <&cpu3>; > + }; > + > + timer { > + compatible = "arm,armv8-timer"; > + interrupts = , > + , > + , > + ; > + }; > + > + soc@f7000000 { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0 0 0xf7000000 0x1000000>; > + > + gic: interrupt-controller@901000 { > + compatible = "arm,gic-400"; > + #interrupt-cells = <3>; > + interrupt-controller; > + reg = <0x901000 0x1000>, > + <0x902000 0x2000>, > + <0x904000 0x2000>, > + <0x906000 0x2000>; > + interrupts = ; > + }; > + > + apb@e80000 { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0 0xe80000 0x10000>; > + > + uart0: uart@0c00 { serial@c00 > + compatible = "snps,dw-apb-uart"; > + reg = <0x0c00 0x100>; > + interrupts = ; > + clocks = <&osc>; > + reg-shift = <2>; > + status = "disabled"; > + }; > + > + gpio0: gpio@1800 { > + compatible = "snps,dw-apb-gpio"; > + reg = <0x1800 0x400>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + porta: gpio-port@0 { > + compatible = "snps,dw-apb-gpio-port"; > + gpio-controller; > + #gpio-cells = <2>; > + snps,nr-gpios = <32>; > + reg = <0>; > + interrupt-controller; > + #interrupt-cells = <2>; > + interrupts = ; > + }; > + }; > + > + gpio1: gpio@2000 { > + compatible = "snps,dw-apb-gpio"; > + reg = <0x2000 0x400>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + portb: gpio-port@1 { > + compatible = "snps,dw-apb-gpio-port"; > + gpio-controller; > + #gpio-cells = <2>; > + snps,nr-gpios = <32>; > + reg = <0>; > + interrupt-controller; > + #interrupt-cells = <2>; > + interrupts = ; > + }; > + }; > + }; > + }; > +}; > -- > 2.18.0 > > -- > 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