From patchwork Mon Dec 2 18:21:52 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: 180626 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp345941ile; Mon, 2 Dec 2019 10:22:21 -0800 (PST) X-Google-Smtp-Source: APXvYqzdVBS98BLaxNHZshSRTJ4UpdZnSj16VBpyLqFrmdliSY36uAHzfPn3zc3brldQ2+6pWvkx X-Received: by 2002:a1c:2383:: with SMTP id j125mr24917316wmj.87.1575310941140; Mon, 02 Dec 2019 10:22:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575310941; cv=none; d=google.com; s=arc-20160816; b=DCGGRSlg6sxPKDCNyrAn95Nxvk+APj7zAiZZu3LMJA7wv4YoIgE+vDSOk+0UBPX8YS FQv5T1BtDi6A65COa8ChyMcXTpq84K+RRqbTUgmaqO4fyayyEx68vrVjzxS7Yx7e4bWd Xt5nYyUMc7Jqh3avwXbvusj8SN/6AUL4CcX5Gyys9cKlgyV+261yeTm4TVCyOav+Qwpq 1vAzNZ45DKFh5YTZrAxjki7m3len7hGAztbtE4BDN375juj7RFUbsyI8OWXKffDxyyMa DXFkctXhFZQ5Mkn+pgQAv7lZlysWdD1UXspTN3e8fRSasNeDbiDkRaOqjG4zbPh5ZgS0 2VNA== 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=+1aE4JAS6wEcSmCzaZDGm72fmg+xwW8tHDqr53Rz+yA=; b=hnwG3eqInc67GdOi6jD7939i9/L3cWDkwX7G2kGbf/UHuNE9ltiDK8hpm2GD/CTtVK gfJ/wdDKnPQnLmrkGIv7wVmmHZ0Xev92XYWjqah8PzGj4UvkPrVaAo6uqzNyV54M5VkR PanFQA8dUb2NVN+69EvZLvSWwB8tljWdZ8/a35IOfCfUNemrcSYwz8XW5z1cWESeZlJz y0pEOJ1OyUkMs/VGwOxr/q171/nyvalOGv9EEfsE+isER0m0y3SxMsOBIGCDzr+q/emZ A0gwTZ1WYlC0toTBoy4R/XUCgaNIXNkZJJm8iARimbIbvZf3OcFqMft4coO7RIDdq1lK Y0eQ== 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 c11si157152eds.65.2019.12.02.10.22.20; Mon, 02 Dec 2019 10:22:21 -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 S1727952AbfLBSWR (ORCPT + 27 others); Mon, 2 Dec 2019 13:22:17 -0500 Received: from mx2.suse.de ([195.135.220.15]:35922 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727860AbfLBSWP (ORCPT ); Mon, 2 Dec 2019 13:22:15 -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 31659AD75; Mon, 2 Dec 2019 18:22:14 +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 02/14] arm64: dts: realtek: rtd129x: Introduce CRT, iso and misc syscon Date: Mon, 2 Dec 2019 19:21:52 +0100 Message-Id: <20191202182205.14629-3-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 the non-iso reset controller nodes in a CRT syscon mfd node. Group reset controller, watchdog and UART0 in 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/rtd129x.dtsi | 147 +++++++++++++++++++------------ 1 file changed, 90 insertions(+), 57 deletions(-) -- 2.16.4 diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi index 0de9e675be16..34dc09790d0b 100644 --- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi @@ -63,70 +63,31 @@ #size-cells = <1>; ranges = <0x0 0x98000000 0x200000>; - reset1: reset-controller@0 { - compatible = "snps,dw-low-reset"; - reg = <0x0 0x4>; - #reset-cells = <1>; - }; - - reset2: reset-controller@4 { - compatible = "snps,dw-low-reset"; - reg = <0x4 0x4>; - #reset-cells = <1>; - }; - - reset3: reset-controller@8 { - compatible = "snps,dw-low-reset"; - reg = <0x8 0x4>; - #reset-cells = <1>; - }; - - reset4: reset-controller@50 { - compatible = "snps,dw-low-reset"; - reg = <0x50 0x4>; - #reset-cells = <1>; - }; - - iso_reset: reset-controller@7088 { - compatible = "snps,dw-low-reset"; - reg = <0x7088 0x4>; - #reset-cells = <1>; - }; - - 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>; + crt: syscon@0 { + compatible = "syscon", "simple-mfd"; + reg = <0x0 0x1800>; reg-io-width = <4>; - clock-frequency = <27000000>; - resets = <&iso_reset RTD1295_ISO_RSTN_UR0>; - status = "disabled"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x1800>; }; - uart1: serial@1b200 { - compatible = "snps,dw-apb-uart"; - reg = <0x1b200 0x100>; - reg-shift = <2>; + iso: syscon@7000 { + compatible = "syscon", "simple-mfd"; + reg = <0x7000 0x1000>; reg-io-width = <4>; - clock-frequency = <432000000>; - resets = <&reset2 RTD1295_RSTN_UR1>; - status = "disabled"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x7000 0x1000>; }; - uart2: serial@1b400 { - compatible = "snps,dw-apb-uart"; - reg = <0x1b400 0x100>; - reg-shift = <2>; + misc: syscon@1b000 { + compatible = "syscon", "simple-mfd"; + reg = <0x1b000 0x1000>; reg-io-width = <4>; - clock-frequency = <432000000>; - resets = <&reset2 RTD1295_RSTN_UR2>; - status = "disabled"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1b000 0x1000>; }; }; @@ -142,3 +103,75 @@ }; }; }; + +&crt { + reset1: reset-controller@0 { + compatible = "snps,dw-low-reset"; + reg = <0x0 0x4>; + #reset-cells = <1>; + }; + + reset2: reset-controller@4 { + compatible = "snps,dw-low-reset"; + reg = <0x4 0x4>; + #reset-cells = <1>; + }; + + reset3: reset-controller@8 { + compatible = "snps,dw-low-reset"; + reg = <0x8 0x4>; + #reset-cells = <1>; + }; + + reset4: reset-controller@50 { + compatible = "snps,dw-low-reset"; + reg = <0x50 0x4>; + #reset-cells = <1>; + }; +}; + +&iso { + iso_reset: reset-controller@88 { + compatible = "snps,dw-low-reset"; + reg = <0x88 0x4>; + #reset-cells = <1>; + }; + + wdt: watchdog@680 { + compatible = "realtek,rtd1295-watchdog"; + reg = <0x680 0x100>; + clocks = <&osc27M>; + }; + + uart0: serial@800 { + compatible = "snps,dw-apb-uart"; + reg = <0x800 0x400>; + reg-shift = <2>; + reg-io-width = <4>; + clock-frequency = <27000000>; + resets = <&iso_reset RTD1295_ISO_RSTN_UR0>; + status = "disabled"; + }; +}; + +&misc { + uart1: serial@200 { + compatible = "snps,dw-apb-uart"; + reg = <0x200 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + clock-frequency = <432000000>; + resets = <&reset2 RTD1295_RSTN_UR1>; + status = "disabled"; + }; + + uart2: serial@400 { + compatible = "snps,dw-apb-uart"; + reg = <0x400 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + clock-frequency = <432000000>; + resets = <&reset2 RTD1295_RSTN_UR2>; + status = "disabled"; + }; +}; From patchwork Mon Dec 2 18:21:53 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: 180632 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp346390ile; Mon, 2 Dec 2019 10:22:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzS7TBCe3lUUTl5U4aA284tim1dGjP0smnVQTHVKuVs4n3onMoe17Ul21X+oZ6/h5dCn8dk X-Received: by 2002:a17:906:5c0d:: with SMTP id e13mr587981ejq.82.1575310961430; Mon, 02 Dec 2019 10:22:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575310961; cv=none; d=google.com; s=arc-20160816; b=DAStevxuTh0naCtuy17AN7i4yu9e0Zuox5GTiywtrqyq0CqbSD6p8bLs13boS5lgTt V8tH/3/iJe7kKFk9Y+levuNA789jFUDgfFqJfhCZv1XgPaQrBRwZPNAvZ4RRQgn32yGW kZdxyNVFk/gJLuiLwvBWEuc1j890UwOIPTClhkbi9JGUkgWf1aJTHg+O6Hdqs6ilko3S ZVAVte4BCEVXIwSzphSynYFMcTh45ZRly0DInlzcjkUamlt5wEgrdJkptiTdc2YBU1DD yDAN56Dzola1r+5jAkfugvi9SH4ctZAf6lszqNmhaovcya7m5+X/8sF3AqGY3xrfZhl8 1U9A== 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=jVYVJ+e58bq2vZEc/BSYZDaOn+bujl1RzX1eaPukfmI=; b=UbiUerfDr2DOqOlPt+908q454dJahIrQhK7NXrkLeMAKa9Rt9yg2j9xQWot+yHFLLW CvqXmhYCdhvFj+tgs26al4qTmYMZfbD3b+fFl/hIHjIJSJ66slnPq5AsHv+be9xYiTo9 DxKl3cGDYjPfb/qA4t+OqHRInallUwEDqk21r+Am1/Ecb+X8Pu8frxFR1lLS+gNZzc04 ENMwSs9AhyA7QER54pyWcbR1SCOkG5yQ7Spti+3B5aswRK7V8VKevI14UwTqghIsyB3i 07OnieEp+ophU0V06BM9mOp88a/N/S8vokLpCtbUUhEKc3rjdXMSE3R9FcszyxCzPtOz WGYw== 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 df10si175509edb.101.2019.12.02.10.22.41; Mon, 02 Dec 2019 10:22:41 -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 S1727972AbfLBSWT (ORCPT + 27 others); Mon, 2 Dec 2019 13:22:19 -0500 Received: from mx2.suse.de ([195.135.220.15]:35940 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727872AbfLBSWQ (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 9CE78AE65; Mon, 2 Dec 2019 18:22:14 +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 03/14] arm64: dts: realtek: rtd139x: Introduce CRT, iso and misc syscon Date: Mon, 2 Dec 2019 19:21:53 +0100 Message-Id: <20191202182205.14629-4-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 the non-iso reset controller nodes into a CRT syscon mfd node. Group reset controller, watchdog and UART0 into an Isolation 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/rtd139x.dtsi | 147 +++++++++++++++++++------------ 1 file changed, 90 insertions(+), 57 deletions(-) -- 2.16.4 diff --git a/arch/arm64/boot/dts/realtek/rtd139x.dtsi b/arch/arm64/boot/dts/realtek/rtd139x.dtsi index c11a505e43e2..3a571f3b7e38 100644 --- a/arch/arm64/boot/dts/realtek/rtd139x.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd139x.dtsi @@ -61,70 +61,31 @@ #size-cells = <1>; ranges = <0x0 0x98000000 0x200000>; - reset1: reset-controller@0 { - compatible = "snps,dw-low-reset"; - reg = <0x0 0x4>; - #reset-cells = <1>; - }; - - reset2: reset-controller@4 { - compatible = "snps,dw-low-reset"; - reg = <0x4 0x4>; - #reset-cells = <1>; - }; - - reset3: reset-controller@8 { - compatible = "snps,dw-low-reset"; - reg = <0x8 0x4>; - #reset-cells = <1>; - }; - - reset4: reset-controller@50 { - compatible = "snps,dw-low-reset"; - reg = <0x50 0x4>; - #reset-cells = <1>; - }; - - iso_reset: reset-controller@7088 { - compatible = "snps,dw-low-reset"; - reg = <0x7088 0x4>; - #reset-cells = <1>; - }; - - 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>; + crt: syscon@0 { + compatible = "syscon", "simple-mfd"; + reg = <0x0 0x1000>; reg-io-width = <4>; - clock-frequency = <27000000>; - resets = <&iso_reset RTD1295_ISO_RSTN_UR0>; - status = "disabled"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x1000>; }; - uart1: serial@1b200 { - compatible = "snps,dw-apb-uart"; - reg = <0x1b200 0x100>; - reg-shift = <2>; + iso: syscon@7000 { + compatible = "syscon", "simple-mfd"; + reg = <0x7000 0x1000>; reg-io-width = <4>; - clock-frequency = <432000000>; - resets = <&reset2 RTD1295_RSTN_UR1>; - status = "disabled"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x7000 0x1000>; }; - uart2: serial@1b400 { - compatible = "snps,dw-apb-uart"; - reg = <0x1b400 0x100>; - reg-shift = <2>; + misc: syscon@1b000 { + compatible = "syscon", "simple-mfd"; + reg = <0x1b000 0x1000>; reg-io-width = <4>; - clock-frequency = <432000000>; - resets = <&reset2 RTD1295_RSTN_UR2>; - status = "disabled"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1b000 0x1000>; }; }; @@ -140,3 +101,75 @@ }; }; }; + +&crt { + reset1: reset-controller@0 { + compatible = "snps,dw-low-reset"; + reg = <0x0 0x4>; + #reset-cells = <1>; + }; + + reset2: reset-controller@4 { + compatible = "snps,dw-low-reset"; + reg = <0x4 0x4>; + #reset-cells = <1>; + }; + + reset3: reset-controller@8 { + compatible = "snps,dw-low-reset"; + reg = <0x8 0x4>; + #reset-cells = <1>; + }; + + reset4: reset-controller@50 { + compatible = "snps,dw-low-reset"; + reg = <0x50 0x4>; + #reset-cells = <1>; + }; +}; + +&iso { + iso_reset: reset-controller@88 { + compatible = "snps,dw-low-reset"; + reg = <0x88 0x4>; + #reset-cells = <1>; + }; + + wdt: watchdog@680 { + compatible = "realtek,rtd1295-watchdog"; + reg = <0x680 0x100>; + clocks = <&osc27M>; + }; + + uart0: serial@800 { + compatible = "snps,dw-apb-uart"; + reg = <0x800 0x400>; + reg-shift = <2>; + reg-io-width = <4>; + clock-frequency = <27000000>; + resets = <&iso_reset RTD1295_ISO_RSTN_UR0>; + status = "disabled"; + }; +}; + +&misc { + uart1: serial@200 { + compatible = "snps,dw-apb-uart"; + reg = <0x200 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + clock-frequency = <432000000>; + resets = <&reset2 RTD1295_RSTN_UR1>; + status = "disabled"; + }; + + uart2: serial@400 { + compatible = "snps,dw-apb-uart"; + reg = <0x400 0x100>; + reg-shift = <2>; + reg-io-width = <4>; + clock-frequency = <432000000>; + resets = <&reset2 RTD1295_RSTN_UR2>; + status = "disabled"; + }; +}; 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"; + }; +}; From patchwork Mon Dec 2 18:21:55 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: 180638 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp347061ile; Mon, 2 Dec 2019 10:23:08 -0800 (PST) X-Google-Smtp-Source: APXvYqxB1i0TjWLgmt/PWgnZNu4oET4xjVKChV+nYzAaKxYNVUhdW3XIwdGRkPl9EVyjfzSRsDGV X-Received: by 2002:aa7:c384:: with SMTP id k4mr276897edq.10.1575310988803; Mon, 02 Dec 2019 10:23:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575310988; cv=none; d=google.com; s=arc-20160816; b=xWw/jdsUS742lE8XUV4ZTu58hwBEs6E6LK/UJwqvbGOG9EYTdtbBSc5VxBph77cGpL kysa4qS1tSr/fEb1WG2TSV6ptgLdG9FDCxeruYTUGlM6G3jjCwRhjs/uoI9/vg8zlbmo c4KYDYuM1wO28lpj5s2hXaj8CjWzlYmaYDTVVF8jraPOxqA4QgQJQA3fbJDDWSEZdS3n pz7gF65ttvQoTP1peqqVdZYcfYm1SRyEw81dJTSw7USz+LIkADcDzvLoFBA8fbxDUcR9 TyoztYU2Lf/1htxF82Bqx0bEkzQWmbDQvb51XmHBKcHrhyAM2Re+VjI9mBFJ4ypPNxSe oAww== 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=m2aR9a/eeMmS9QMYakqYOtuKvydCJvZrBI/J6NW5AcA=; b=gESbbECFahovMxSZxanHhPHBq6dVyVKXoRSqTh8Ttvzn0iXDrjjfei4+LwYZv3/qyR Wio1ahC6mvStTf+8rKKCosUcVFUogE6ZGBiCE8TIHLgMOLrxM5WdwN3qbz/OPfaWWfdA Mtdb93AgNQZZ2aVc/mfwawpPLg3Y4Xf2UxvNzwRcyzD8OuQ+zgo838/uMlhhk4qEcpJi 6C/+8juH/gNTn3f92QDeux1OgqIjEnqfT9IxprTDIymYI2d17dg6KXmU2qPAqPq7Msh6 GAzSKhwHsgpy6BX+XIorzN//n/CzYCJhfkmxPEdE96ayi2vdI4hoPNdaAQNLNWD+5YoJ jL9w== 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 14si223605eja.294.2019.12.02.10.23.08; Mon, 02 Dec 2019 10:23:08 -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 S1727946AbfLBSXG (ORCPT + 27 others); Mon, 2 Dec 2019 13:23:06 -0500 Received: from mx2.suse.de ([195.135.220.15]:35968 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727671AbfLBSWQ (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 7AABAAECB; 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 05/14] ARM: dts: rtd1195: Add CRT syscon node Date: Mon, 2 Dec 2019 19:21:55 +0100 Message-Id: <20191202182205.14629-6-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 Prepare a CRT syscon mfd node. Cc: James Tai Signed-off-by: Andreas Färber --- arch/arm/boot/dts/rtd1195.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.16.4 diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi index a74f530dc439..ac37366ff7c4 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -100,6 +100,15 @@ #size-cells = <1>; ranges = <0x0 0x18000000 0x70000>; + crt: syscon@0 { + compatible = "syscon", "simple-mfd"; + reg = <0x0 0x1000>; + reg-io-width = <4>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x1000>; + }; + iso: syscon@7000 { compatible = "syscon", "simple-mfd"; reg = <0x7000 0x1000>; From patchwork Mon Dec 2 18:21: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: 180636 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp346750ile; Mon, 2 Dec 2019 10:22:56 -0800 (PST) X-Google-Smtp-Source: APXvYqz+Npd71n/kdbWfNY54TWn6qwdVnIUiuRdek2m8Ed4ASNyvTGvVR0GMWipdilDKKj9bwd0G X-Received: by 2002:a17:906:70d4:: with SMTP id g20mr494418ejk.319.1575310976083; Mon, 02 Dec 2019 10:22:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575310976; cv=none; d=google.com; s=arc-20160816; b=cRqSqM9o2vaZQ7q25RgSIHmA4vx0B4I15Zq/5IHdAXtlRQnRe53jXK5qLxu8Y58/0y SJMmGSUeFmAkQkfbgHbTB6oimhnJhaGcmPAt3hNbX4AOMFXqFfOH1alFhm7X61/FqeBe jsnHz3qIAZIWn1vjW/j0xDssTSjnpDUa3Rx84tUaB3F/szU+d7kJglDv5QEga52S+sCv lo7nlL0upyS0AqxRIX1EkAjOCOaV/NS0/+2XHamNDXBv4TyCqI4cA8/WAgWAmgqRAXYN guTs8Io2xuYg/deU6k7aTzdAdmfaMeRoyp2aTVdDo5wMbdfNYbFkV5sXmmDgoydVOS3U 7cnw== 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=ydcTw+dKNC29pIrz4oYM6l3fifwYJjm+qtmErzG1x7o=; b=swS+RpjGSq7TTX4JHv3MOQz7E8Z/gsacWLCjqZ2yY/Qtvm3SUOoh8M2QbfJbqsPo5V 1dBK7NlTYTLrv6jMKkwdFQNlYPb5F9XoXuN6fxPm1XQmle9ABzR9ZL0l59zlZZBaasil JuepQ95vrUBrgMD7bvW5Oj1RFFZ8L2dMhG9vuZzsCXpPLPUxznE0Hop842EGW0pqBaL3 4pA9ysIQqYEAiLyfmYb3MVyOjsawSF++QSI5hFff4AFPUqjYMlGyhAeF1MYG9ZDe2INi qERS7KIozEyWR45QS1gToPMjyBNODA8UVhsFWG+xFwOhgpYyuP1tBzWkZSS9bgCvzN/v LF2Q== 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 f25si178585edt.142.2019.12.02.10.22.55; Mon, 02 Dec 2019 10:22:56 -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 S1728057AbfLBSWu (ORCPT + 27 others); Mon, 2 Dec 2019 13:22:50 -0500 Received: from mx2.suse.de ([195.135.220.15]:35978 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727947AbfLBSWS (ORCPT ); Mon, 2 Dec 2019 13:22:18 -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 18A91AE8D; Mon, 2 Dec 2019 18:22:16 +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?= , Philipp Zabel , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH 06/14] dt-bindings: reset: Add Realtek RTD1195 Date: Mon, 2 Dec 2019 19:21:56 +0100 Message-Id: <20191202182205.14629-7-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 Add a header with symbolic reset indices for Realtek RTD1195 SoC. Naming was derived from BSP register description headers. Acked-by: Philipp Zabel Reviewed-by: Rob Herring Signed-off-by: Andreas Färber --- v1: From RTD1195 v4 series include/dt-bindings/reset/realtek,rtd1195.h | 74 +++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 include/dt-bindings/reset/realtek,rtd1195.h -- 2.16.4 diff --git a/include/dt-bindings/reset/realtek,rtd1195.h b/include/dt-bindings/reset/realtek,rtd1195.h new file mode 100644 index 000000000000..27902abf935b --- /dev/null +++ b/include/dt-bindings/reset/realtek,rtd1195.h @@ -0,0 +1,74 @@ +/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ +/* + * Realtek RTD1195 reset controllers + * + * Copyright (c) 2017 Andreas Färber + */ +#ifndef DT_BINDINGS_RESET_RTD1195_H +#define DT_BINDINGS_RESET_RTD1195_H + +/* soft reset 1 */ +#define RTD1195_RSTN_MISC 0 +#define RTD1195_RSTN_RNG 1 +#define RTD1195_RSTN_USB3_POW 2 +#define RTD1195_RSTN_GSPI 3 +#define RTD1195_RSTN_USB3_P0_MDIO 4 +#define RTD1195_RSTN_VE_H265 5 +#define RTD1195_RSTN_USB 6 +#define RTD1195_RSTN_USB_PHY0 8 +#define RTD1195_RSTN_USB_PHY1 9 +#define RTD1195_RSTN_HDMIRX 11 +#define RTD1195_RSTN_HDMI 12 +#define RTD1195_RSTN_ETN 14 +#define RTD1195_RSTN_AIO 15 +#define RTD1195_RSTN_GPU 16 +#define RTD1195_RSTN_VE_H264 17 +#define RTD1195_RSTN_VE_JPEG 18 +#define RTD1195_RSTN_TVE 19 +#define RTD1195_RSTN_VO 20 +#define RTD1195_RSTN_LVDS 21 +#define RTD1195_RSTN_SE 22 +#define RTD1195_RSTN_DCU 23 +#define RTD1195_RSTN_DC_PHY 24 +#define RTD1195_RSTN_CP 25 +#define RTD1195_RSTN_MD 26 +#define RTD1195_RSTN_TP 27 +#define RTD1195_RSTN_AE 28 +#define RTD1195_RSTN_NF 29 +#define RTD1195_RSTN_MIPI 30 + +/* soft reset 2 */ +#define RTD1195_RSTN_ACPU 0 +#define RTD1195_RSTN_VCPU 1 +#define RTD1195_RSTN_PCR 9 +#define RTD1195_RSTN_CR 10 +#define RTD1195_RSTN_EMMC 11 +#define RTD1195_RSTN_SDIO 12 +#define RTD1195_RSTN_I2C_5 18 +#define RTD1195_RSTN_RTC 20 +#define RTD1195_RSTN_I2C_4 23 +#define RTD1195_RSTN_I2C_3 24 +#define RTD1195_RSTN_I2C_2 25 +#define RTD1195_RSTN_I2C_1 26 +#define RTD1195_RSTN_UR1 28 + +/* soft reset 3 */ +#define RTD1195_RSTN_SB2 0 + +/* iso soft reset */ +#define RTD1195_ISO_RSTN_VFD 0 +#define RTD1195_ISO_RSTN_IR 1 +#define RTD1195_ISO_RSTN_CEC0 2 +#define RTD1195_ISO_RSTN_CEC1 3 +#define RTD1195_ISO_RSTN_DP 4 +#define RTD1195_ISO_RSTN_CBUSTX 5 +#define RTD1195_ISO_RSTN_CBUSRX 6 +#define RTD1195_ISO_RSTN_EFUSE 7 +#define RTD1195_ISO_RSTN_UR0 8 +#define RTD1195_ISO_RSTN_GMAC 9 +#define RTD1195_ISO_RSTN_GPHY 10 +#define RTD1195_ISO_RSTN_I2C_0 11 +#define RTD1195_ISO_RSTN_I2C_6 12 +#define RTD1195_ISO_RSTN_CBUS 13 + +#endif From patchwork Mon Dec 2 18:21:57 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: 180635 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp346675ile; Mon, 2 Dec 2019 10:22:53 -0800 (PST) X-Google-Smtp-Source: APXvYqzEvPpsd4e9QK3iSibD91dP9CNEJLWYGQlwJud9EByCVSAneqRNT2XiezvByDZKT0zr/OBY X-Received: by 2002:a7b:c947:: with SMTP id i7mr10957518wml.71.1575310973284; Mon, 02 Dec 2019 10:22:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575310973; cv=none; d=google.com; s=arc-20160816; b=bFM1O1uaC7m150VcDfsj07ormlwq1kXV/fnRALr6vkCARSUIn7ouw73XipjmMVPjMY H9s59viU6Y1Qg8pSWGszuh6tBDbh1+RhYiXMAGXWdztxbAFXyuB8CwTN/3Pgj0cWrGuK XFe4SwVx2LH0TWuq7qZ/sVSd8PhH+0GTdC/lYyagp+JjTGmVWraxm9a0EXaklzzhV+Z5 rpmDnPN0JhUgWqj7k9wLL6eV3beXKMUGcYMKdtqnA+ZSnvYsjhw+sqIrWvcBVMTEb4+0 a6hr3gI6cuKIJ3MXqOnT1lWyWp0a5F/3uXc1VbOtlOSpHgCvrNjTxmr716Hvk49TosEm KwYw== 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=8O5J0JkruG2n06Ld7x5cvM9rIGogVOXRR7ctNbnEpJE=; b=NLcgdQelpkztIuRbVSYGobIExZT4i79aKCvPqsCS0RGyINi15mQ2bGeDWjF8gzSUXI YyL4kuGxFBtKFbv980NTlmd6+ihroeoPWEYgQnc7Xii9v78CFRU3WSYdjmyJkYFA5UCG PlQbFemoJRiTo1S47+GzaebzrxqFVLvV33coO0wk/zvlFY5v4SBSqkbjBpBQewZnsIdy PssMApswy6D07e/jrtP78Tp3qrGOkl0RcMr3PGuMLCi6h0jnK2MIhuixM+ec4nTR18Yv 3NSiKaEuD/NvD/jKecAs8JmmOb2aqAXLey3HIsLmplknfBG6DRzA8Is3VAWo2RmUOlgV 1chA== 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 m10si222070ejo.243.2019.12.02.10.22.53; Mon, 02 Dec 2019 10:22:53 -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 S1728071AbfLBSWv (ORCPT + 27 others); Mon, 2 Dec 2019 13:22:51 -0500 Received: from mx2.suse.de ([195.135.220.15]:35998 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727860AbfLBSWR (ORCPT ); Mon, 2 Dec 2019 13:22:17 -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 B4321AEF5; Mon, 2 Dec 2019 18:22:16 +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 07/14] ARM: dts: rtd1195: Add reset nodes Date: Mon, 2 Dec 2019 19:21:57 +0100 Message-Id: <20191202182205.14629-8-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 Add reset controller nodes for Realtek RTD1195 SoC. Signed-off-by: Andreas Färber --- v1: From RTD1195 v4 series (James wants to change the compatible string) arch/arm/boot/dts/rtd1195.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) -- 2.16.4 diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi index ac37366ff7c4..886845e52205 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -141,7 +141,33 @@ }; }; +&crt { + reset1: reset-controller@0 { + compatible = "snps,dw-low-reset"; + reg = <0x0 0x4>; + #reset-cells = <1>; + }; + + reset2: reset-controller@4 { + compatible = "snps,dw-low-reset"; + reg = <0x4 0x4>; + #reset-cells = <1>; + }; + + reset3: reset-controller@8 { + compatible = "snps,dw-low-reset"; + reg = <0x8 0x4>; + #reset-cells = <1>; + }; +}; + &iso { + iso_reset: reset-controller@88 { + compatible = "snps,dw-low-reset"; + reg = <0x88 0x4>; + #reset-cells = <1>; + }; + wdt: watchdog@680 { compatible = "realtek,rtd1295-watchdog"; reg = <0x680 0x100>; From patchwork Mon Dec 2 18:21:58 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: 180637 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp346959ile; Mon, 2 Dec 2019 10:23:03 -0800 (PST) X-Google-Smtp-Source: APXvYqz6W/2nAsLTxHEJkjPHzk+1iiQaR6ZGjLFIP9oVWdIlNHuOK++Uk/5P20oJ19T3evlZ6A3m X-Received: by 2002:a17:906:c299:: with SMTP id r25mr570598ejz.272.1575310983360; Mon, 02 Dec 2019 10:23:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575310983; cv=none; d=google.com; s=arc-20160816; b=q7gl4DcMmuQqdWI1i+QzjabPSnY5DaskZUMVUhu3MoyYdhqbpoY4WQtrY28QIHLKoF o+i5crJcnKddDxh8kmgQcQBbwddl+r9fVTAt8xnIot5t6Sr5sIfwfNkMI1X8QPyCL5w4 2r7NWYyQN3UZtkHAalBZUsXDu2eStpNtCPMC7sNJGKl2lXNyDlRs91y5Scky4FyUxjIJ Wsz5Fxplygmxd5LlXBHHDO0T/vnt5wf+Bsp3NCrwIIWe3PTp+izL50sx+4uIj44G/hxq inPb/mAdkz2OAiQDRgyPv7kSENGRUHDjWm/UdfDL5aHO1vHIg+gIyabWpu8McEFQ+MJ5 HIvw== 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=MeCnNkreND1A/PIF/6x996XOvKtL/ccWe4jbECcBvvM=; b=TVKMZYJv6UGp2ngsco5Ggst5A7Pb5ZmLXeEltbgkGlRQT5GIQZ/3ATY0En2+aDXTL8 IEHNwjVhp+jNajlhS7bPEKYfIrl6vnxYIche+RAnLjUprht+mJm6AExn+DYJK4wd3A4S Atl/Tg9X2NnIEjnpob7h806ThEIb/zlLXNg7YQlYRVJWiPaVItxQ9Cw84LtOuD941uYb qnfK7PXyrXJj18qJ08aFSiwQ235yjugUXsRjC1+99futOIRdF1sJ37fE8TjXdqfXmVW3 Kt+tKzDNP+81TrdGFknu4vja5PxZ7/q5vpkVx7fj/nrv89v+j8v/5z1uXEHwZwV8DaBf W6Gw== 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 gz20si205852ejb.335.2019.12.02.10.23.03; Mon, 02 Dec 2019 10:23:03 -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 S1728089AbfLBSXA (ORCPT + 27 others); Mon, 2 Dec 2019 13:23:00 -0500 Received: from mx2.suse.de ([195.135.220.15]:35968 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727953AbfLBSWR (ORCPT ); Mon, 2 Dec 2019 13:22:17 -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 D5A72AEE1; Mon, 2 Dec 2019 18:22:16 +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 08/14] ARM: dts: rtd1195: Add UART resets Date: Mon, 2 Dec 2019 19:21:58 +0100 Message-Id: <20191202182205.14629-9-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 Associate the UART nodes with the corresponding reset controller bits. Signed-off-by: Andreas Färber --- v1: From RTD1195 v4 series arch/arm/boot/dts/rtd1195.dtsi | 3 +++ 1 file changed, 3 insertions(+) -- 2.16.4 diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi index 886845e52205..09acb99083c1 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -8,6 +8,7 @@ /memreserve/ 0x17fff000 0x00001000; #include +#include / { compatible = "realtek,rtd1195"; @@ -179,6 +180,7 @@ reg = <0x800 0x400>; reg-shift = <2>; reg-io-width = <4>; + resets = <&iso_reset RTD1195_ISO_RSTN_UR0>; clock-frequency = <27000000>; status = "disabled"; }; @@ -190,6 +192,7 @@ reg = <0x200 0x100>; reg-shift = <2>; reg-io-width = <4>; + resets = <&reset2 RTD1195_RSTN_UR1>; clock-frequency = <27000000>; status = "disabled"; }; From patchwork Mon Dec 2 18:22:00 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: 180627 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp346041ile; Mon, 2 Dec 2019 10:22:25 -0800 (PST) X-Google-Smtp-Source: APXvYqy5357g1TknP/cgUVsiqHYyZNdUJ1Iu/jb6+ktlQRn60tEPl9vIUlP8repFCyzmCS7DwiKp X-Received: by 2002:a17:906:c44a:: with SMTP id ck10mr526862ejb.149.1575310944968; Mon, 02 Dec 2019 10:22:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575310944; cv=none; d=google.com; s=arc-20160816; b=ysGjgBeH+K0vUFHBSC+z5y7FgjCAXuxqx9X3P+DA47WXlWgS7wn/oUi+i1oMaGFwHI A0ekihX53+bqjlNg0osCA9b7RFChvMYLOgCAxeQmxN+LHk6pDvb45QyYA7RWLcBKFu0X dqsfyY+kIK98QBqnWCAJ49yYW2vS3sGBrUooFgNz0kA7XmQT7fdjX5jz9i4z7qDk2q0t LSHPH769e0sNuVSxZoK8VINrHAHcrgWIlAOh3xexMihg3P6XmME98AQSkknyXKlq8ZjQ omvbqMZkeoaYsrD53adsBTAYdKUGM0+hum+kBhHB82xd+7kwdoZ3/47MDHTqOwXFqsvK kXdg== 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=A/LqBzdJHDoNN+9v3Z3i67K+WA0Tn0hsaWjWlUigndg=; b=a5Fo4tosSRWNjQAGNx9AzwINsOQUtOaWwZ3V4vGlvibDRlsfIFTeqkpZzRdRpYAaaa njnGs3ZYv3TaWfA0mC0HOov2Cpeqp/eJyAx808QO1nfa6gmM60Zz2MerQfvHnM1E1Cbz z63+KAcbc/4t8CubesK3qx413XTGVCyP85eLuPFwk/h74QA8glujrYCxEd6hIW8vFxL3 mZk6u522t7dEgFtc36g45HpokdoDiuSy/rS0gDix+0zHXZvdvqq2ZtNa9UUDMlXwS1Y7 jbqmkMUBtazQKsft0CwgrY1++xyCKfvdUfjWLtiJQY3ep1l3dob3BFKZhtyMtjWiK+ZT V4Pw== 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 c11si157152eds.65.2019.12.02.10.22.24; Mon, 02 Dec 2019 10:22:24 -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 S1727992AbfLBSWX (ORCPT + 27 others); Mon, 2 Dec 2019 13:22:23 -0500 Received: from mx2.suse.de ([195.135.220.15]:36032 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727962AbfLBSWT (ORCPT ); Mon, 2 Dec 2019 13:22:19 -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 B5EFCAE53; Mon, 2 Dec 2019 18:22:17 +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 10/14] ARM: dts: rtd1195: Add SB2 and SCPU Wrapper syscon nodes Date: Mon, 2 Dec 2019 19:22:00 +0100 Message-Id: <20191202182205.14629-11-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 Add syscon mfd nodes for SB2 and SCPU Wrapper to RTD1195 DT. Cc: James Tai Signed-off-by: Andreas Färber --- arch/arm/boot/dts/rtd1195.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.16.4 diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi index 09acb99083c1..21897210d9d0 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -119,6 +119,15 @@ ranges = <0x0 0x7000 0x1000>; }; + sb2: syscon@1a000 { + compatible = "syscon", "simple-mfd"; + reg = <0x1a000 0x1000>; + reg-io-width = <4>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1a000 0x1000>; + }; + misc: syscon@1b000 { compatible = "syscon", "simple-mfd"; reg = <0x1b000 0x1000>; @@ -127,6 +136,15 @@ #size-cells = <1>; ranges = <0x0 0x1b000 0x1000>; }; + + scpu_wrapper: syscon@1d000 { + compatible = "syscon", "simple-mfd"; + reg = <0x1d000 0x1000>; + reg-io-width = <4>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1d000 0x1000>; + }; }; gic: interrupt-controller@ff011000 { From patchwork Mon Dec 2 18:22:01 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: 180634 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp346524ile; Mon, 2 Dec 2019 10:22:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwsAu5XmV9GvBR2dvvZ4OpgtA5G8DblTwCw+uVX70SbFarHWknHYle6nQB1m3+P4rp0pb5f X-Received: by 2002:a5d:6346:: with SMTP id b6mr284143wrw.354.1575310967044; Mon, 02 Dec 2019 10:22:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575310967; cv=none; d=google.com; s=arc-20160816; b=oLubPmgQ/p/mVscKzgAwP+JJQAgOeebFwjsB66b1LNHUBWxRU+tgjzcHFodzzddAZO lCliiwFQ67+VFrXiEtOFsGKbUXyWk4hrSOiqOdno9J05SaKKo4b4oF047YB3Rg7CyOuh rQ0Ls/oii9d8Ih1UktaptyTq+j4cQvySpZKMPBTvelNxVsSobxDA5wYnBaf5vZjCRyod XNoG8wwe7n9EUKiRzQhkFbDo8lubF7Ejxcb/hkXK7YGxvEPWcCTQU/SyVh45+LXLafBB NNBDPIcM6DIZCKcuFJmXlyx2paesbiD/SQR6/Y6/14G24MVukpWTY1MG1ief0+1yTG+/ GI1Q== 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=K/q7STHF7yqCVM4CdjwdWOsS0Lxv0zl+nINFqEcX4OI=; b=vZ+4wTCpGI/v95NyaLIr7M/X/9s/O/gvHBtFTbqwzAWPGS5lTJRun/8LiMeTNI2+uB kDnI4uag+xIKOca2yc6pOkNCLE1rxpC1qXl4jT2KE1ZDEpnVHy0Gj/mDDXTw91Q3rMoD LyTF8XSXUKpF3a4rDhFajk/jb3PuTelzxzHiX4IzhP4kORBmPhskmJf179k406HuBs9w rpOrKP0ylRk3vtgZVeX3Ig7wTH/8eRgb2iqLKBqKj+9G8zativp22Ip9ObbvY7lzok7q Z5+ZedpDSP0CngIa+S4SlAwGrr1RPn+9Yxf99EPzyKM/GW9xpWqyIPoj1Pjo6I25jF4Z JSRA== 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 df10si175509edb.101.2019.12.02.10.22.46; Mon, 02 Dec 2019 10:22:47 -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 S1728047AbfLBSWp (ORCPT + 27 others); Mon, 2 Dec 2019 13:22:45 -0500 Received: from mx2.suse.de ([195.135.220.15]:35968 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727963AbfLBSWT (ORCPT ); Mon, 2 Dec 2019 13:22:19 -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 28037AD98; Mon, 2 Dec 2019 18:22:18 +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 11/14] arm64: dts: realtek: rtd129x: Add SB2 and SCPU Wrapper syscon nodes Date: Mon, 2 Dec 2019 19:22:01 +0100 Message-Id: <20191202182205.14629-12-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 Add syscon mfd nodes for SB2 and SCPU Wrapper to RTD129x DT. Cc: James Tai Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd129x.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.16.4 diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi index 34dc09790d0b..39aefe66a794 100644 --- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi @@ -81,6 +81,15 @@ ranges = <0x0 0x7000 0x1000>; }; + sb2: syscon@1a000 { + compatible = "syscon", "simple-mfd"; + reg = <0x1a000 0x1000>; + reg-io-width = <4>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1a000 0x1000>; + }; + misc: syscon@1b000 { compatible = "syscon", "simple-mfd"; reg = <0x1b000 0x1000>; @@ -89,6 +98,15 @@ #size-cells = <1>; ranges = <0x0 0x1b000 0x1000>; }; + + scpu_wrapper: syscon@1d000 { + compatible = "syscon", "simple-mfd"; + reg = <0x1d000 0x2000>; + reg-io-width = <4>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1d000 0x2000>; + }; }; gic: interrupt-controller@ff011000 { From patchwork Mon Dec 2 18:22:02 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: 180631 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp346312ile; Mon, 2 Dec 2019 10:22:38 -0800 (PST) X-Google-Smtp-Source: APXvYqw38UigCH5r8rJGhDPVczCPqRSscMuTn1bH0F32iYjX0xTURFPArgsCYpSK1TsOTDyT2WT/ X-Received: by 2002:aa7:cfcd:: with SMTP id r13mr197498edy.121.1575310958509; Mon, 02 Dec 2019 10:22:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575310958; cv=none; d=google.com; s=arc-20160816; b=Opqm0Zj8CR0WL6h/fAtKSXdEQh/CZObs/h2X3M2pQg2TNneHoxTUTFXUZsUDm3ePEJ xd+5TkeaEVs9axvzNMGoAq11b/zos9bD4Jzgm6fB37iSCb+qsaILzRWfl/LzOY1dlmyf eiwYI16KCuHAgoV8bDNlgOMM+2LGY+bkn5SnltSjISuU9ZZPcWxGjiGQhemJTHUR7y8N YSfc7sZ6yMx/SYx6c+TM1BpbgPPKP8sA1Giv0jAL2F1j7LjO2g+c9eaKhOL1536lIlOX 2lhpzZI5FeFWypgoEUOAq1FNIcoT1BhwNt8Jwtg9+wmUtZRuMFnWqbwTy9kJwQg7BQ46 5n2w== 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=Kz39ZczFT4wQe+2EJ336dnuTWxFbi8oNr8ldybwj65A=; b=VA0asjKqL1FSo/Eix1otgTUy4jppcutk8WXVFlnQlsTPMVz/c1de7nDRDZnjCfMXgm faD4AC6zhO+tldShv76uywhKaudbEWqZEWdzavdVH4E4HrLAA5sKM2wLsPbvrA/jRaGM s8ezEMOgq2QIA+muXeLoMSEkAZQCpCTpDeRIbQhBQ4BoWFMu+YGGwq18zdPv6PWRlV3J BiFLOyO9p0QVwKXBc/LzQBDWLpjORqk1xdgb+vfRNEalCcalr2PEQBUgUUJR1JBggV4D vcuzfQV/lTOrK3zyiaXWzGa3WdPW1Ddfo9QuV/WDkY/3jNn5lOxc9qYyMY4r54HVNTVh lc0A== 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 df10si175509edb.101.2019.12.02.10.22.38; Mon, 02 Dec 2019 10:22:38 -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 S1728019AbfLBSWg (ORCPT + 27 others); Mon, 2 Dec 2019 13:22:36 -0500 Received: from mx2.suse.de ([195.135.220.15]:35998 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727966AbfLBSWT (ORCPT ); Mon, 2 Dec 2019 13:22:19 -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 8D690AEFB; Mon, 2 Dec 2019 18:22:18 +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 12/14] arm64: dts: realtek: rtd139x: Add SB2 and SCPU Wrapper syscon nodes Date: Mon, 2 Dec 2019 19:22:02 +0100 Message-Id: <20191202182205.14629-13-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 Add syscon mfd nodes for SB2 and SCPU Wrapper to RTD139x DT. Cc: James Tai Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd139x.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.16.4 diff --git a/arch/arm64/boot/dts/realtek/rtd139x.dtsi b/arch/arm64/boot/dts/realtek/rtd139x.dtsi index 3a571f3b7e38..a3c10ceeb586 100644 --- a/arch/arm64/boot/dts/realtek/rtd139x.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd139x.dtsi @@ -79,6 +79,15 @@ ranges = <0x0 0x7000 0x1000>; }; + sb2: syscon@1a000 { + compatible = "syscon", "simple-mfd"; + reg = <0x1a000 0x1000>; + reg-io-width = <4>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1a000 0x1000>; + }; + misc: syscon@1b000 { compatible = "syscon", "simple-mfd"; reg = <0x1b000 0x1000>; @@ -87,6 +96,15 @@ #size-cells = <1>; ranges = <0x0 0x1b000 0x1000>; }; + + scpu_wrapper: syscon@1d000 { + compatible = "syscon", "simple-mfd"; + reg = <0x1d000 0x2000>; + reg-io-width = <4>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1d000 0x2000>; + }; }; gic: interrupt-controller@ff011000 { From patchwork Mon Dec 2 18:22:03 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: 180630 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp346218ile; Mon, 2 Dec 2019 10:22:33 -0800 (PST) X-Google-Smtp-Source: APXvYqxW97DwiQ+E84wD0amWbNxGqs+Q6tX75rQ3WgL53PgHCfn5lN8UzmPrF3BmsL8FuRceOJKJ X-Received: by 2002:a7b:c051:: with SMTP id u17mr4515513wmc.174.1575310953256; Mon, 02 Dec 2019 10:22:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575310953; cv=none; d=google.com; s=arc-20160816; b=Fk9TmD7NCWP9uRhnUI6QAcDMIpGgkHoGOkGMzbOvx0qu7JtcHCpmNKlsHfGgxYobKe pjkREj50SJhUD8WiB7/iIWgQ0AU2BvRAsa/Q3eCoygj9vOWn+5KKwQa87HiU/ZgXpKX9 bI56jI2p9kyaRZMBB2HkALA6Thls4CIXtiXoDow3SyQtSP8DVTPBpj4U2kQnRPPRk6qi pPJKJvbaxl01SDb/wTArbAW0lb+Rs3FMZfVrkQ1vJL+quNVOX5RaW9DqXHRasRXbwscI CYqNfy/SZ5YV2oAPckhuBKIaADwPY6hf26nHHRCtl5cyhAww3kcwmskjxweVWPblXOXF ulAA== 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=ipBEd8GDhyhcMXZbY4wHd5JQeGF/eu+ToeEhPLtyhAk=; b=xse77Mzu5zmG/kmhrLVJKCL+K6GfTaC+5ulC3z/XhbnJNpO0RRa0+hH9GuZGkpyz9L q+JwCDlxiejc7D8YDZGIh+u1Mj6umqfCPgiWxBcCDWqhEtLURyPJg6g/KiiXVQeCprXp OIpGCklFUw9jkeo6aJWGKkia4AV0WDBtIAiS3E/wsSqyGVOFXl7dHBxWB0vnc0/+AuLW Ax76TkDfgQPPMv/xDYwx8cjm9B7Qj0koV4BezvQ7uXQKYd2fbTRqqJLs5U1fIgat265V biySIERlSja6PH925P+eWI0ybIJQnzpHA/cHClc+Y7u/zRU+2KwgUix1rsIAi5aH6TlS CZ8Q== 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.33; Mon, 02 Dec 2019 10:22:33 -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 S1728006AbfLBSWc (ORCPT + 27 others); Mon, 2 Dec 2019 13:22:32 -0500 Received: from mx2.suse.de ([195.135.220.15]:35978 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727749AbfLBSWU (ORCPT ); Mon, 2 Dec 2019 13:22:20 -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 F1065AF21; Mon, 2 Dec 2019 18:22:18 +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 13/14] arm64: dts: realtek: rtd16xx: Add SB2 and SCPU Wrapper syscon nodes Date: Mon, 2 Dec 2019 19:22:03 +0100 Message-Id: <20191202182205.14629-14-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 Add syscon mfd nodes for SB2 and SCPU Wrapper to RTD16xx DT. Cc: James Tai Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.16.4 diff --git a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi index 776efc10bab2..bc88cf749f33 100644 --- a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi @@ -136,6 +136,15 @@ ranges = <0x0 0x7000 0x1000>; }; + sb2: syscon@1a000 { + compatible = "syscon", "simple-mfd"; + reg = <0x1a000 0x1000>; + reg-io-width = <4>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1a000 0x1000>; + }; + misc: syscon@1b000 { compatible = "syscon", "simple-mfd"; reg = <0x1b000 0x1000>; @@ -144,6 +153,15 @@ #size-cells = <1>; ranges = <0x0 0x1b000 0x1000>; }; + + scpu_wrapper: syscon@1d000 { + compatible = "syscon", "simple-mfd"; + reg = <0x1d000 0x1000>; + reg-io-width = <4>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1d000 0x1000>; + }; }; gic: interrupt-controller@ff100000 {