From patchwork Sun Aug 27 12:54:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 111074 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3544936qge; Sun, 27 Aug 2017 06:02:17 -0700 (PDT) X-Received: by 10.99.175.1 with SMTP id w1mr4166010pge.390.1503838937097; Sun, 27 Aug 2017 06:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503838937; cv=none; d=google.com; s=arc-20160816; b=xetN6PRv5EUz2U0pJh8G3Z+igxNte6KFa9L5LjzozTH3Jedaxjgpqmlc00DyLZRgT3 QyRExEZ90bf6VV1Lwg8lGZQe3Y0d0ZJ04mO3MdmQi4/e9J+3w96ziVdA9dR2aTfSm9m5 fTIPPSS/MRkA6U+mbwFaMdpxozVs0LI3bB1A1eXK5toaJOZe2LcqYUvVBx4eqQxvX9nk G8/XdpeNnDbAkRihg1G9tVWRymBjWwftCacNSPlupec+AMyCJfORMRhQNgOEh0Zca8K0 dIYHDyw2ebKB9gfXYWeypcB5bKrkxT2uK0Atfx4uyiDkNKibru7OjAYjOmLhC3w9t7Ra 0v3A== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=AjvBv2Z3dxNpJb0OcPARjaPL63BEGle45VBACoKVauk=; b=KXJKwug3dZLw/GubHk/0CquWs1dp33ORfYaAb1mYoiBeKQboGfqEToNwJmNocvSt7U KJbYFGuz8wy//8Vix1uDeSB+TJeGjND5ls8Vv2Vh4IQ+CmUViSCVUEk5ksZQpcfKGVFH 0OO5b5sbnHBGL03rM38NfLRXZ4/g3zjYGom+bSk8dA43AJaNfxC9RkpL2Um3isV068+3 DaAawKSXvTKgk2MF3wX+3gPPzmt03tLOtT3v72tP92t4IkEk4oDHrCItv8QAVcsEs5Wo fHxLashZC+LU35hJiroOUaSedblh0MyzUIeJRqLq27t11EnIDgod/41TYTKZNRRau7gn 4ROg== 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 q64si5748764pfi.253.2017.08.27.06.02.16; Sun, 27 Aug 2017 06:02:17 -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 S1751757AbdH0NCO (ORCPT + 26 others); Sun, 27 Aug 2017 09:02:14 -0400 Received: from mx2.suse.de ([195.135.220.15]:41584 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751462AbdH0NBq (ORCPT ); Sun, 27 Aug 2017 09:01:46 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 09FB6AC0F; Sun, 27 Aug 2017 13:01:45 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , support@probox2.com, Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: realtek: Add ProBox2 Ava Date: Sun, 27 Aug 2017 14:54:25 +0200 Message-Id: <20170827125425.3400-4-afaerber@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170827125425.3400-1-afaerber@suse.de> References: <20170827125425.3400-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a Device Tree for the PROBOX2 AVA TV Box. Move common memory reservations into rtd1295.dtsi. Cc: support@probox2.com Signed-off-by: Andreas Färber --- I've been torn on whether this should be just rtd1295-ava.dts? The vendor is indicated in the compatible string and model property. rtd1295-x9s.dts hadn't sounded unique enough to me, but we might revisit that. arch/arm64/boot/dts/realtek/Makefile | 1 + .../arm64/boot/dts/realtek/rtd1295-probox2-ava.dts | 31 ++++++++++++++++++++++ arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts | 6 ----- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 6 +++++ 4 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts -- 2.12.3 diff --git a/arch/arm64/boot/dts/realtek/Makefile b/arch/arm64/boot/dts/realtek/Makefile index 8521e921e59a..f43d0209ded7 100644 --- a/arch/arm64/boot/dts/realtek/Makefile +++ b/arch/arm64/boot/dts/realtek/Makefile @@ -1,3 +1,4 @@ +dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-probox2-ava.dtb dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb always := $(dtb-y) diff --git a/arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts b/arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts new file mode 100644 index 000000000000..8e2b0e75298a --- /dev/null +++ b/arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "rtd1295.dtsi" + +/ { + compatible = "probox2,ava", "realtek,rtd1295"; + model = "PROBOX2 AVA"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x80000000>; + }; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts b/arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts index 6efa8091bb30..da19faab29d5 100644 --- a/arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts +++ b/arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts @@ -6,12 +6,6 @@ /dts-v1/; -/memreserve/ 0x0000000000000000 0x0000000000030000; -/memreserve/ 0x000000000001f000 0x0000000000001000; -/memreserve/ 0x0000000000030000 0x00000000000d0000; -/memreserve/ 0x0000000001b00000 0x00000000004be000; -/memreserve/ 0x0000000001ffe000 0x0000000000004000; - #include "rtd1295.dtsi" / { diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.dtsi index 8ae0949ad89e..c0b48953439a 100644 --- a/arch/arm64/boot/dts/realtek/rtd1295.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd1295.dtsi @@ -6,6 +6,12 @@ * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +/memreserve/ 0x0000000000000000 0x0000000000030000; +/memreserve/ 0x000000000001f000 0x0000000000001000; +/memreserve/ 0x0000000000030000 0x00000000000d0000; +/memreserve/ 0x0000000001b00000 0x00000000004be000; +/memreserve/ 0x0000000001ffe000 0x0000000000004000; + #include #include #include