Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1685254imm; Thu, 20 Sep 2018 00:55:04 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYZ8+wxmaygx50p944xAxYiJNIRtzFRMqz54ObGb4Pzc6B1NHwwuQAoXcwzkoMxuap7h7Dw X-Received: by 2002:a17:902:8b86:: with SMTP id ay6-v6mr38566186plb.25.1537430104341; Thu, 20 Sep 2018 00:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537430104; cv=none; d=google.com; s=arc-20160816; b=AJVXottE1uwMwwuyERwdw63Np+u4WgIt5EeQoBNh5PH2OKel7O4yIfXx0msOIwYtBd OMqfyE2KCb8n5X4klXASw9dx8QEjuIr7H9Dt5VSNttC3fJ51+kGD9sZ48gv6htC3q7Xv rRGx+PMGLA53cjA3Jm89nPmTQyU979WHvtYvE+XEDU4bn1I+OArYuVzlHCECpD6tNcM7 M08zTIThEG5OZN3zfkwghrLRlSOXIIe9BhNzGjXmG2Hi4L/LwzRIlC2FdkF/U2SmBATT 58py3SttKV1Ftj35Ql59dmQyLWepj7E7FpyUlNE6Rtq2nLzoAR3jkx64ijB5Uu61wN3F UqiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:openpgp:from:references:cc:to :subject:dkim-signature; bh=HS/qUo0KSn4e5rqSvPRq9Uqk0287bshrj/sMI3BlqJc=; b=FF3FZzPii0bM8Bhzk8RsRWaQ9HF+SCmhFNWTBgMqT3DpHP3UeXeuSh9sQVwkoBKBdl MbQ6Ws/Bg8R90dYIeCmzH+fYw67z2i/34yHaKldO6HoUHDYyc0+EzxZJus7ceIJnGXsb 2Vl2FdpLU7nQ2mCyakFIny7XidbSgL2/ifM/CjXGVZ6QBh+GaQZL45EScMjf48o1ZeQX 4Yr33lbk0WG4ohhLFmtJxYP3SBsCT8l8RMgd8xS4wNtnz4miQJQ+5Cvn8njdOE9OR48S glYRenM3GOl6ea9VxVM4qOWytk8HAflqXaV53+SxovmKhe3MLDOQL/mNxWfVw1wiJWFF 9Kwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ep1EBbQM; 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 1-v6si22918927plv.28.2018.09.20.00.54.48; Thu, 20 Sep 2018 00:55:04 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ep1EBbQM; 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 S1731305AbeITNgu (ORCPT + 99 others); Thu, 20 Sep 2018 09:36:50 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:36938 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726383AbeITNgu (ORCPT ); Thu, 20 Sep 2018 09:36:50 -0400 Received: by mail-wr1-f66.google.com with SMTP id u12-v6so8325732wrr.4 for ; Thu, 20 Sep 2018 00:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:openpgp:autocrypt:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=HS/qUo0KSn4e5rqSvPRq9Uqk0287bshrj/sMI3BlqJc=; b=ep1EBbQMRP8v1xkhja+2kbswQJgjSUQaeTcqBr1Em0c6j4MrcJXVpVzgHRxQs1vjyo 0XPlMEMze9bo4UY93bUiECVSDyaVCUOlhHhTXXJ/1+83eh5Y4zzxvi9B+Ax2fy45cqvl B1eAGC3kpQFu0wphk18P/4ut1Jc+vU8wE0sXbhoahSrgZebask3TekuNgN9bIPpHeUjH zepODqtGcYCPkFuzsOcuSZ6heWYrseRP7ncQzxVGzh5ukdOgbDmgBt/vpWR7f3/OAITR FSWF8E4b98IjmanpYqYjEmQx/9r6bF1z53lnWag5e5ak9oWh325k0nTm4fxFDykuhKN1 +9aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=HS/qUo0KSn4e5rqSvPRq9Uqk0287bshrj/sMI3BlqJc=; b=l98gCxuP3NdsGW7kYDJFAEWxkrzKdAZ+W9M29z+ziYJoYfF9MFN0/Dh2wk6jf1Rx/h 0peG1F7NjePokuWrocQ1kMicI8ZMKeuj/hE6sQbkuyWptSp0P2NOpP+XKrUb6gmnm8ye nbQqrkyKycR8T1VO70dCwiqWQEwF/xmqNjPcdgsx1nBYLc+04Zpj97/p8nswprLmS/x0 1A7w9OUpNc4q4ISyJccobRmIcN8mFtZih7bDvyYZ7k578bBDlc5tYfctx9VUC2HG04yY xzcdgSRjN29L/ZWC9W9ThCBN1NCwcExu/oI0kTqnSYV665A/h78PW2wxiiUIyapMqfRx 6YCA== X-Gm-Message-State: APzg51C43F5gSt9EFMwGmr7ys5upZb2Yqm6UzaUebPZU9iDQZRYIeLD/ 3hSBRwTdLk3V8Ht7xo9ioCuj7WJqGzY= X-Received: by 2002:a5d:4089:: with SMTP id o9-v6mr32339310wrp.133.1537430078357; Thu, 20 Sep 2018 00:54:38 -0700 (PDT) Received: from ?IPv6:2a01:e34:eeb6:4690:3dd5:8518:3946:bbed? ([2a01:e34:eeb6:4690:3dd5:8518:3946:bbed]) by smtp.gmail.com with ESMTPSA id a9-v6sm1113134wmf.28.2018.09.20.00.54.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Sep 2018 00:54:37 -0700 (PDT) Subject: Re: [PATCH v4 2/2] arm64: dts: meson-g12a: add initial g12a s905d2 SoC DT support To: Jianxin Pan , Kevin Hilman , linux-amlogic@lists.infradead.org Cc: Rob Herring , Jerome Brunet , Carlo Caione , Jian Hu , Yixun Lan , Hanjie Lin , Qiufang Dai , Victor Wan , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1537427368-11104-1-git-send-email-jianxin.pan@amlogic.com> <1537427368-11104-3-git-send-email-jianxin.pan@amlogic.com> From: Neil Armstrong Openpgp: preference=signencrypt Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT7CwHsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkBAAoJEBaat7Gkz/iubGIH/iyk RqvgB62oKOFlg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u7uZF Acmp6h8g Organization: Baylibre Message-ID: Date: Thu, 20 Sep 2018 09:54:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1537427368-11104-3-git-send-email-jianxin.pan@amlogic.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/09/2018 09:09, Jianxin Pan wrote: > Try to add basic DT support for the Amlogic's Meson-G12A S905D2 SoC, > which describe components as follows: Reserve Memory, CPU, GIC, IRQ, > Timer, UART. It's capable of booting up into the serial console. > > Signed-off-by: Jianxin Pan > Reviewed-by: Jerome Brunet > --- > arch/arm64/boot/dts/amlogic/Makefile | 1 + > arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 22 +++ > arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 172 ++++++++++++++++++++++++ > 3 files changed, 195 insertions(+) > create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts > create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12a.dtsi > > diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile > index a97c0e2..c31f29d6 100644 > --- a/arch/arm64/boot/dts/amlogic/Makefile > +++ b/arch/arm64/boot/dts/amlogic/Makefile > @@ -1,5 +1,6 @@ > # SPDX-License-Identifier: GPL-2.0 > dtb-$(CONFIG_ARCH_MESON) += meson-axg-s400.dtb > +dtb-$(CONFIG_ARCH_MESON) += meson-g12a-u200.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nanopi-k2.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nexbox-a95x.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-odroidc2.dtb > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts > new file mode 100644 > index 0000000..d267a37 > --- /dev/null > +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts > @@ -0,0 +1,22 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2018 Amlogic, Inc. All rights reserved. > + */ > + > +/dts-v1/; > + > +#include "meson-g12a.dtsi" > + > +/ { > + compatible = "amlogic,u200", "amlogic,g12a"; > + model = "Amlogic Meson G12A U200 Development Board"; > + > + aliases { > + serial0 = &uart_AO; > + }; Hi Jianxin, Please add the /memory and /chosen nodes. + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x40000000>; + }; Thanks, Neil > +}; > + > +&uart_AO { > + status = "okay"; > +}; > + [...]