From patchwork Mon Oct 16 04:01:47 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: 115895 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp3248327qgn; Sun, 15 Oct 2017 21:02:51 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBYRnOJsx6VFUK18V7vJUsWfQUpOvZomDErAQq9leZzh+P+W1oE5OX2qi81JAhp0oAJDuPz X-Received: by 10.101.93.145 with SMTP id f17mr7039749pgt.50.1508126570927; Sun, 15 Oct 2017 21:02:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508126570; cv=none; d=google.com; s=arc-20160816; b=Xy+VYbKwGyvuJ/4ec8YXuzqYBCzcmnoO4ZpnISW0OokZNSu0PkLTeAdd4bQ31PQUkR WYdW6WLs8L3FlQ0hnX8d123aEx2pxUBZOujw8z1uuMDz+e5qNbSBRuu9ONLR/ylrxxtX 7CXdmOBir4mxjJOHrYQvcralp2R9YZCM3MDqtJj+1sxa8DMMTty01G6P6xSIrFxmGuYv B12j3CJv5mjWhsamnAjMFLYFcHNRX6fHTOtDp10nDH25fAlzN4i9quUIZ/nxloW9FVHj GTHzb/F4QEqBiG32bb0f6E+cmRbQtXrXuIyxe7r0k9mFdmO/jRF/a6BzAQdNW2tXdf7T uTzQ== 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=TG/BgxcGys3uEjzRKRhfym91Z2ps/jApZHaHeieSdoU=; b=H5q0ydiEkFbx1J623twU+vqyT63qI8a7RwmyjZ0BVOe6QPC36WRLpB6amNjyPA2WTG jtyy0wVMNVx5h4n483apRn2PeCK5OJown2bOhaqKQF5wAtW0PmcmS70P7VSOXYnBVv9u YjAHrkFe5zoH6Xrd2FL1unfzbk6aCWWav/AFvVs3uItvWMI5LAabXil6G6AYHL6Hw6y1 cKqD1OtnGRXMG1tki4iXTrMH1PuwPm8oQHitcNqthWuGrdGn9Sh5kuokjCA9aGd6J/3e qqMAIFM32ujlrlT9NmUO7jFDex8SchQSiUK6HXcZoDz/t8yALgs5kEkbZidXyTjJyxdX NJjQ== 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 q12si3823910pfl.470.2017.10.15.21.02.50; Sun, 15 Oct 2017 21:02:50 -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 S1752006AbdJPECt (ORCPT + 27 others); Mon, 16 Oct 2017 00:02:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:58010 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750759AbdJPEB4 (ORCPT ); Mon, 16 Oct 2017 00:01:56 -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 mx2.suse.de (Postfix) with ESMTP id B002AAE90; Mon, 16 Oct 2017 04:01:54 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Bizon , =?utf-8?q?An?= =?utf-8?q?dreas_F=C3=A4rber?= , info@synology.com, Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH 2/5] dt-bindings: arm: realtek: Document RTD1293 and Synology DS418j Date: Mon, 16 Oct 2017 06:01:47 +0200 Message-Id: <20171016040150.23400-3-afaerber@suse.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171016040150.23400-1-afaerber@suse.de> References: <20171016040150.23400-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 Define compatible strings for Realtek RTD1293 SoC and Synology DiskStation DS418j NAS. Cc: info@synology.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/realtek.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) -- 2.13.6 diff --git a/Documentation/devicetree/bindings/arm/realtek.txt b/Documentation/devicetree/bindings/arm/realtek.txt index 297c15eb81e2..500e771614c4 100644 --- a/Documentation/devicetree/bindings/arm/realtek.txt +++ b/Documentation/devicetree/bindings/arm/realtek.txt @@ -2,6 +2,23 @@ Realtek platforms device tree bindings -------------------------------------- +RTD1293 SoC +=========== + +Required root node properties: + + - compatible : must contain "realtek,rtd1293" + + +Root node property compatible must contain, depending on board: + + - Synology DiskStation DS418j: "synology,ds418j" + +Example: + + compatible = "synology,ds418j", "realtek,rtd1293"; + + RTD1295 SoC =========== From patchwork Mon Oct 16 04:01:48 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: 115892 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp3247768qgn; Sun, 15 Oct 2017 21:02:05 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC/tdyHXhtqMRFF5Vcrd4cmpvfQh1/sDU/5B/1h2BXPf5WbhumLNdcY2TLoISJ8GjgPMLP5 X-Received: by 10.84.215.140 with SMTP id l12mr7813859pli.181.1508126525211; Sun, 15 Oct 2017 21:02:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508126525; cv=none; d=google.com; s=arc-20160816; b=V61wmn8QjTx2GNWej6UnBhw584KzMaQAWVFASm9daognyIo1repx0k9J6g28uguTlI gBSPydBFK+EH6Tv+WcNjoW1TKhQD2eWpfD8eCvacqtl+OXpSuAS24affwYvWUlXob2xz bQ4JdOpOPcoOqbb0jcwc6MQnn3gub3nBeExlMVQZwY7KyIU3NjyVny0iljO2p9EvuuQa womGSmsGFeIdWliVkdxoBxcXDlxi/5OKAeuBm8Ab9bfDojjQSCQ8ce471A6/TTMp1CXQ FQdBIIiewGFhNkblXN1O8Jn8Wf4HCNNZ7aVpKpOm3QZ/dTKqbhuUX3y4Lh+GvYBCHYXC 45fg== 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=ysQZD5tX4yDA+YptensvqbILGeYQu8knFgeTs/b/3kQ=; b=rQthmbCbDD84FEZNQP+TY+HFCckxL90OSx1qtS4IfC6J+GCb/foNSLBToffuF6RI/2 KO80Vfnd4yBkzil+GpeJW24X2AK+WIKbMMch2sdBL0eUISb5kH/saE1LCwhQfUQjUAwR fahi9Tos/bqe1YELeNUS5o27KgUevxyewjmzSZiXAVBlWONdBxRNZnnJFRqfesENpUrl GoTKYBVhReRAJViBMF21zKiAl6bWOT6OS8FeopUdJXldMjctpMt5cSzZW19WeDgvoSdz 63DkcAZelWuD/CPIFg3oEgeDb2qRpGnEZXXYEe5bV+WPtelgGKKfq3/uh0vQdCbywaXW Mv+Q== 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 v32si2737079plb.415.2017.10.15.21.02.04; Sun, 15 Oct 2017 21:02:05 -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 S1751713AbdJPECB (ORCPT + 27 others); Mon, 16 Oct 2017 00:02:01 -0400 Received: from mx2.suse.de ([195.135.220.15]:58020 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750817AbdJPEB5 (ORCPT ); Mon, 16 Oct 2017 00:01:57 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 8863EAE91; Mon, 16 Oct 2017 04:01:55 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Bizon , =?utf-8?q?An?= =?utf-8?q?dreas_F=C3=A4rber?= , info@synology.com, Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org Subject: [PATCH 3/5] arm64: dts: realtek: Add RTD1293 and Synology DS418j Date: Mon, 16 Oct 2017 06:01:48 +0200 Message-Id: <20171016040150.23400-4-afaerber@suse.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171016040150.23400-1-afaerber@suse.de> References: <20171016040150.23400-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 Device Trees for RTD1293 SoC and Synology DiskStation DS481j NAS. Cc: info@synology.com Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/Makefile | 2 + arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts | 31 ++++++++++++++ arch/arm64/boot/dts/realtek/rtd1293.dtsi | 56 ++++++++++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts create mode 100644 arch/arm64/boot/dts/realtek/rtd1293.dtsi -- 2.13.6 diff --git a/arch/arm64/boot/dts/realtek/Makefile b/arch/arm64/boot/dts/realtek/Makefile index f43d0209ded7..25c795272507 100644 --- a/arch/arm64/boot/dts/realtek/Makefile +++ b/arch/arm64/boot/dts/realtek/Makefile @@ -1,3 +1,5 @@ +dtb-$(CONFIG_ARCH_REALTEK) += rtd1293-ds418j.dtb + dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-probox2-ava.dtb dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb diff --git a/arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts b/arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts new file mode 100644 index 000000000000..0f17bbb5aabb --- /dev/null +++ b/arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "rtd1293.dtsi" + +/ { + compatible = "synology,ds418j", "realtek,rtd1293"; + model = "Synology DiskStation DS418j"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/realtek/rtd1293.dtsi b/arch/arm64/boot/dts/realtek/rtd1293.dtsi new file mode 100644 index 000000000000..403f0c55ace0 --- /dev/null +++ b/arch/arm64/boot/dts/realtek/rtd1293.dtsi @@ -0,0 +1,56 @@ +/* + * Realtek RTD1293 SoC + * + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +#include "rtd129x.dtsi" + +/ { + compatible = "realtek,rtd1293"; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x0>; + enable-method = "spin-table"; + cpu-release-addr = <0 0x9801aa44>; + next-level-cache = <&l2>; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x1>; + enable-method = "spin-table"; + cpu-release-addr = <0 0x9801aa44>; + next-level-cache = <&l2>; + }; + + l2: l2-cache { + compatible = "cache"; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; +}; + +&arm_pmu { + interrupt-affinity = <&cpu0>, <&cpu1>; +}; From patchwork Mon Oct 16 04:01:49 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: 115893 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp3247937qgn; Sun, 15 Oct 2017 21:02:16 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCIHibZq2D59jKGioGXZQlXfbG2YQiBYgVEKpng3laEB6zUTCg7tAWWv8FBTqAtkr6ScRRA X-Received: by 10.98.211.203 with SMTP id z72mr7781228pfk.328.1508126536826; Sun, 15 Oct 2017 21:02:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508126536; cv=none; d=google.com; s=arc-20160816; b=VYLENA/QxNBgugTvR5Ws6P3ysUdh5hXyxElFMoMQ+T5woSkqnbj2nvWe5lycQIoKHj HQywHuA45zCF8o35w1giqJ7qMf/DI48W3rS91FCP3ZmHDDBlZfkE6W4rQ+MvpakPtci1 fp3gZ5aZIu8h2vBaKkqbRIdR6uQAdwMxeRpHYW6S38Lbmqk5JC6uY43/I8vPFe+647tC 8np467TQmUOz0xzOoCct99l7IT/u4X3CvvjI93SmjdsAXJ3RGEgiVNdaRgRIVm/GDXpG ngDqQQuI+TiTO0eOHVFasfrurzlzLl4jtxazFuvdIQ7A7ZpfpBpNf06djsSA9vDpce6Q 7mIg== 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=3PzQO85OSsdxi/37l3aF7DE6jftYgb/O6UgfAjZmDCc=; b=s/XuL2vccTPWn9gKt4ZztPT1XYOHVT4PAu0+RJCQSUP8IyOIa92fVzna//+5G4vXdt dULSItXnSI6r0oZ8bDi6JuWTVpdK5kpCAghdJES6HBsKlguUYRgxtkM0NAf+FXXoR5xo QhxpatNorGmBFkIleMkvgGCk3pKoaakwR5D3N22aNT2TWWNvhuUKQ3eAZh+/94Vy/kkh iZEKGM4Tl8ecxbSvFPbCHWmdMvJdAxXv7eBpVznAylJYluho08G4yynCUEYoLSTe1GF7 QUsI3+AOenDwjRDDmXtFssIpmule6fhJDss9pKBhhxG+/KUyygWfV53Ad3TFhTLRGtPE 0Ryw== 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 f8si3558513pgu.378.2017.10.15.21.02.16; Sun, 15 Oct 2017 21:02:16 -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 S1751525AbdJPEB7 (ORCPT + 27 others); Mon, 16 Oct 2017 00:01:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:58028 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751046AbdJPEB5 (ORCPT ); Mon, 16 Oct 2017 00:01:57 -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 mx2.suse.de (Postfix) with ESMTP id 16AC9AE92; Mon, 16 Oct 2017 04:01:56 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Bizon , =?utf-8?q?An?= =?utf-8?q?dreas_F=C3=A4rber?= , info@synology.com, Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH 4/5] dt-bindings: arm: realtek: Document RTD1296 and Synology DS418 Date: Mon, 16 Oct 2017 06:01:49 +0200 Message-Id: <20171016040150.23400-5-afaerber@suse.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171016040150.23400-1-afaerber@suse.de> References: <20171016040150.23400-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 Define compatible strings for Realtek RTD1296 SoC and Synology DiskStation DS418 NAS. Cc: info@synology.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/realtek.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) -- 2.13.6 diff --git a/Documentation/devicetree/bindings/arm/realtek.txt b/Documentation/devicetree/bindings/arm/realtek.txt index 500e771614c4..d977aa0a0f46 100644 --- a/Documentation/devicetree/bindings/arm/realtek.txt +++ b/Documentation/devicetree/bindings/arm/realtek.txt @@ -36,3 +36,20 @@ Root node property compatible must contain, depending on board: Example: compatible = "zidoo,x9s", "realtek,rtd1295"; + + +RTD1296 SoC +=========== + +Required root node properties: + + - compatible : must contain "realtek,rtd1296" + + +Root node property compatible must contain, depending on board: + + - Synology DiskStation DS418: "synology,ds418" + +Example: + + compatible = "synology,ds418", "realtek,rtd1296"; From patchwork Mon Oct 16 04:01:50 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: 115894 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp3248100qgn; Sun, 15 Oct 2017 21:02:31 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBWXRszg+oKTcAhXOgZ57uVzzmt2wprVgfPrbZjIEgJp/1ocbjwgWxj9ArHJ1qh1ajGDqND X-Received: by 10.98.88.7 with SMTP id m7mr7664446pfb.169.1508126551558; Sun, 15 Oct 2017 21:02:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508126551; cv=none; d=google.com; s=arc-20160816; b=bh04A4qAvpAxt1x0wiyo5O549olqIJVIlunA/LrnSnHYfcZ3ijsIIR4MzcZ6hGZil9 /iSC/cHoAm+nWwpbABN3k8CoWERFPkMLVZjnm/tjn+rLErbR7Fq3U0nsRqtSwL4L9TqA mRHjU2Xd3igqgrNd9d6+ulwBLhVa0QzZ4B5kbo/FqAoJhria8LCqHn6Wd1pHCuWzHS1w +T2fROU6LQUzBCfaTXNu9b1nLU9fDpbCxMuu6dswlPyXUZDthFOQv2RkNIpTWFbm/aQx /2SivKrO0M4/3vsFTQQFjxPxrG2by46h7Ac/m9YIiLnCNrTuSUlzQaqmjSKkN76cWjzJ qtCw== 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=SpblUYOBGAarCdLz+j5uljLOMASlpj5FyARD3F6jkyA=; b=XS2swXLbZKQRHGfTT5YFvQXuppbmV0Dog6H5F0SiwLU+OC3grsxFzV8s3TMDLLtYsB kmEv85QbUcPuSurG5hrOWORzNVXe2oia8JIFICSdcbkm2HuqxyzLJ4L2swyXYLJFoWpw dSMemRKB1db9T8vVjRqx0rf9VdvrxMKDg8FGeq0YKkwZFuEWw8cac5/49B3+8d7F+6Pz iU1z5zWFsYHSz4P8NYzSc+EECQP6jaJs+c5dr6SOkbgxwKBxSD0toOAQla+cSJDH0VSP A4YnNhn8oMKAqsrmgJOxp//D4fZSg3kKoOC6+iG4hvkydwVurkui35izwuG5nFfGxE/w p/rw== 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 b1si3998604pld.697.2017.10.15.21.02.31; Sun, 15 Oct 2017 21:02:31 -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 S1751952AbdJPEC3 (ORCPT + 27 others); Mon, 16 Oct 2017 00:02:29 -0400 Received: from mx2.suse.de ([195.135.220.15]:58034 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707AbdJPEB6 (ORCPT ); Mon, 16 Oct 2017 00:01:58 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E03F6AE93; Mon, 16 Oct 2017 04:01:56 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Bizon , =?utf-8?q?An?= =?utf-8?q?dreas_F=C3=A4rber?= , info@synology.com, Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org Subject: [PATCH 5/5] arm64: dts: realtek: Add RTD1296 and Synology DS418 Date: Mon, 16 Oct 2017 06:01:50 +0200 Message-Id: <20171016040150.23400-6-afaerber@suse.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171016040150.23400-1-afaerber@suse.de> References: <20171016040150.23400-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 Device Trees for RTD1296 SoC and Synology DiskStation DS418. Cc: info@synology.com Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/Makefile | 2 + arch/arm64/boot/dts/realtek/rtd1296-ds418.dts | 31 +++++++++++ arch/arm64/boot/dts/realtek/rtd1296.dtsi | 74 +++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 arch/arm64/boot/dts/realtek/rtd1296-ds418.dts create mode 100644 arch/arm64/boot/dts/realtek/rtd1296.dtsi -- 2.13.6 diff --git a/arch/arm64/boot/dts/realtek/Makefile b/arch/arm64/boot/dts/realtek/Makefile index 25c795272507..cf93f4db7a69 100644 --- a/arch/arm64/boot/dts/realtek/Makefile +++ b/arch/arm64/boot/dts/realtek/Makefile @@ -3,6 +3,8 @@ dtb-$(CONFIG_ARCH_REALTEK) += rtd1293-ds418j.dtb dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-probox2-ava.dtb dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb +dtb-$(CONFIG_ARCH_REALTEK) += rtd1296-ds418.dtb + always := $(dtb-y) subdir-y := $(dts-dirs) clean-files := *.dtb diff --git a/arch/arm64/boot/dts/realtek/rtd1296-ds418.dts b/arch/arm64/boot/dts/realtek/rtd1296-ds418.dts new file mode 100644 index 000000000000..015ef06e1933 --- /dev/null +++ b/arch/arm64/boot/dts/realtek/rtd1296-ds418.dts @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "rtd1293.dtsi" + +/ { + compatible = "synology,ds418", "realtek,rtd1296"; + model = "Synology DiskStation DS418"; + + 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/rtd1296.dtsi b/arch/arm64/boot/dts/realtek/rtd1296.dtsi new file mode 100644 index 000000000000..d30d708775f8 --- /dev/null +++ b/arch/arm64/boot/dts/realtek/rtd1296.dtsi @@ -0,0 +1,74 @@ +/* + * Realtek RTD1296 SoC + * + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +#include "rtd129x.dtsi" + +/ { + compatible = "realtek,rtd1296"; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x0>; + enable-method = "spin-table"; + cpu-release-addr = <0 0x9801aa44>; + next-level-cache = <&l2>; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x1>; + enable-method = "spin-table"; + cpu-release-addr = <0 0x9801aa44>; + next-level-cache = <&l2>; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x2>; + enable-method = "spin-table"; + cpu-release-addr = <0 0x9801aa44>; + next-level-cache = <&l2>; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x3>; + enable-method = "spin-table"; + cpu-release-addr = <0 0x9801aa44>; + next-level-cache = <&l2>; + }; + + l2: l2-cache { + compatible = "cache"; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; +}; + +&arm_pmu { + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; +};