Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp986265ybc; Sat, 23 Nov 2019 12:40:19 -0800 (PST) X-Google-Smtp-Source: APXvYqxCUoJ2J/7lXNErh5Qn0rOIxyBUuBRWJt3Sfa6StM87MaPilI1yFq8F1IbSQ4DhHeraHft6 X-Received: by 2002:a17:906:a38d:: with SMTP id k13mr28446401ejz.213.1574541619319; Sat, 23 Nov 2019 12:40:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574541619; cv=none; d=google.com; s=arc-20160816; b=bkAaQTzn+r83bFPPy2CJRMf2Yj/sAEq8YNCXg40gyM86PCEeB+vFEp5de6Ss0/fQ25 RPeqh98vkHW8DeOB7tf76O0fOrUWyo4lTnqZ3oi/uRp+tl9z7dpexG7DWRX8Pmnppu5T pKP50pwBYEzkvXonxlkjN+pbvD2KmirRM1Zuj1wAS3D3/YOvZ3YDslSc1fgfHr3JJR8k SvbO4RB7AuusxKLUGNWZ2EqtacoG89RqD2XtU8gW6CSdhwRWNlIB7oWSczZ6R5CfGEzV hY2fkEncAOWBfadFIioK8ZEwDVd0SLQ3obZYp8XK4KyAtYLVZrhda+rEhIhOQ38yt/nt 9Jeg== 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=rmuicjcEwgzD/ePBCcumxTqCfd0908fZYJtYZwANFbw=; b=fU/REdo8ks/5p+vQWl/vGiX7bguqOcsiLsOsdfHEUoLvg6hxOzFm1aIrscmdCNe4P5 COfe/AF7BaLKwWrnysN/hEn0orlLcJzJZxnSsFoKXXUlSQD3shFYkho8iOSaWkadGBr2 dqdRK11RxD4b1BtRffP7+Wzv5/G8cXHI8WafCxrZA/OPK1g7bBsc+Dhws5vnqChvi0S1 DdqLNd7Hdov4Mbm9xYgQrpzWxwxdbmWs/+Ie0qxYA2ZBMHWcOHia4UR/SYBL+KUxr9VL dbMUCn4e8htLZtbQOJiFgvkQd4KFQcXykgxiBD9Q0Tj13SZgkiOrGk61vOom3GmulqeS Hajg== 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 m14si1365713ejr.395.2019.11.23.12.39.41; Sat, 23 Nov 2019 12:40:19 -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 S1726962AbfKWUiO (ORCPT + 99 others); Sat, 23 Nov 2019 15:38:14 -0500 Received: from mx2.suse.de ([195.135.220.15]:34364 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726895AbfKWUiN (ORCPT ); Sat, 23 Nov 2019 15:38:13 -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 2E5C9B135; Sat, 23 Nov 2019 20:38:11 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=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=20F=C3=A4rber?= , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH v4 5/8] ARM: dts: rtd1195: Introduce r-bus Date: Sat, 23 Nov 2019 21:37:56 +0100 Message-Id: <20191123203759.20708-6-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191123203759.20708-1-afaerber@suse.de> References: <20191123203759.20708-1-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Model Realtek's register bus in DT. Signed-off-by: Andreas Färber --- v3 -> v4: Unchanged v3: from RTD1395 v1 * Fixed r-bus size from 0x100000 to 0x70000 in reg and ranges (James) * Renamed bus node from r-bus to bus (Rob) arch/arm/boot/dts/rtd1195.dtsi | 52 ++++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 22 deletions(-) diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi index 0d7c2be750f6..a8f7b9caacba 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -93,28 +93,36 @@ <0x18100000 0x18100000 0x01000000>, <0x80000000 0x80000000 0x80000000>; - wdt: watchdog@18007680 { - compatible = "realtek,rtd1295-watchdog"; - reg = <0x18007680 0x100>; - clocks = <&osc27M>; - }; - - uart0: serial@18007800 { - compatible = "snps,dw-apb-uart"; - reg = <0x18007800 0x400>; - reg-shift = <2>; - reg-io-width = <4>; - clock-frequency = <27000000>; - status = "disabled"; - }; - - uart1: serial@1801b200 { - compatible = "snps,dw-apb-uart"; - reg = <0x1801b200 0x100>; - reg-shift = <2>; - reg-io-width = <4>; - clock-frequency = <27000000>; - status = "disabled"; + rbus: bus@18000000 { + compatible = "simple-bus"; + reg = <0x18000000 0x70000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x18000000 0x70000>; + + wdt: watchdog@7680 { + compatible = "realtek,rtd1295-watchdog"; + reg = <0x7680 0x100>; + clocks = <&osc27M>; + }; + + uart0: serial@7800 { + compatible = "snps,dw-apb-uart"; + reg = <0x7800 0x400>; + reg-shift = <2>; + reg-io-width = <4>; + clock-frequency = <27000000>; + status = "disabled"; + }; + + uart1: serial@1b200 { + compatible = "snps,dw-apb-uart"; + reg = <0x1b200 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + clock-frequency = <27000000>; + status = "disabled"; + }; }; gic: interrupt-controller@ff011000 { -- 2.16.4