Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1428963ybc; Sat, 16 Nov 2019 23:23:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwZy7sfwrqGJAEJ+Xf/igcmfAZyWjcHWNmDvNzmxmMZKBLJudVyuqhDFTTog54gSgBkm0Hg X-Received: by 2002:a17:906:14d4:: with SMTP id y20mr16009239ejc.21.1573975424843; Sat, 16 Nov 2019 23:23:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573975424; cv=none; d=google.com; s=arc-20160816; b=UHn5O4ArwyoqSt/bed0Hyh8HJwEBVBNi7FLF1gJYQNrHx1/RpnnfTwH1KV9opD4txG VVcItO9xZIC4yv0JsR5TlO2dv64ZTSy23ASJ3kcH6hWVDrHFbHMGzq2TiyWfp84OXL6o wO//AGhOR0RxC058jj3Ax6n9HXFjQZBZb01P6vNl8gt76RF3jIHeVIDYnX/lWABsU80S VVU5IsGtcqIbeiK3H+WjGVASJkMkXn7GPJsrKu8W/ShBVXORXuK0YI83gCN3Knau8C2G YUxXdnuutxB23WCY01b9fJPUfAKJDxi5AP+dt9287LIW5vrMe4N6+t1cksb/hLLGwdu6 LXrg== 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=oVJ4WPeop3ULgR7gvIuIN/04FDBcZDxmO9cYaZ6qlvs=; b=j9ciNG6dh59/AzgFMENQ/7//PrbqOuE57++hMMx3Q2gjVE/R0d4tPcn7L6PioeNkG4 ACNMOsNihrvNtRo0A97ryjT8A9das76f1VY+8w4pWm+J7HpE4UYqOxn/FQ33HxR/FQGf YDJIr31AVZMlYM2o41W4rUk5LRRf5Qv3nXf95Slt8CzLrIqJQ2OjAsnxjmmo1bAWWCIa PO5jMCFdVN0CzVt3fBjjrQeULNCD0inzOCo20EKE1rXQbA2+wXjugfuh2I/5T88/pVbU yddZpuEsm33d3lrnbxXGNS2U5hhoFC673oVtr3QU74hakOQmWSbYqQz129FKPPQtXFA0 0nJA== 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 v5si9038726eji.232.2019.11.16.23.23.20; Sat, 16 Nov 2019 23:23:44 -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 S1726297AbfKQHVn (ORCPT + 99 others); Sun, 17 Nov 2019 02:21:43 -0500 Received: from mx2.suse.de ([195.135.220.15]:40782 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726047AbfKQHVW (ORCPT ); Sun, 17 Nov 2019 02:21:22 -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 D5C95B25F; Sun, 17 Nov 2019 07:21:20 +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 v3 4/8] ARM: dts: rtd1195: Introduce r-bus Date: Sun, 17 Nov 2019 08:21:05 +0100 Message-Id: <20191117072109.20402-5-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191117072109.20402-1-afaerber@suse.de> References: <20191117072109.20402-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: 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 4e3866fe8f6e..f5174f828a28 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -92,28 +92,36 @@ <0x18100000 0x18100000 0x01000000>, <0x40000000 0x40000000 0xc0000000>; - 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