Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3089879imu; Mon, 19 Nov 2018 10:27:26 -0800 (PST) X-Google-Smtp-Source: AJdET5e5PS/1w0s2Em895VZ3Ua6gk+2u8j+YmQ0e4hU5UmXBvHpOoG/Rpa5A9lgj7e2AV31LXVp3 X-Received: by 2002:a63:5207:: with SMTP id g7mr15641363pgb.253.1542652046492; Mon, 19 Nov 2018 10:27:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542652046; cv=none; d=google.com; s=arc-20160816; b=yrjBAeGUZ5WnUMfHn1+Sjlbc2szPRsXX7Wfsb+30FwUV53Crv8XXteqSFAjXgJCG/p Hd8vXV8DotzOfr6rR9IUDVR1NQpF1QFzlnXWn5GBBc801zW1OOUOmjD75qjEifr4fHhn wUuiEln6rsWCd1YgjR9GHFCGlvL0rQv+dJYSIzfKseIG08wIy47dm77MAzDeA0WuIczq c6HM/R5X4GGmp10A7xm9hod+uNeIRUG1JYx4B+3GJrDpVCAcTd8ko853a8Gn/kiiMO5a YxUWawV89hx7GCkYH+vm11YPkQXr1Q85Ea4P7jOZQ4/J4mAf5Ac/y4jRjTDpbQttAvXP XOog== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=d0bBFavQ8WDgPLbXvKlBnwf6KRg51QxK81b2IdADo2E=; b=zvGlh+oXCRctzN++xQgTZ5jMpCvLDQzAogCbMEIcFYxFP56iblt+igeCV7Gx3E6myn 6OzsDhDkm0jMs1lDC730EThqdX9wkft9ByHjNkyA1V9+/Cx1di6CU9SlAIdd7bXgH8C4 V1EtO0DtLMAPeUQwPdkSgW+i03Ej7b4FAqPHYYqfr2KZ+IaONVhyRYvH8PhwSMdb2FDC VXucRi0p+9bx5L/3mzbYyB/PEHSpgM1KJfGetU5XJcOWfURSQZAiKhHpI3tVaR151SpA AOpViYI8NvKiUX7hj0MAl1k9ceQShp3IVAQsLvOB+cTxsJrYlJ5bP83J9/0zITqEMell Nx+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=F7nrefU1; 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 j195si1497485pfd.165.2018.11.19.10.27.11; Mon, 19 Nov 2018 10:27:26 -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=F7nrefU1; 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 S1730301AbeKTEuz (ORCPT + 99 others); Mon, 19 Nov 2018 23:50:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:51878 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730160AbeKTEuy (ORCPT ); Mon, 19 Nov 2018 23:50:54 -0500 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E1AFF21104; Mon, 19 Nov 2018 18:26:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542651972; bh=jQf1Bb8hi7YDelC5XWCUyfk0FQssGT0UgFTNl+w3Ri0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=F7nrefU1L3ZoYUXtom+yfAvSlBnM9Hj+06BZIDU8w9HnOQ1eVk+SsMfTXiZwtL2gV eLGgwirGbTyf4l/C3XQulCEQ/nnJSACDbb3gqJCQ55GlP3rXnaCVHPW9tHEaCIgPkj hfHOeNDOeT+nPMBXv3jawjBRx0uZyJWsuxdA1DHY= Received: by mail-qk1-f170.google.com with SMTP id n12so50211180qkh.11; Mon, 19 Nov 2018 10:26:11 -0800 (PST) X-Gm-Message-State: AGRZ1gKdY+mYysz+U165u1QBgSMXkJLC0JrpIdnqU3l1SE+sc7acAw2j Gkn7H07nZBnEErm5UWVNYRSaS+p8vVCnB7+jAA== X-Received: by 2002:ae9:ef14:: with SMTP id d20mr21757242qkg.147.1542651971056; Mon, 19 Nov 2018 10:26:11 -0800 (PST) MIME-Version: 1.0 References: <20181119170939.19153-1-manivannan.sadhasivam@linaro.org> <20181119170939.19153-5-manivannan.sadhasivam@linaro.org> In-Reply-To: <20181119170939.19153-5-manivannan.sadhasivam@linaro.org> From: Rob Herring Date: Mon, 19 Nov 2018 12:25:58 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 04/16] arm: dts: Add devicetree for RDA8810PL SoC To: Manivannan Sadhasivam Cc: Olof Johansson , Arnd Bergmann , Thomas Gleixner , Jason Cooper , Marc Zyngier , Daniel Lezcano , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org, Amit Kucheria , Linus Walleij , zhao_steven@263.net, service@rdamicro.com, =?UTF-8?Q?Andreas_F=C3=A4rber?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 19, 2018 at 11:11 AM Manivannan Sadhasivam wrote: > > Add initial device tree for RDA8810PL SoC from RDA Microelectronics. > > Signed-off-by: Andreas F=C3=A4rber > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm/boot/dts/rda8810pl.dtsi | 95 ++++++++++++++++++++++++++++++++ > 1 file changed, 95 insertions(+) > create mode 100644 arch/arm/boot/dts/rda8810pl.dtsi > > diff --git a/arch/arm/boot/dts/rda8810pl.dtsi b/arch/arm/boot/dts/rda8810= pl.dtsi > new file mode 100644 > index 000000000000..7f1ff2021eff > --- /dev/null > +++ b/arch/arm/boot/dts/rda8810pl.dtsi > @@ -0,0 +1,95 @@ > +/* > + * RDA8810PL SoC > + * > + * Copyright (c) 2017 Andreas F=C3=A4rber > + * Copyright (c) 2018 Manivannan Sadhasivam > + * > + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) Goes on 1st line. checkpatch.pl will tell you this. > + */ > + > +/ { > + compatible =3D "rda,8810pl"; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + > + aliases { > + serial0 =3D &uart0; > + serial1 =3D &uart1; > + serial2 =3D &uart2; > + }; > + > + cpus { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + cpu@0 { > + device_type =3D "cpu"; > + compatible =3D "arm,cortex-a5"; > + reg =3D <0x0>; > + }; > + }; > + > + soc { soc@0 > + compatible =3D "simple-bus"; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + ranges =3D <0x0 0x0 0x80000000>; > + > + sram@100000 { > + compatible =3D "mmio-sram"; > + reg =3D <0x100000 0x10000>; Based on the address of this and everything else, perhaps you should move this to the top-level (or another bus node) and then either get rid of the soc node level or make it start at 0x20000000. Kind of depends on what the rest of the memory map looks like. > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + ranges; > + }; > + > + apb@20800000 { > + compatible =3D "simple-bus"; > + reg =3D <0x20800000 0x100000>; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + ranges =3D <0x0 0x20800000 0x100000>; > + }; > + > + apb@20900000 { > + compatible =3D "simple-bus"; > + reg =3D <0x20900000 0x100000>; By definition of a simple-bus, it should not have any registers. Or you should also have a specific compatible. > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + ranges =3D <0x0 0x20900000 0x100000>; > + }; > + > + apb@20a00000 { > + compatible =3D "simple-bus"; > + reg =3D <0x20a00000 0x100000>; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + ranges =3D <0x0 0x20a00000 0x100000>; > + > + uart0: serial@0 { > + compatible =3D "rda,8810pl-uart"; > + reg =3D <0x0 0x1000>; > + status =3D "disabled"; > + }; > + > + uart1: serial@10000 { > + compatible =3D "rda,8810pl-uart"; > + reg =3D <0x10000 0x1000>; > + status =3D "disabled"; > + }; > + > + uart2: serial@90000 { > + compatible =3D "rda,8810pl-uart"; > + reg =3D <0x90000 0x1000>; > + status =3D "disabled"; > + }; > + }; > + > + l2: cache-controller@21100000 { > + compatible =3D "arm,pl310-cache"; > + reg =3D <0x21100000 0x1000>; > + cache-unified; > + cache-level =3D <2>; > + }; > + }; > +}; > -- > 2.17.1 >