From patchwork Sun Nov 17 07:21:05 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: 179569 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1380608ilf; Sat, 16 Nov 2019 23:21:48 -0800 (PST) X-Google-Smtp-Source: APXvYqw/cfCAvBgPRk0TjUXbJlcbjQdjl/eiUgQAcPxepouFTQ+hlo+mwo9qT6lSvCOptVoWevEB X-Received: by 2002:a17:907:216e:: with SMTP id rl14mr16116145ejb.291.1573975308461; Sat, 16 Nov 2019 23:21:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573975308; cv=none; d=google.com; s=arc-20160816; b=Ic+WtJkyUnzllLyGNAyaK3APJE3/MIqzgf596Jj4qkcf0+hPgZ9iX4WKy/5Etcr3cN fJ5MPTdw38CS5YGFhCDzlHuD7f6BjMNeISiCYbD/2aCnlC1LkPs+6hKPuvEqm/M1bSPI y9SWoOosUN5FOECjRzRV/aihpxGP+JE/7KlDPxMc5DSD8HlUZCTKFzk5OLZ+MRVAZuqF +o86WrDj1gjqUumE5hlnq5IBRmWjb7fUIJ+COExl58Pkftur9HGN27BsM1V+sFxm9vsU ID3I+RbQAKplQohx6AptxW8CzWwEE+Vc87m5sWwT8cfsgK/w8sSgv/nyxU2hiRz0vAA/ tecA== 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 br3si9141770ejb.436.2019.11.16.23.21.48; Sat, 16 Nov 2019 23:21:48 -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 S1726316AbfKQHVo (ORCPT + 26 others); Sun, 17 Nov 2019 02:21:44 -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_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?= , 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 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(-) -- 2.16.4 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 {