From patchwork Sat Nov 23 20:37:56 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: 180124 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1128505ilf; Sat, 23 Nov 2019 12:38:17 -0800 (PST) X-Google-Smtp-Source: APXvYqxj0p52od7njH8GUJ4KC36eYMu4eQwWPfRLaEZjstat2YXaelX/ZxxkueqeZ00LEjnB3Ead X-Received: by 2002:a05:6402:1296:: with SMTP id w22mr3728464edv.65.1574541497743; Sat, 23 Nov 2019 12:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574541497; cv=none; d=google.com; s=arc-20160816; b=ieXjs+Ac9H5XbhBFF2Jzry4RFTTzA+cWAIWP6XpUAp0KERdqTGSfsOWcKP0RHiEjBn tFGAVTFgryBUCwGPWE/yKA4pu4+fOZmlEbw/c8zQ9AJUoZoRgqglDDpYGgB8fhYU2/1I I1zzJAUHtJbJlrqIABNuFiIFhqOkoqihEY7afqke4GwZa0homZM/A/+L29uI7ns3PF1P KZJe+V0QizFi0dnbnfbfpV+lY/+xgi30aml/4Dm4KTvgjgFMweWfyTwgZOwMRqwtBOr4 +za21CaXAIIPYWTyXLkVHvRG+aEsmPXPS8xGhW6VIxZMNkRFq7OUY3Pq/1++wivOlK3A y2RQ== 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=ZGfX4dblQS+Rk6/FueDCwHi04C+jSxKh7IwTfU0q64vPO9+RQoLPIIsHOsW+ski/xE HFDbLyC86ItJSoTTZ1WGhFCho8ZAzJpro7UYv3Tspp+BeHX6so6Zx6d8ImJOzv5PPVbp 4TB2F39VWl3dqr+DgPM7QUw1oVSUvIendDGQNd0XCNCwbGUsN71PEorciaNCKND7d1qS UGEYBpxAAGRA3c/Nuc3bsMD+3nNjXNFuSySRCZvCEzj6a3T4AMj6WVz9BBF8+bTbjrZR EEvU6iemySoTqbS1f7Gy2624yq8G8A2K9Zacrx56AtC6L4Qv+PizLKrAqBkt0lR+VMIs szKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 la17si1375744ejb.433.2019.11.23.12.38.17; Sat, 23 Nov 2019 12:38:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726759AbfKWUiO (ORCPT + 8 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_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 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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(-) -- 2.16.4 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 {