Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp594720imm; Thu, 6 Sep 2018 07:19:00 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda30V0kV7xNPR91VFoROE9j2l1YHQqEeTonddN+u9ogT+KbAqStW+DiLaVMlHub5SBzUEsr X-Received: by 2002:a63:1e0b:: with SMTP id e11-v6mr2980892pge.44.1536243540659; Thu, 06 Sep 2018 07:19:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536243540; cv=none; d=google.com; s=arc-20160816; b=NmcMH76GFmngNdFQcGOfyZV/BSJYVbChSVCMOX7NlFTB/GVR6sQ+vqmBzQ331cyfb2 tG5l9QpV2P8YMbvJGcHjjiV0sh8SGeKcsWceQe+Ctspcks/tYbB0hLJZc3auQeTI0Srb RTTWiP1FlOqhupsqWv1WwjBXWD0mm+kvW5AfCJrSMlg8vBYPBZh9PO/aOef4U1RfVfHG kyS6XSmQCNjOtaQrM2qXGI33EcJssldaAWWIx8lEKpftLX1dcSgfEH9+QT9du5AfKnRo AALPkhDjIGDlJQqUhMTeEnMDBw5qCPWdUx0d5MBdaM5dkHClZkSRHHdRYmlD1qB60RDg iecQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=gStD7gng+LQGi3GcB0ZkoptvESlejc3poKJrQW8iS94=; b=lYS5lTFRunkdD3z6Ol9rbNl/1rCW1X9OPd2Shyqom5jFPgmjt+ulUT78DJAaxS3J0g N8rCZFWMPEpzy7Ymxr5QRpONsdh/CaoQ6LL3NjKgx51XfpAlw8Tc3BHIotR9R733vMi6 5ByYH7Y5xMdIUK33huJlBJ2zsuLsh46Z+n2wxvrtloQIuYXk/2x4xV29vGFJIMlQe2ET yky0R50fMQhAEibZCW0FQ9UgvtwrzTWezV/uDIMLVAgQ1jLIUyul4uVM69PtQbjEvUvD kX0g0lohH2JudEQ4vRNFjKNCbQEan1g0JpAqTPVGrs5KebLqKzCNZ6UrHz+4nNJ2VEuu +vbg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n28-v6si5367475pfg.127.2018.09.06.07.18.43; Thu, 06 Sep 2018 07:19:00 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729875AbeIFSwe (ORCPT + 99 others); Thu, 6 Sep 2018 14:52:34 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:44264 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729350AbeIFSwe (ORCPT ); Thu, 6 Sep 2018 14:52:34 -0400 Received: by mail-qt0-f196.google.com with SMTP id k38-v6so12370100qtk.11; Thu, 06 Sep 2018 07:16:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gStD7gng+LQGi3GcB0ZkoptvESlejc3poKJrQW8iS94=; b=dqMq698ENstbANNxCOVW5G9i0dX7RF/Ta/LSLob/M2nilcU01/D8Zyw0rkw6ufCcVZ Jy7lwsHI2zs9NVFku7Txt/INrs4/eFW42uuws1gGRctBRqA+kTE1bWuMZL5D2ArV79Wf p+2ifJDgCq3oJhshk0Ed+W/oWNRyLxMhQmN0rWV+Hqg6qlgqDQJDZmk5qVFPE7c4UCqQ Yu/VQ1C4J6VTopWNtCE6+O4MJYPXKSAbQe6W3GYWafFeww4gepZKVyS2DigOvcHG2cII qvzsFY/2s5usidKlr6phJNVAE5AcrQb2x09SccxCvbFRxd1pRDwM6ZVSOjJmBEURLlE7 POdw== X-Gm-Message-State: APzg51DWYFfQ1zZX6I71C4exIAM1OfXUSv8pUgyNCSJ1Mlmb0CArLkKU jOq6BaH502p2SHeKlrx+Yx4dndSL0u9+xzAEGSzMNg== X-Received: by 2002:a0c:fb08:: with SMTP id c8-v6mr2169704qvp.149.1536243407082; Thu, 06 Sep 2018 07:16:47 -0700 (PDT) MIME-Version: 1.0 References: <66335e5f59c186b291f8c3c98c9dadbd61d0cd3e.1536138304.git.ren_guo@c-sky.com> In-Reply-To: <66335e5f59c186b291f8c3c98c9dadbd61d0cd3e.1536138304.git.ren_guo@c-sky.com> From: Arnd Bergmann Date: Thu, 6 Sep 2018 16:16:30 +0200 Message-ID: Subject: Re: [PATCH V3 17/26] csky: Misc headers To: Guo Ren Cc: linux-arch , Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, Thomas Petazzoni , wbx@uclibc-ng.org, Greentime Hu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 5, 2018 at 2:08 PM Guo Ren wrote: > diff --git a/arch/csky/boot/dts/qemu.dts b/arch/csky/boot/dts/qemu.dts > new file mode 100644 > index 0000000..d36e4cd > --- /dev/null > +++ b/arch/csky/boot/dts/qemu.dts > @@ -0,0 +1,77 @@ > +/dts-v1/; > +/ { > + compatible = "csky,qemu"; > + #address-cells = <1>; > + #size-cells = <1>; > + interrupt-parent = <&intc>; Ideally, qemu would supply a dtb file that matches the current configuration, as we do for instance on the ARM 'virt' machine. This allows you much more flexibility in running all kinds of options, as well as extending qemu later with new features. > + > + timer0: timer@0xffffd000 { > + compatible = "snps,dw-apb-timer"; > + reg = <0xffffd000 0x1000>; > + clocks = <&dummy_apb>; > + clock-names = "timer"; > + interrupts = <1>; > + }; > + > + timer1: timer@0xffffd014 { Drop the leading '0x' in the unit-address here (in all devices) Arnd