From patchwork Wed Nov 21 03:36:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10691907 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5DB6D14DE for ; Wed, 21 Nov 2018 03:54:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4658528700 for ; Wed, 21 Nov 2018 03:54:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 34CBE29500; Wed, 21 Nov 2018 03:54:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CBFF328700 for ; Wed, 21 Nov 2018 03:54:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x6v330fnfl4Rr7lz1m5x498zDGY4dEZrWr4wBr7nNYc=; b=AzH1FQY4xroWoj 7xRJAsB5HD8vpyngEaOAew4YsCtGVVVTsj8+DNT+hO1A8SfLyD7zq86AjBBngBEOHLnXKgaZqi2HZ Kw4Fy9Mx+dCiZMFM1Pel8iGO2WQfXiFJ6OoVrsEc2YIhoxhJSCBHJfcE1leKqKxPVI6y+J1B8mEMC f8OJ48gnTiUqaS8cEfbbnJ334CiSmzip/NGDRCOu69RUV8G9oUCZYOnS4B1X/3TcvYzOTFQIhTJxf lfrY4cB+VPHHfx2n1WguoVRYkMQET/xMgIPw+gAm36P0ax9Es9Ma7bYH6Wd7282GwQHj3qi3kVmqj tbsAmvgi6F9pTVw0HudQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPJbE-0000gk-Sd; Wed, 21 Nov 2018 03:54:48 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPJbC-0000YT-Lq for linux-arm-kernel@bombadil.infradead.org; Wed, 21 Nov 2018 03:54:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wRzyWtQem/ZudNzb9RZbtf1aGt6UbjSssLp+q/Rsb70=; b=FsfgOC6Gn6jlrAfrZwW1cWb2uM x+99bL8N8EoRgwnlpPy32umvy02Im2lz8BieWE1IhMkTx4WP0zCsKsMP1P7jvjnzlXh3ZCmkosGey 6/f9Aw6pK2mke+TNeAT4XNXmb5qlRFdm9YG08FlODru/+VJ8++x5bDi3roS/QWJMQArbhogu/FP/M RrV3GoWL8Cj7/adPjX9gagcHCrPz/t84UCXxgWNJpkzaRcALWye7BIWfpm4Ok9VPfEI7KS96KTr37 C3g8CbMpvx4wSMEAIWaIRMOneV1Yb6u7Cpr9IaoCCzllOqAhCLqNQhS+wOhvdMaFNumGpsepJ4ATI PYMTe6cw==; Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPJLD-00060G-VU for linux-arm-kernel@lists.infradead.org; Wed, 21 Nov 2018 03:39:29 +0000 Received: by mail-pl1-x641.google.com with SMTP id e5so3380513plb.5 for ; Tue, 20 Nov 2018 19:38:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wRzyWtQem/ZudNzb9RZbtf1aGt6UbjSssLp+q/Rsb70=; b=W6Fdv0y4dpDrEI7W3bcMcFFwDrafrf8k0lK+uOJ+jLA1327RGVnlS1bFbp89uBFLW8 Fn+UjhyF0RfO6E5H8x8xXxa/Mv+eKKgWOL9IpMRNNGdv44C2P3n/I8mlTXdHKqK50CRw Ap+pgLHhm4+jM9lSDXGqdj0R+QjC5xtwGVvAw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wRzyWtQem/ZudNzb9RZbtf1aGt6UbjSssLp+q/Rsb70=; b=iSiqtTTK6fAHWib1Ls/pBfFv7K/GguYzddlnG2DfM3kyWDfmbeyY7wV6VC6iKiM/+5 3k4U0Zvsrjrz47rF1Ar1HQY344wOOSUN42Y1VhYkL9eSFFm22iStvPdHwcUiWNPM+jR0 fD5Z37iDWI5+CYfNBQGA2L9uQr30UlENMSOp1INaHmz7RDOaZJzglq0nnU1Ip/gYRr7m oE1gGf7HL2dpB4TcYqeZO5DihNdlRYkitThuA/GietNQq2oNPWAy0oxVP9zf+5dYSME8 HtRQIx09MRG6smF0F5k2HZGkXaouHyaPxA4SlQ7szT5RYEBKQlnzXbqyoepiwK/PCWDH ftwA== X-Gm-Message-State: AA+aEWb6azaaNN7JykfqQQ2c/sL7r9jKbQmjbDThREV46Ume2jSs6XDn KfpVdgvKAldIzwaj+nCa9gBB X-Google-Smtp-Source: AFSGD/U7NTQQAAD9bKTJgl/bPtsqCBRkhTibBPJcE1gFIce94J6ImTI9IABXrpIUJ6f/In3YO37tog== X-Received: by 2002:a63:1444:: with SMTP id 4mr4447921pgu.430.1542771483254; Tue, 20 Nov 2018 19:38:03 -0800 (PST) Received: from localhost.localdomain ([2409:4072:98b:9501:106a:f751:df0d:9e68]) by smtp.gmail.com with ESMTPSA id z8sm72025095pgz.53.2018.11.20.19.37.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 19:38:02 -0800 (PST) From: Manivannan Sadhasivam To: olof@lixom.net, arnd@arndb.de, robh+dt@kernel.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, daniel.lezcano@linaro.org, gregkh@linuxfoundation.org, jslaby@suse.com Subject: [PATCH v2 05/15] arm: dts: Add devicetree for RDA8810PL SoC Date: Wed, 21 Nov 2018 09:06:42 +0530 Message-Id: <20181121033652.12247-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121033652.12247-1-manivannan.sadhasivam@linaro.org> References: <20181121033652.12247-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181121_033913_693035_4E256E0E X-CRM114-Status: GOOD ( 16.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-serial@vger.kernel.org, Manivannan Sadhasivam , overseas.sales@unisoc.com, afaerber@suse.de, linux-arm-kernel@lists.infradead.org, zhao_steven@263.net Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add initial device tree for RDA8810PL SoC from RDA Microelectronics. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/rda8810pl.dtsi | 86 ++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 arch/arm/boot/dts/rda8810pl.dtsi diff --git a/arch/arm/boot/dts/rda8810pl.dtsi b/arch/arm/boot/dts/rda8810pl.dtsi new file mode 100644 index 000000000000..ab85ee06d84f --- /dev/null +++ b/arch/arm/boot/dts/rda8810pl.dtsi @@ -0,0 +1,86 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * RDA8810PL SoC + * + * Copyright (c) 2017 Andreas Färber + * Copyright (c) 2018 Manivannan Sadhasivam + */ + +/ { + compatible = "rda,8810pl"; + interrupt-parent = <&intc>; + #address-cells = <1>; + #size-cells = <1>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a5"; + reg = <0x0>; + }; + }; + + sram@100000 { + compatible = "mmio-sram"; + reg = <0x100000 0x10000>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + }; + + apb@20800000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x20800000 0x100000>; + + intc: interrupt-controller@0 { + compatible = "rda,8810pl-intc"; + reg = <0x0 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + apb@20900000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x20900000 0x100000>; + }; + + apb@20a00000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x20a00000 0x100000>; + + uart0: serial@0 { + compatible = "rda,8810pl-uart"; + reg = <0x0 0x1000>; + status = "disabled"; + }; + + uart1: serial@10000 { + compatible = "rda,8810pl-uart"; + reg = <0x10000 0x1000>; + status = "disabled"; + }; + + uart2: serial@90000 { + compatible = "rda,8810pl-uart"; + reg = <0x90000 0x1000>; + status = "disabled"; + }; + }; + + l2: cache-controller@21100000 { + compatible = "arm,pl310-cache"; + reg = <0x21100000 0x1000>; + cache-unified; + cache-level = <2>; + }; +};