From patchwork Mon Dec 2 18:21:54 2019 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: 180628 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp346087ile; Mon, 2 Dec 2019 10:22:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzflXpramifM4nL6HW+UesN/p4x16/uCciI/CEU30+SQQbqiZ7W5rnUCVd0DVaQaDbrYOm6 X-Received: by 2002:a05:6402:1ac4:: with SMTP id ba4mr175338edb.201.1575310947338; Mon, 02 Dec 2019 10:22:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575310947; cv=none; d=google.com; s=arc-20160816; b=WQuDVKpBC9Zh42sPMozlR7qJSSgfr/ZJJdvY4PbMchU98tsa4fAPW9NzUzq0hhAA/F tCLDqy/gywKTiE5hpxlv6K+0YDdAQxscygUottAezTbZH4ypH+JhZ4jCUH5+cih093ZW xji8DkrkjE6ZtF1uj/wGdpWLEWFCN+81+wPB8Ww/Bh7rQU1mIlY38Ke2b8N099riNROD WxuSPiDWOZVRhNQ1+NetEler7XLMEqNdgW9fP02zFaTmMn8L3OcgK2Rks/nHdAJUfgUj wlyqp75dq9j5WULaLebsItNQ79WMcQ11oFS/Kx9Q+Qotn/lqlSHp5WN9sFS8hHnx5bEx OgFQ== 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; bh=A1WQ436gMLC3eSxdvNTqJTjqJHOKjBoapG9lVTQ3OuQ=; b=BotVD7dE4uwAL8QvjDcr2e85LIYSpRW/CJ2unbIAT4G/4SKj9HQC4zW/EnCNTmz+6a 1uReDNXdbdxliOjJ1igXdi/W9X1QSbS2SK/QAOI2rR6H57d0rRsZ4EOGHUZsRzZ6k0zb KZanKXfCHfDRe4oAeDvTJerG+BpXIyfxg0OMjQj/FPFTe9UVLd5xipGrxRr1CrbnfxgX SHFFmrXNDEhfzgnHyuC1JRbBamCagi0Wdp3u4u0YEKlEFB2MNH4Q73LZwL04TCSm1IqB SGJ93ntYpS8bicGPjpogZrFraG+b5Xcmfm+Md8OLdDJRL4xkSYABxcysQmEwD/LJ0Rrd RgFQ== 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 f15si166290edy.159.2019.12.02.10.22.27; Mon, 02 Dec 2019 10:22:27 -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; 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 S1727985AbfLBSWU (ORCPT + 27 others); Mon, 2 Dec 2019 13:22:20 -0500 Received: from mx2.suse.de ([195.135.220.15]:35952 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727881AbfLBSWQ (ORCPT ); Mon, 2 Dec 2019 13:22:16 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 14E9AAEC6; Mon, 2 Dec 2019 18:22:15 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , James Tai , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH 04/14] arm64: dts: realtek: rtd16xx: Introduce iso and misc syscon Date: Mon, 2 Dec 2019 19:21:54 +0100 Message-Id: <20191202182205.14629-5-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191202182205.14629-1-afaerber@suse.de> References: <20191202182205.14629-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 Group UART0 into an Isolation syscon mfd node. Group UART1 and UART2 into a Miscellaneous syscon mfd node. Cc: James Tai Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 70 +++++++++++++++++++++----------- 1 file changed, 46 insertions(+), 24 deletions(-) -- 2.16.4 Acked-by: James Tai diff --git a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi index 69cc0d941c8d..8f8f2b328cd1 100644 --- a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi @@ -118,34 +118,22 @@ #size-cells = <1>; ranges = <0x0 0x98000000 0x200000>; - uart0: serial0@7800 { - compatible = "snps,dw-apb-uart"; - reg = <0x7800 0x400>; - reg-shift = <2>; + iso: syscon@7000 { + compatible = "syscon", "simple-mfd"; + reg = <0x7000 0x1000>; reg-io-width = <4>; - interrupts = ; - clock-frequency = <27000000>; - status = "disabled"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x7000 0x1000>; }; - uart1: serial1@1b200 { - compatible = "snps,dw-apb-uart"; - reg = <0x1b200 0x400>; - reg-shift = <2>; + misc: syscon@1b000 { + compatible = "syscon", "simple-mfd"; + reg = <0x1b000 0x1000>; reg-io-width = <4>; - interrupts = ; - clock-frequency = <432000000>; - status = "disabled"; - }; - - uart2: serial2@1b400 { - compatible = "snps,dw-apb-uart"; - reg = <0x1b400 0x400>; - reg-shift = <2>; - reg-io-width = <4>; - interrupts = ; - clock-frequency = <432000000>; - status = "disabled"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1b000 0x1000>; }; }; @@ -159,3 +147,37 @@ }; }; }; + +&iso { + uart0: serial0@800 { + compatible = "snps,dw-apb-uart"; + reg = <0x800 0x400>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = ; + clock-frequency = <27000000>; + status = "disabled"; + }; +}; + +&misc { + uart1: serial1@200 { + compatible = "snps,dw-apb-uart"; + reg = <0x200 0x400>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = ; + clock-frequency = <432000000>; + status = "disabled"; + }; + + uart2: serial2@400 { + compatible = "snps,dw-apb-uart"; + reg = <0x400 0x400>; + reg-shift = <2>; + reg-io-width = <4>; + interrupts = ; + clock-frequency = <432000000>; + status = "disabled"; + }; +};