From patchwork Wed Aug 21 08:56:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13771085 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CAD7197A83; Wed, 21 Aug 2024 08:56:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230615; cv=none; b=j9bVZ2HFckUiHDq3QeGFvB/vPFqRb+axq2fNYKuVaVAs/nPhPqY6Vr7Cp4GQRzvHAPLucu2/D8HuTfcmmzbTMuTKCXZdK1mnrtjQoAcTl7YJM/yeuN+BRaInN6gzKWHKeupsdDeK1RSHu+duc9viW7DudhcqG+awhv7TojJu7+o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230615; c=relaxed/simple; bh=Ld0xT5NAS+q5L8cCFSs0AFa05OMHQ2jsWlV3tdEg7io=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=M+IS5yKgCdayqIwTiMf/whOXhdBGkb5l2lVWNoCCBBdvIpya6c9D3XYgORDazXBYm3CGLh6+Xe1xUDBg4qiXSy+Qs5Q8q2qUyDfz1RNrYnT4N/Op/tN51f89LfCnOwSl30p0PSFQaoa13TISua3nGVixFHgptm/Zxa1ihUsJzk8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=lMN4ME+R; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lMN4ME+R" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a7aabb71bb2so703669366b.2; Wed, 21 Aug 2024 01:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724230612; x=1724835412; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Vwm+dqAYu73QsgGGtgK2F4B2q5fFFnYa3Pw2Is7qI/c=; b=lMN4ME+RHRg+lhIwbD8qjvozCZ4tJSgRGFmE/f6w0g+mPItSQNud+Q5M84pPz/eK07 HbGlZH8Gy8rRb4KWkL9oEAwgmEJOhdZenUiz+kixKcxH1pbJxf8b1NwnSwXy2E5gcNqp CfvKv2ei4WThKS8H0pDJh/beL9ajvpV9v+0s3yZusG6VcCQG//gVjS8FWQkt6y9Jj43K vxTBgo+kjUedvas/VZ12nvpW1o4WsREzI0tKGCmH6Uw+xr7PJVSaXLkokq6yTm8bw9l/ rolkG1QbRP0Psk9jkQ4XVF2/HPZY7UOrXxHEO7+MmEBkwxE1uis7o1bhE0dqLuoE2Bx8 IjiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724230612; x=1724835412; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Vwm+dqAYu73QsgGGtgK2F4B2q5fFFnYa3Pw2Is7qI/c=; b=EwOWRJQSKgJooqehWH82tbEXO0jIOgbBotVtguWU0SgzmN/dv3/ACfm2eVEsrF04c0 1gmvhiHbyCvZqshLISKlkUHKG9qBkMXTBDgQRZ0ci/gUR56Uk4AQlWyY/ozXmq+ZLtRX rcXn3n1kUiDJae1dJu59I3QdDQv4Fpgib0PgN70dtCIqPzeaYaYW7sFN0yk4ooXSErBN kd5R59OuDR9f0cyA4byWQ2m1iXfFxIxywHcNefF5J8aD4cRDV8lwlX6rKcdFHthL4iPg rcwmeKfpV1VUmTwFdNd5bwi48tpREBYxQJHDWDk7E1y0aJ1Q0ZWXN/p+6K47X5MPvZRW 6pTA== X-Forwarded-Encrypted: i=1; AJvYcCUjxsjtXHRPXjXzxo/vNSj3D4iBSR+fk8E/ebDlv7FSFy2fkSAY76e5w62ujeWKUhMaBZH5kSqZG6Ku@vger.kernel.org, AJvYcCX1BZP6wYsB59lABExDOJgMzoZtoJfiWY5Et0OYYQq2OG2pxgMhA4PLFvysBxMPKWTxEZkRJidv/yKW59+c@vger.kernel.org X-Gm-Message-State: AOJu0Ywrx6oCIY8HUr2maell0J73DhXYv/uxGu3ScaqCDMfigmbUxHHZ 1Y+pOLPrmz2wXJF4xMN7cQqCUiC3YOaxZVzcSKWn52qA0FJUDg4r X-Google-Smtp-Source: AGHT+IEgmM4ik9kWUrhC72+mhMQsK8IJBqWIuJeh6sIoLEHcPHe7Pv6TzlHr01nv9uaI6Id4iWWTvw== X-Received: by 2002:a17:907:f7a0:b0:a7a:bb54:c852 with SMTP id a640c23a62f3a-a866f9efba8mr125621366b.61.1724230611600; Wed, 21 Aug 2024 01:56:51 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2500:a01:b9a9:40a4:353f:6481]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83838cf183sm873416266b.56.2024.08.21.01.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 01:56:51 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v3 1/8] arm64: dts: renesas: Add initial SoC DTSI for RZ/V2H(P) SoC Date: Wed, 21 Aug 2024 09:56:37 +0100 Message-Id: <20240821085644.240009-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Add initial SoC DTSI for Renesas RZ/V2H(P) ("R9A09G057") SoC, below are the list of blocks added: - EXT CLKs - 4X CA55 - SCIF - PFC - CPG - SYS - GIC - ARMv8 Timer Signed-off-by: Lad Prabhakar --- v2->v3 - Updated GIC node to match with the coding-style of DTS v1->v2 - Updated commit description --- arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 165 +++++++++++++++++++++ 1 file changed, 165 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r9a09g057.dtsi diff --git a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi new file mode 100644 index 000000000000..4f89894417f6 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi @@ -0,0 +1,165 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/V2H(P) SoC + * + * Copyright (C) 2024 Renesas Electronics Corp. + */ + +#include +#include + +/ { + compatible = "renesas,r9a09g057"; + #address-cells = <2>; + #size-cells = <2>; + + audio_extal_clk: audio-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + /* This value must be overridden by the board */ + clock-frequency = <0>; + }; + + rtxin_clk: rtxin-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + /* This value must be overridden by the board */ + clock-frequency = <0>; + }; + + qextal_clk: qextal-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + /* This value must be overridden by the board */ + clock-frequency = <0>; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "arm,cortex-a55"; + reg = <0>; + device_type = "cpu"; + next-level-cache = <&L3_CA55>; + enable-method = "psci"; + }; + + cpu1: cpu@100 { + compatible = "arm,cortex-a55"; + reg = <0x100>; + device_type = "cpu"; + next-level-cache = <&L3_CA55>; + enable-method = "psci"; + }; + + cpu2: cpu@200 { + compatible = "arm,cortex-a55"; + reg = <0x200>; + device_type = "cpu"; + next-level-cache = <&L3_CA55>; + enable-method = "psci"; + }; + + cpu3: cpu@300 { + compatible = "arm,cortex-a55"; + reg = <0x300>; + device_type = "cpu"; + next-level-cache = <&L3_CA55>; + enable-method = "psci"; + }; + + L3_CA55: cache-controller-0 { + compatible = "cache"; + cache-unified; + cache-size = <0x100000>; + cache-level = <3>; + }; + }; + + psci { + compatible = "arm,psci-1.0", "arm,psci-0.2"; + method = "smc"; + }; + + soc: soc { + compatible = "simple-bus"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + pinctrl: pinctrl@10410000 { + compatible = "renesas,r9a09g057-pinctrl"; + reg = <0 0x10410000 0 0x10000>; + clocks = <&cpg CPG_CORE R9A09G057_IOTOP_0_SHCLK>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 96>; + #interrupt-cells = <2>; + interrupt-controller; + power-domains = <&cpg>; + resets = <&cpg 165>, <&cpg 166>; + }; + + cpg: clock-controller@10420000 { + compatible = "renesas,r9a09g057-cpg"; + reg = <0 0x10420000 0 0x10000>; + clocks = <&audio_extal_clk>, <&rtxin_clk>, <&qextal_clk>; + clock-names = "audio_extal", "rtxin", "qextal"; + #clock-cells = <2>; + #reset-cells = <1>; + #power-domain-cells = <0>; + }; + + sys: system-controller@10430000 { + compatible = "renesas,r9a09g057-sys"; + reg = <0 0x10430000 0 0x10000>; + clocks = <&cpg CPG_CORE R9A09G057_SYS_0_PCLK>; + resets = <&cpg 48>; + status = "disabled"; + }; + + scif: serial@11c01400 { + compatible = "renesas,scif-r9a09g057"; + reg = <0 0x11c01400 0 0x400>; + interrupts = , + , + , + , + , + , + , + , + ; + interrupt-names = "eri", "rxi", "txi", "bri", "dri", + "tei", "tei-dri", "rxi-edge", "txi-edge"; + clocks = <&cpg CPG_MOD 143>; + clock-names = "fck"; + power-domains = <&cpg>; + resets = <&cpg 149>; + status = "disabled"; + }; + + gic: interrupt-controller@14900000 { + compatible = "arm,gic-v3"; + reg = <0x0 0x14900000 0 0x20000>, + <0x0 0x14940000 0 0x80000>; + #interrupt-cells = <3>; + #address-cells = <0>; + interrupt-controller; + interrupts = ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, + <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, + <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, + <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>, + <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", "hyp-virt"; + }; +}; From patchwork Wed Aug 21 08:56:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13771086 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A018719994A; Wed, 21 Aug 2024 08:56:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230616; cv=none; b=XSGVn92ZfZcGP1h24LZFYoREgMQ6/cFbQbYyQJZfxExcYVWdDPskgUzCPI1PmOJYSFVW0wPe+F/GQOSsg7m0KvDAlBWPBcxMArVw92fqBZZpRFVG7YUoKhY9AD1dTsh+x0/I5/2uShzeMw4W8qxFZjkPe8iuPXU1ETOI/1ye/UM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230616; c=relaxed/simple; bh=IkXOWZfqBE40DiZXzr69ba0PkbUkEiKqfTR1c4dI3oY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EF5uiodZJyxxddLXVR6BCjm0PXXTuPwAt9hhH0w0jAf7ehm4uRsnJyuyw1fER4KMNwJON+46Ob0/TX/GqyHeR655CTJLdwQCUe4MNI5zkbM9sByE+xCl2pFcHo7n9ptOe7f/8b/1JS/nzxXie4QL2EYUa9PnqqDgcO2R3I9ESRg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WNm80Klq; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WNm80Klq" Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a7aabb71bb2so703670166b.2; Wed, 21 Aug 2024 01:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724230613; x=1724835413; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hEjMSHyv6ilWtu/GNsluGqy5RZkdfktJmS36ZSzEKTE=; b=WNm80KlqS+EGzggcRMpY3BtlpHKG+MdFm+Ykl9Semi3KTiIxwz7cpx1pwPrOT3xy69 U0VtZg35UJG3mi6Ig8dsdqFx/h5SHSOn+gJozuHhhY3xJvGSCp8En8An2IHoLoBOpbQ8 ydBfUVL7wW3te3/3v8C8x280v0E/WRAb8erhZ4KGH9DphunDBRxmE3GTCDjeummJR6ys 8TJ038/PpbCPi9hsElteJ508udOE8pSN+7ms0clXXJIwL1CJT09W7YAYn4YNTbyg2UPt Sq8lNaMiBaEiBDG5dmviw/pM+HUkMEQHLWz3jtOe46Fk4ay66aJVHvwCKE3ToW3wau+f 0VvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724230613; x=1724835413; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hEjMSHyv6ilWtu/GNsluGqy5RZkdfktJmS36ZSzEKTE=; b=Hlnr3Uie/FA99cUm8DZ3FK3S3LqzslS822WV9UA5YA+FMNa0H+y3tDI6WCUu4xE0Tn jNAdIHF5SrPGnvw/7BTQx/Zhpf61Y7ChQNwcGCv/8djvveLauJZuXeI3FJYUgoSYZjVK UosSVdlJRyj8Qhc/+6f6rQU+GQA2OgRoRhpiPzoKP+I5h3mgxkwc83VywvDyONf9rPF2 /g0kcMTh7QSB12mecn0YkkAPkJsq7vUVkF1X6MkTeDtPucw2OUac4CsDGQ0V+Q8B7uiM vgv7nAh+9hTAiwb5eZB9v5z9mwa0O/BFnsAZ3smUBe1yv6sCyJ1YdjTxmuebmbHemZMJ pvwg== X-Forwarded-Encrypted: i=1; AJvYcCURn25i4GDHkP9rhqLJ+9VozKlcfGhCfPXoIQ/QnqY/cSoG7ZaM2y1Zl6GXpA9Uw4oH8uHhGiVFK9j/u5ck@vger.kernel.org, AJvYcCUcONNK/ru6eKfUw8DLigE/XUXP12k8wU5fzeCJu7DgfUh9QK7+K6k7USqvCwvJ5SjtSWzxUaVcIUg9@vger.kernel.org X-Gm-Message-State: AOJu0YzRQmoUrQqIz++f/Snd2oukSSq/wusgmeJ3LpUr0IRUmsYpMRZt oFa+Xp/CEJuomgBSi+iTMzAoQt91wuptcyasIT555VUKstIKL9A4 X-Google-Smtp-Source: AGHT+IFaAapmCm6MIzqV8nRxhgCqfySXtpof70YGKAwuwdvgXo4Y7FKvQnrQti8bspq6sk5ryQIuug== X-Received: by 2002:a17:907:f155:b0:a7a:9f0f:ab2b with SMTP id a640c23a62f3a-a866f390e46mr127422066b.32.1724230612436; Wed, 21 Aug 2024 01:56:52 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2500:a01:b9a9:40a4:353f:6481]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83838cf183sm873416266b.56.2024.08.21.01.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 01:56:52 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v3 2/8] arm64: dts: renesas: Add initial DTS for RZ/V2H GP-EVK board Date: Wed, 21 Aug 2024 09:56:38 +0100 Message-Id: <20240821085644.240009-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Add initial DTS for RZ/V2H GP-EVK board, adding the below support: - Memory - Clock inputs - PINCTRL - SCIF Signed-off-by: Lad Prabhakar --- v2->v3 - No change. v1->v2 - No change. --- arch/arm64/boot/dts/renesas/Makefile | 2 + .../boot/dts/renesas/r9a09g057h44-gp-evk.dts | 61 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index fbd214a1a638..b2249a2710aa 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -137,5 +137,7 @@ dtb-$(CONFIG_ARCH_R9A08G045) += r9a08g045s33-smarc.dtb dtb-$(CONFIG_ARCH_R9A09G011) += r9a09g011-v2mevk2.dtb +dtb-$(CONFIG_ARCH_R9A09G057) += r9a09g057h44-gp-evk.dtb + dtb-$(CONFIG_ARCH_RCAR_GEN3) += draak-ebisu-panel-aa104xd12.dtbo dtb-$(CONFIG_ARCH_RCAR_GEN3) += salvator-panel-aa104xd12.dtbo diff --git a/arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts b/arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts new file mode 100644 index 000000000000..593c48181248 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts @@ -0,0 +1,61 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/V2H GP-EVK board + * + * Copyright (C) 2024 Renesas Electronics Corp. + */ + +/dts-v1/; + +#include "r9a09g057.dtsi" + +/ { + model = "Renesas GP-EVK Board based on r9a09g057h44"; + compatible = "renesas,gp-evk", "renesas,r9a09g057h44", "renesas,r9a09g057"; + + aliases { + serial0 = &scif; + }; + + chosen { + bootargs = "ignore_loglevel"; + stdout-path = "serial0:115200n8"; + }; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x1 0xF8000000>; + }; + + memory@240000000 { + device_type = "memory"; + reg = <0x2 0x40000000 0x2 0x00000000>; + }; +}; + +&audio_extal_clk { + clock-frequency = <22579200>; +}; + +&pinctrl { + scif_pins: scif { + pins = "SCIF_TXD", "SCIF_RXD"; + renesas,output-impedance = <1>; + }; +}; + +&qextal_clk { + clock-frequency = <24000000>; +}; + +&rtxin_clk { + clock-frequency = <32768>; +}; + +&scif { + pinctrl-0 = <&scif_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; From patchwork Wed Aug 21 08:56:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13771087 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F19119ABCA; Wed, 21 Aug 2024 08:56:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230617; cv=none; b=RtqJcL5s6jIgusUBU1wmnaikGA4WhpOxMLhX0Gwizr687IotoUogjwyW2vTULIIDF6V8FMw5Fiok1F24v/Pevp3+88bNZnq7wk0RHUp6FlxfZ62WaVDeedUZYRM722bhlEceLx3KpcbZvyHY24Y+g5Pn0aAHKIRpUQ3q+pHr+e4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230617; c=relaxed/simple; bh=V9cbl7fwosTTrPVef/dWaCHoBIqEwwNOtb7obO3LER0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=H5EC2x82DEEeJXo3mPL710RevLEpdUPHNm05IvlR+Zm1UUZD2hHn90d7vKXPyq4DkxMz1FgBgBXsAiVx2hnaJpzvcQdGi1v+mtbqt1jgxIxcwVfhOg1f+KQGY/PzBBkAMGryZZp6e3tOUZuxaTdxKXixiDInntEncPHwtAuREus= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=e4Gfb6Qz; arc=none smtp.client-ip=209.85.167.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="e4Gfb6Qz" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-52efe4c7c16so8249874e87.0; Wed, 21 Aug 2024 01:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724230614; x=1724835414; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gdNsIKo1oAfxJ/3C/NQPE6o/qhji3q5uv3jXjROkjMo=; b=e4Gfb6QzDAtKw+vFQUvunWIUglnUtZzwtAiWzEoMtzUQIRtNCzfI3FlVlLifOHQV3J BoluJBH+FdV4pOj8l25T2FmEp40OMZO4oewWZtm3zAEsKw0XRQFqty/wum1g+4zb1p6v 1A6Ic7jt+TsCFGDDdEjWUuA01yjgOenbpDUF6/lSOB61REhlUmKE6Nv3J5yQtsyalkcl iv3GyWaUNKRvHIR50uNPvtvKlBUX0GnB5jxRBeKAGCX0ksX1IwHJ+ODf6u0SixxFGmL7 fYocJTj24FvtIoA07g+yp5t1a16Hnje/AHCJz2v9xBgg06dBo/bH4AavX5GxPPFXOfjh rK9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724230614; x=1724835414; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gdNsIKo1oAfxJ/3C/NQPE6o/qhji3q5uv3jXjROkjMo=; b=rE2PSt6YA1EANN50LUWlzxVSv+Db0LyENBrarmFGyKC+ror0fo93Bdh3Zn+aXkgxB/ c/CtBGsbVpfMi/YnYlsMK7s38Dt5gf/A/DgBSsVqv65emSk9jEIgWdOKPmcd9o7QDs97 AAUg7hSXWs7Jm7qatvunq0NxOgGq7qmK71QIF3NTQO0BkQP3QbFP+kmqmSxo/nXCHGVG 1dFUfA1VTdWOYVHfNCAfuZq9eCmOfyqGL0/Iy+Cx+BDtM9YSW8fQdYXPXSAkSVSjJ6q7 LA9E8ZuHBfZGm40Ix2AROQpQxCChENkCqV6EOw9XsxkNrCwkAI+n5so3P90KyLZ7tpb9 gqVA== X-Forwarded-Encrypted: i=1; AJvYcCVUpuu1DC3jUhwqNVoCHnEXRAmqavH8SnV2BO4lDJEnAfO0HCd1YX3sBFwwlYuvzvRENkmw0BPt6Nqa@vger.kernel.org, AJvYcCXJcpueLnG0/OT3Tba7xALil/HOTbb/f7EChHAEpFL7vlu76KIZVhapYPwNrpVFjxYL+XFDo156b419/+/w@vger.kernel.org X-Gm-Message-State: AOJu0YxSmj7j/Bw01FQwtQMmrdtnSe9N8TsSq2mwSMcjpjFcuMPypYhK LMBERURx0Uwgwo5ztfjIJdHPCZjDL+iE5MRUo3l/M4AsXi4bsst1yjVjo3D9 X-Google-Smtp-Source: AGHT+IEYhbqAbEh0L9xGeXoSnd9UGUYFrdtcFSXNPBWibo5XkGQcDAvOBKfPZw3zBf4Zhjd8WLltdA== X-Received: by 2002:a05:6512:2251:b0:52c:a016:5405 with SMTP id 2adb3069b0e04-5334854a56emr756490e87.8.1724230613313; Wed, 21 Aug 2024 01:56:53 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2500:a01:b9a9:40a4:353f:6481]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83838cf183sm873416266b.56.2024.08.21.01.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 01:56:52 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v3 3/8] arm64: dts: renesas: r9a09g057: Add OSTM0-OSTM7 nodes Date: Wed, 21 Aug 2024 09:56:39 +0100 Message-Id: <20240821085644.240009-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Add OSTM0-OSTM7 nodes to RZ/V2H(P) ("R9A09G057") SoC DTSI. Signed-off-by: Lad Prabhakar --- v2->v3 - Grouped the OSTM nodes v1->v2 - New patch --- arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi index 4f89894417f6..5e3a4017fc13 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi @@ -121,6 +121,86 @@ sys: system-controller@10430000 { status = "disabled"; }; + ostm0: timer@11800000 { + compatible = "renesas,r9a09g057-ostm", "renesas,ostm"; + reg = <0x0 0x11800000 0x0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 67>; + resets = <&cpg 109>; + power-domains = <&cpg>; + status = "disabled"; + }; + + ostm1: timer@11801000 { + compatible = "renesas,r9a09g057-ostm", "renesas,ostm"; + reg = <0x0 0x11801000 0x0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 68>; + resets = <&cpg 110>; + power-domains = <&cpg>; + status = "disabled"; + }; + + ostm4: timer@12c00000 { + compatible = "renesas,r9a09g057-ostm", "renesas,ostm"; + reg = <0x0 0x12c00000 0x0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 71>; + resets = <&cpg 113>; + power-domains = <&cpg>; + status = "disabled"; + }; + + ostm5: timer@12c01000 { + compatible = "renesas,r9a09g057-ostm", "renesas,ostm"; + reg = <0x0 0x12c01000 0x0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 72>; + resets = <&cpg 114>; + power-domains = <&cpg>; + status = "disabled"; + }; + + ostm6: timer@12c02000 { + compatible = "renesas,r9a09g057-ostm", "renesas,ostm"; + reg = <0x0 0x12c02000 0x0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 73>; + resets = <&cpg 115>; + power-domains = <&cpg>; + status = "disabled"; + }; + + ostm7: timer@12c03000 { + compatible = "renesas,r9a09g057-ostm", "renesas,ostm"; + reg = <0x0 0x12c03000 0x0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 74>; + resets = <&cpg 116>; + power-domains = <&cpg>; + status = "disabled"; + }; + + ostm2: timer@14000000 { + compatible = "renesas,r9a09g057-ostm", "renesas,ostm"; + reg = <0x0 0x14000000 0x0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 69>; + resets = <&cpg 111>; + power-domains = <&cpg>; + status = "disabled"; + }; + + ostm3: timer@14001000 { + compatible = "renesas,r9a09g057-ostm", "renesas,ostm"; + reg = <0x0 0x14001000 0x0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 70>; + resets = <&cpg 112>; + power-domains = <&cpg>; + status = "disabled"; + }; + scif: serial@11c01400 { compatible = "renesas,scif-r9a09g057"; reg = <0 0x11c01400 0 0x400>; From patchwork Wed Aug 21 08:56:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13771088 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BCB11A4ACF; Wed, 21 Aug 2024 08:56:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230618; cv=none; b=lDn8Qon9YHUbUwydV9gKRakslkazbodu48bmmSZvkTGh+L3RFc+lf0+ba3ufnEj0CgMvEzM1+hB1P9VydDWkC9qd6LiNEtaDgc5v21Gsfa6r+mSWzKUE7syBBlRTG9WqeFbcFnjNJMb7GBkkqPXfRvXl2bK7DfJcREIkHE7VtaE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230618; c=relaxed/simple; bh=60x2b5Jdg/F+rT91CMVG91RSLfVNYcdhR07t+VlOk50=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KNX0uE1JDAriq28ZER4NUfzGbjxQBqj+sm0MbP9l7yF8g8qRMuKKU3yfftVxgsuGj0I5qT+0iJnm2PxauWbkRG9yNz9lE5CzxZpFLx70xQ/Bp130USk9aw4tjEEh0URStEFJOrJOWzGWTLRZjDWPTxuT57aRfErSZ44j9Codp+k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aSXmO1cF; arc=none smtp.client-ip=209.85.208.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aSXmO1cF" Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-5a108354819so8417653a12.0; Wed, 21 Aug 2024 01:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724230615; x=1724835415; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JTa7cIYua0gdudN4BouTGGDLem/n1gTlymXsEh2Os2s=; b=aSXmO1cFYOfLPGDeu//tfws7+ZYGdU0N8LQ5E/lwdi+OLERxzRdhg4jHRSLbXp7tSM 56O7ivjrdO0E7ds75rCVGrPGrkH14cHH9OxkzYNJQVB2YJ0lF7VvW1X/CU2o35ZMsNu5 jvDbJxH2WY8PWBozk9O52iGFU3TyswwlPrNnL5Nbci4dHh94U7IoTk/tUvoGd7c3fqpk 2J4vDNzlpZKhSV5d0gKt3zvltbbKi1teUGCP2OnbX1q56p2QGAfq1px9Mb5FHs09O+sh zAmu9ycYhHM9s/I2XwnID/romya8quIR3g95wMkUlp6qlFKyfwoKraLRK3qynqufg1N3 7cgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724230615; x=1724835415; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JTa7cIYua0gdudN4BouTGGDLem/n1gTlymXsEh2Os2s=; b=S51MkYhzR0OVnpg4LBjSAY7jv8Dtb2+oYi2SkJQU0ovSJIY4p+xddPuDQjBB2X8TCB AFSw84Y8o/TMj/3EF5YGO7O/Mv5nz9FWmOztxUboEPeUQZSko28CUVNmnTKaHfFkVTVN Dez/PtBLPAIvsmnTHI9+UzMj3Mz+HRBSbSAu33s/m/gzfV4o7elbfTmIr12ZF7qZKYGw 6duJcgMI+k78VwiRFmSW3ThHoBgoOifz2CO4VKeBGcg1FFVxVGsn0H6meb+gQ5mjaeD9 KVH8h9oaK46PrwW/p2EC9BJ2E2X9xjqldR+geg/fbWd2tv5eiaDzrEw5O1MZoLam7Hmn ta8Q== X-Forwarded-Encrypted: i=1; AJvYcCWsxzpZmXoa16P6Ba31zC2QcET9auuNLTMMg3Mbk1D/ZxqL2pUBHIyal6JC+9X04gSNsvxApSkD90ZvZkLp@vger.kernel.org, AJvYcCXvTj1UzH6FEY/nEgWYXUOsHFPzFwj4RdIuhCUVsHklNihBQ0bQEqAAFyxa9/4NFv1jqekcFrg6JlRF@vger.kernel.org X-Gm-Message-State: AOJu0YwDErVjvBmLcikf4m7mY/8YE0dqdJ26p/8ZaKcWPfPP0rrz9uTL 8pdB5CTuoHKqlw1A0/gmNIedi50SCguS8GxuQN0jYcSQ0jEFgXT8 X-Google-Smtp-Source: AGHT+IEsSZpwzL/E9sNfw5XHGhH2UEFwdKKIMpJ3HDozqMTa8ICAzktb+TVJnOUeReN4czM48FLN+w== X-Received: by 2002:a17:907:7f20:b0:a86:7b97:c634 with SMTP id a640c23a62f3a-a867b97c7eamr57650866b.49.1724230614231; Wed, 21 Aug 2024 01:56:54 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2500:a01:b9a9:40a4:353f:6481]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83838cf183sm873416266b.56.2024.08.21.01.56.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 01:56:53 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v3 4/8] arm64: dts: renesas: r9a09g057: Add RIIC0-RIIC8 nodes Date: Wed, 21 Aug 2024 09:56:40 +0100 Message-Id: <20240821085644.240009-5-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Add RIIC0-RIIC8 nodes to RZ/V2H(P) ("R9A09G057") SoC DTSI. Signed-off-by: Lad Prabhakar --- v2->v3 - Grouped the I2C nodes - Dropped clock-frequency - Updated I2C nodes to match with the coding-style of DTS v1->v2 - New patch --- arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 189 +++++++++++++++++++++ 1 file changed, 189 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi index 5e3a4017fc13..eb36b3abc2d2 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi @@ -201,6 +201,195 @@ ostm3: timer@14001000 { status = "disabled"; }; + i2c8: i2c@11c01000 { + compatible = "renesas,riic-r9a09g057"; + reg = <0 0x11c01000 0 0x400>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "tei", "ri", "ti", "spi", "sti", + "naki", "ali", "tmoi"; + clocks = <&cpg CPG_MOD 147>; + resets = <&cpg 160>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c0: i2c@14400400 { + compatible = "renesas,riic-r9a09g057"; + reg = <0 0x14400400 0 0x400>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "tei", "ri", "ti", "spi", "sti", + "naki", "ali", "tmoi"; + clocks = <&cpg CPG_MOD 148>; + resets = <&cpg 152>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c1: i2c@14400800 { + compatible = "renesas,riic-r9a09g057"; + reg = <0 0x14400800 0 0x400>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "tei", "ri", "ti", "spi", "sti", + "naki", "ali", "tmoi"; + clocks = <&cpg CPG_MOD 149>; + resets = <&cpg 153>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c@14400c00 { + compatible = "renesas,riic-r9a09g057"; + reg = <0 0x14400c00 0 0x400>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "tei", "ri", "ti", "spi", "sti", + "naki", "ali", "tmoi"; + clocks = <&cpg CPG_MOD 150>; + resets = <&cpg 154>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c3: i2c@14401000 { + compatible = "renesas,riic-r9a09g057"; + reg = <0 0x14401000 0 0x400>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "tei", "ri", "ti", "spi", "sti", + "naki", "ali", "tmoi"; + clocks = <&cpg CPG_MOD 151>; + resets = <&cpg 155>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c4: i2c@14401400 { + compatible = "renesas,riic-r9a09g057"; + reg = <0 0x14401400 0 0x400>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "tei", "ri", "ti", "spi", "sti", + "naki", "ali", "tmoi"; + clocks = <&cpg CPG_MOD 152>; + resets = <&cpg 156>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c5: i2c@14401800 { + compatible = "renesas,riic-r9a09g057"; + reg = <0 0x14401800 0 0x400>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "tei", "ri", "ti", "spi", "sti", + "naki", "ali", "tmoi"; + clocks = <&cpg CPG_MOD 153>; + resets = <&cpg 157>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c6: i2c@14401c00 { + compatible = "renesas,riic-r9a09g057"; + reg = <0 0x14401c00 0 0x400>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "tei", "ri", "ti", "spi", "sti", + "naki", "ali", "tmoi"; + clocks = <&cpg CPG_MOD 154>; + resets = <&cpg 158>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c7: i2c@14402000 { + compatible = "renesas,riic-r9a09g057"; + reg = <0 0x14402000 0 0x400>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "tei", "ri", "ti", "spi", "sti", + "naki", "ali", "tmoi"; + clocks = <&cpg CPG_MOD 155>; + resets = <&cpg 159>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + scif: serial@11c01400 { compatible = "renesas,scif-r9a09g057"; reg = <0 0x11c01400 0 0x400>; From patchwork Wed Aug 21 08:56:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13771089 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED1F01A7AD0; Wed, 21 Aug 2024 08:56:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230618; cv=none; b=Vf0HJdxojaa/7+y+8CmZKZogFp2shDOMMPJRfXeJ19qPAfjpmx7Yb+PVLk0OYkHjaFlTm0OmIpWlht9fZjkQByjME0vb+ZELEc8WD73lqtHsJ4vrI2zrGgODE49F41utke9tYm+ISo8k7k7U4WLHRdgZqs5RC/01fvlo/Co4TXs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230618; c=relaxed/simple; bh=F/Ri4bzWq04j9vKEfoU++4Onzppq6KJO0Wqv2cQVauA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=B6awwKyhwu/unUUro+4pOiBxyzO5kdCG4sOw6n0gYKCyZLSs2t311agn2BbkQkPDYddiR93ZtIMFlzUCYC8K5dGT7HHWYaXaB02lcw0rznnSBkfES+DLlAO3/2wtr4aIA/SfjWBPMTWKyO5gs7MF0wbT55ExZDZ2g2uUmhMrizc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kT0YHZy7; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kT0YHZy7" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a83597ce5beso90229266b.1; Wed, 21 Aug 2024 01:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724230615; x=1724835415; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=l3m1IuTDwdRkFd/jmmLNp0dycrGp/f3AoFpcXVX/r8o=; b=kT0YHZy7b5NguYyZUhhQ/fm+ikSTHKpuS9+cPMaGV8IurO+J9aG62JmeXc8Tp5owdb gfq3zdvHkopSr38p6HaujlQ7DgHBwQAKU54b4aOgPElKwy4C960vdqTe7umBEX/AiXp5 VA0hCZ5G2RWKbf/BjcEnMFKK3+TB2xKcmLiU9Em7yJ6d4zm2jmXAYnHKOVHh2+86kNKo XtTxXQ9qr4aI/MrwBQmbVH8vVX8f982KOfroGCkelnDnYO5P4O6jX4F0qR3CpO6u9R4I 4k2q8I6vKh8HQDyxAi2T0v9NNuwDNSRG53miS6tTuuYA+HO1XjEfLu+ROS7nGgWbiW3X Hl9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724230615; x=1724835415; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l3m1IuTDwdRkFd/jmmLNp0dycrGp/f3AoFpcXVX/r8o=; b=ZDpLwHxCFnKoust8egkJvaGP+vyOIpCCcuBcCdUVn6IYghyAM5qrhN2ZOTXLKVal67 wnu1SH/2xKSAmFRfYFe6CZfosOQCbP3rAfBZN4fJ2JxaTWOQZPWFVWXvQ89zBSt29Pf9 DQnj06UrKR3JL7o1dhBPfj5VUp9//zIf35QQs9uDtw16SSP1A2CWoO+6/uR1aArII7Al jJPxO12rSAtPV0nT40lzLcnNN/qJ1KD3Z1c7hRsJpJffBuJE7QurgZOIJuUeaAfxB9pf qB9VspAa9Ar3uHq13S2Uez6tUpP9EY5FAOi/PmglA8UrpW0QTYs8PnxZU106Eayhh6g/ eYSg== X-Forwarded-Encrypted: i=1; AJvYcCU5YAfEp4yz0LPDq2akJzEQ5tqFUp+56sLypcdY8//IR4PNktUzME5ROhxP1KXkFq3aT3ORHt1sxDQWUm0k@vger.kernel.org, AJvYcCXxQCSmt0O2YDgisXrbdLyl1JYb7eAmVe7qs28elqoODUlzrm9PYsvCg3ssaRotwKs1ml/15U80hkv7@vger.kernel.org X-Gm-Message-State: AOJu0Yw5aDvckVB8Vp1i1ubulEY1vftYqeTx8/OHldtZIyBpSNcDTLr6 PvJb+Svq6a3+jlJsFVfLc0CmoC0VCZOQXSNvAy3mBcoNHTqLnRPU X-Google-Smtp-Source: AGHT+IEPHlBU6Sg2BsIO/TORm6rGVPk/wRa+iumRehZr1gi1/XLpbcdnZYkqxYZ1+LWXtKxfEUnA8w== X-Received: by 2002:a17:906:7313:b0:a80:9c1b:554f with SMTP id a640c23a62f3a-a867014566amr185014966b.27.1724230615056; Wed, 21 Aug 2024 01:56:55 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2500:a01:b9a9:40a4:353f:6481]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83838cf183sm873416266b.56.2024.08.21.01.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 01:56:54 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v3 5/8] arm64: dts: renesas: r9a09g057: Add SDHI0-SDHI2 nodes Date: Wed, 21 Aug 2024 09:56:41 +0100 Message-Id: <20240821085644.240009-6-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Add SDHI0-SDHI2 nodes to RZ/V2H(P) ("R9A09G057") SoC DTSI. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven --- v2->v3 - No change v1->v2 - New patch --- arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi index eb36b3abc2d2..9103335ac583 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi @@ -420,6 +420,51 @@ gic: interrupt-controller@14900000 { interrupt-controller; interrupts = ; }; + + sdhi0: mmc@15c00000 { + compatible = "renesas,sdhi-r9a09g057"; + reg = <0x0 0x15c00000 0 0x10000>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 163>, + <&cpg CPG_MOD 165>, + <&cpg CPG_MOD 164>, + <&cpg CPG_MOD 166>; + clock-names = "core", "clkh", "cd", "aclk"; + resets = <&cpg 167>; + power-domains = <&cpg>; + status = "disabled"; + }; + + sdhi1: mmc@15c10000 { + compatible = "renesas,sdhi-r9a09g057"; + reg = <0x0 0x15c10000 0 0x10000>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 167>, + <&cpg CPG_MOD 169>, + <&cpg CPG_MOD 168>, + <&cpg CPG_MOD 170>; + clock-names = "core", "clkh", "cd", "aclk"; + resets = <&cpg 168>; + power-domains = <&cpg>; + status = "disabled"; + }; + + sdhi2: mmc@15c20000 { + compatible = "renesas,sdhi-r9a09g057"; + reg = <0x0 0x15c20000 0 0x10000>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 171>, + <&cpg CPG_MOD 173>, + <&cpg CPG_MOD 172>, + <&cpg CPG_MOD 174>; + clock-names = "core", "clkh", "cd", "aclk"; + resets = <&cpg 169>; + power-domains = <&cpg>; + status = "disabled"; + }; }; timer { From patchwork Wed Aug 21 08:56:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13771090 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5E871DE629; Wed, 21 Aug 2024 08:56:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230619; cv=none; b=g7bPNNxbc8BgflNMNLJZ5qDA+B12ihX5tyZuxJVYTLkFy+QT8EYvCeHqaN6pb5syvfg7QUoceDNKOB2v5r2UmvE9XBAVFP7v7vXbI8kLXWbU4wd9Q0DC2VSbusthKY35fgQN4wBRGrPRxi2xg9ArUPBxqEdo19c02mWk+UTyBAY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230619; c=relaxed/simple; bh=zBz1Ca2OfdZ/atEQRoE3X+gNVRKY7/ETNVfG6V53oGQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Gj2mChCO2rc5RvYstu4ZdNBo4j9OT19t+HvGdztIdin9RbYKJO1iZhO5UQiIbeC/g1ZSoC8yJ/4l+Rw6e0Kpp4WCsDwWz8F4qHc/qx8GHzHoWIIE/DH/TKTBLLTP3C8T72GccSIeVv1mOH9q4kq2IQ7NJDf0D6DU4pphI0NOeZI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WnUD8tNG; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WnUD8tNG" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a7d2a9a23d9so747603966b.3; Wed, 21 Aug 2024 01:56:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724230616; x=1724835416; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=j8z6tym+hPH4qLzjE6Dm1s7CNpjT7x1McUWMk4+h9Ts=; b=WnUD8tNGQfrZv85Gks12aacphpmFl/WcHUu/tf4eMICLLzmdnwMn/6vbVf9pisHMtI j+XdJ9JFAVGeQipHANy2uWoDiFxLTX8xyxomPA9K45ZXapNwe+G53eVoe1GXNHVzmQYp gDyj/82cBqsL/tRFkZmkxIYLdL0qaYIwP0IC7N47XkXYuXpofxwdYQRUAgtlHRa+lV+3 wP/RFuNV1Ee3vm0sq+uEzVW0C+XCS1slK9deQeG+yj03hMp6QQouk1tqqef86LEu5DKp g5674yuITNkWjH03uwQF4pnA+X0UUf1hR0op6rgJC5KEFB7AbE2zSxngJ5XzJWa0keTL iTEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724230616; x=1724835416; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j8z6tym+hPH4qLzjE6Dm1s7CNpjT7x1McUWMk4+h9Ts=; b=sR+IJVHUbDGr+lBX1tb4vJbBc1Nj7IbjK2i8+0enGO5LTrllVgQwCrax8dPm2beZqg 2frNQSuKZbdpvF9hYdL94OflaHp+ocIVk8nLJxCixvjXvf1tOXGbAwzvk5Rtyp6TD257 Wk65B2TGynWwVEaaFTfc8l3GG0NARCI/tiMKqWrPkfKi1ls1yEtBvQ6epoRkPbreNoHs 1jXVCFWUo0aLRFAmZ/4Sl4v3WrzUr/605/z3qWX3RxfC9T50R3fTlPwEB6tqhYZrMn49 I3OxYVdxpxJ2rjERj6zit6K/7FNm45XyuW1vnhHblQAV9+5695+MfZAa4fHAk6ipG9Ux H4Gg== X-Forwarded-Encrypted: i=1; AJvYcCUp3eoOKIjzXznf2qShSoT/g/JeaiP3OGAMrYEiL2K1l8CyjKAe/fxMt7r6unpSzFnx50opTOhW7ItM@vger.kernel.org, AJvYcCWmKu2fyAmR7KfquXNGRbJuzGyhUFXUBBqV/q9SyB9W0kJakVrG3T8DV/0ihyU6fUIpqbygbLP1LJG05vBu@vger.kernel.org X-Gm-Message-State: AOJu0YxucSolRneTiLcV9Fg3irfenqDkUeq9ywj7AsxTLnJpDxfqsQ4y t9cG9u2Bw/EiLRk9Qb+GhbCohSMXLdiymVSdXblbipGrLyVsHugae2Xkwq36 X-Google-Smtp-Source: AGHT+IFtqueWOpbllIEYf/BWsUie44Hmo2Els+1jIWfAwIW9kWpabkTb6MvVgRt9nDiqqJxTJuW3qA== X-Received: by 2002:a17:907:1b29:b0:a86:74fd:f4bc with SMTP id a640c23a62f3a-a8674fdf56emr107310266b.44.1724230615888; Wed, 21 Aug 2024 01:56:55 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2500:a01:b9a9:40a4:353f:6481]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83838cf183sm873416266b.56.2024.08.21.01.56.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 01:56:55 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v3 6/8] arm64: dts: renesas: r9a09g057: Add WDT0-WDT3 nodes Date: Wed, 21 Aug 2024 09:56:42 +0100 Message-Id: <20240821085644.240009-7-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Add WDT0-WDT3 nodes to RZ/V2H(P) ("R9A09G057") SoC DTSI. Signed-off-by: Lad Prabhakar --- v2->v3 - Grouped WDT nodes v1->v2 - New patch --- arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi index 9103335ac583..fb911780c4b4 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi @@ -201,6 +201,50 @@ ostm3: timer@14001000 { status = "disabled"; }; + wdt0: watchdog@11c00400 { + compatible = "renesas,r9a09g057-wdt"; + reg = <0 0x11c00400 0 0x400>; + clocks = <&cpg CPG_MOD 75>, + <&cpg CPG_MOD 76>; + clock-names = "pclk", "oscclk"; + resets = <&cpg 117>; + power-domains = <&cpg>; + status = "disabled"; + }; + + wdt2: watchdog@13000000 { + compatible = "renesas,r9a09g057-wdt"; + reg = <0 0x13000000 0 0x400>; + clocks = <&cpg CPG_MOD 79>, + <&cpg CPG_MOD 80>; + clock-names = "pclk", "oscclk"; + resets = <&cpg 119>; + power-domains = <&cpg>; + status = "disabled"; + }; + + wdt3: watchdog@13000400 { + compatible = "renesas,r9a09g057-wdt"; + reg = <0 0x13000400 0 0x400>; + clocks = <&cpg CPG_MOD 81>, + <&cpg CPG_MOD 82>; + clock-names = "pclk", "oscclk"; + resets = <&cpg 120>; + power-domains = <&cpg>; + status = "disabled"; + }; + + wdt1: watchdog@14400000 { + compatible = "renesas,r9a09g057-wdt"; + reg = <0 0x14400000 0 0x400>; + clocks = <&cpg CPG_MOD 77>, + <&cpg CPG_MOD 78>; + clock-names = "pclk", "oscclk"; + resets = <&cpg 118>; + power-domains = <&cpg>; + status = "disabled"; + }; + i2c8: i2c@11c01000 { compatible = "renesas,riic-r9a09g057"; reg = <0 0x11c01000 0 0x400>; From patchwork Wed Aug 21 08:56:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13771091 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AB961DE63E; Wed, 21 Aug 2024 08:56:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230620; cv=none; b=Pp9UXgCX/d0sp5/s8saOfHtCSU6ciZUOfDNlMC/4T51c7md/pTCLPEhdJg07wEfXg3ZI+mZnMhp8ba5KTY1T8Hi6SgdcsA8VKzsk0eVwNtEHeRlm7PDSVIy5v3okTuCeucy9tYPN/eakPaumLkeS8hgwb/LVRWpj/VVHD97tt/k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230620; c=relaxed/simple; bh=RwX/pXbGHHT83KmC9b/vvyLBFn4g3aN/DxvMSRBEHMg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=frps2eGQhstSYHKUvwU3Rhbg6p2g5SyVqFLxH0MXCzThojceY9QKxjORDyrMytvmxmNq9BuLFvVZ1RTm85C/oqAf2E8gXzrmfiwCuy/ZZoRx1JNt0uuR+fPVmDeIKpg7umzPl1OHJubkYz+ebp8eY3T/XnRs9UQSOhJO9nwGeEw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nsbo1wJl; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nsbo1wJl" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5bed83487aeso5124288a12.2; Wed, 21 Aug 2024 01:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724230617; x=1724835417; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wxbu7z7xcaBzV+rorrQqleiWS/mvIfgmk/tzjBT7pVM=; b=nsbo1wJl+i5f7XkJeJaQMe6r+Cw3xoAE/lxB7/S8i4lzCb7sYn+PKCARdnN03CZvzj 5JWWLbub+wNgAR3CedL9+ZJfhvIIvGTAdxx/bDOMf81Kq7Bv6/W2X4/4SfEShET5SaYG S/XEOTSp5xW5zEcTiwCMUepflR+Kyb+UggYlaiERdPT3cUmYetVT3LYEImTYrhBP98hJ XQtRI5RFEAtJzpHoOrUNWfhZlF/nytHLcdJ4iQRG+EiYVwsnweD3Z0wGsK4TyygIVrPm fmUKPKQVVzNN4+0JzwwqEH0pm7vNMwfYJyq543cjgy3TzyoCioob6pTb5NaOUSKemPFX rERg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724230617; x=1724835417; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wxbu7z7xcaBzV+rorrQqleiWS/mvIfgmk/tzjBT7pVM=; b=jCfu5+8WlsaTnXmJN7cYvedLu6P8iLG450EmfuvCoGQLMInQB5UaXq4oBc8HM9CbA/ Z1cZ/fc1OgtM1/1NoqwVFdfvxHcsbQmB1gPfAncpC3M9QJmqwkG6GNpxoD2wlSfb6uuT u17Wrr9XHgpjxZmwT4wZGtdql6Q/SkJn7vGndxaZ8eb4O1zy7W2x9nIWPQTfyL7aKnM8 mSONslOEfepyd81FE3SK7U4H/em5kJI89+5wNNdcPKew4RSWrdE7j5FolWg/00En2jLo MuOlIT4SZG3/njYYeOtU78Ianu5zxKryPVeWlaBTEzP0hteK7pm4sBEzfdKyr1QBGSqd EmZw== X-Forwarded-Encrypted: i=1; AJvYcCUBmNNLtw8L+fM1hbWWxMyxrSoPuhGeiJeLCTZsKAvqv7QmD7JbQUNmSWziPbBrojH3iGWK2hHlXTE+@vger.kernel.org, AJvYcCX1/h8yv1oKosQqdFD0cESe3DNFfOWq0ewfuAZIaQB4KPKHNxm2+BQ0TNL2JnvRYc9N154nxG5sBy8kwIwD@vger.kernel.org X-Gm-Message-State: AOJu0Yz8FbXT9468nzJJzzgGhKfMm2JgXIkXr7TtpH1qKORJ+BQZeaQq ARsgsLMfxpwb0f2o4jdfyxcRbT0QkzVzSfN6dn8DlNma6YplEmv9 X-Google-Smtp-Source: AGHT+IFSz13Q818Zqi9BjvyCiTrajFKSoOM83UG3yaOZkPmn8FUtSGh3w2GhUWxs8PMeRJt4vgL1/Q== X-Received: by 2002:a17:907:7252:b0:a86:43c0:7d2 with SMTP id a640c23a62f3a-a866ee6476cmr141315966b.0.1724230616751; Wed, 21 Aug 2024 01:56:56 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2500:a01:b9a9:40a4:353f:6481]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83838cf183sm873416266b.56.2024.08.21.01.56.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 01:56:56 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v3 7/8] arm64: dts: renesas: r9a09g057h44-gp-evk: Enable OSTM, I2C, and SDHI Date: Wed, 21 Aug 2024 09:56:43 +0100 Message-Id: <20240821085644.240009-8-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Enable OSTM0-OSTM7, RIIC{0,1,2,3,6,7,8}, and SDHI1 (available on the SD2 connector) on the RZ/V2H GP-EVK platform. Signed-off-by: Lad Prabhakar --- note, for i2c nodes we are defaulting the clock-frequency and this will be updated when slave nodes are enabled. v2->v3 - Set the default slew reset value for SDHI1 pins v1->v2 - New patch --- .../boot/dts/renesas/r9a09g057h44-gp-evk.dts | 184 ++++++++++++++++++ 1 file changed, 184 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts b/arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts index 593c48181248..1c532810dad0 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts +++ b/arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts @@ -7,6 +7,8 @@ /dts-v1/; +#include +#include #include "r9a09g057.dtsi" / { @@ -14,6 +16,14 @@ / { compatible = "renesas,gp-evk", "renesas,r9a09g057h44", "renesas,r9a09g057"; aliases { + i2c0 = &i2c0; + i2c1 = &i2c1; + i2c2 = &i2c2; + i2c3 = &i2c3; + i2c6 = &i2c6; + i2c7 = &i2c7; + i2c8 = &i2c8; + mmc1 = &sdhi1; serial0 = &scif; }; @@ -32,17 +42,179 @@ memory@240000000 { device_type = "memory"; reg = <0x2 0x40000000 0x2 0x00000000>; }; + + reg_3p3v: regulator1 { + compatible = "regulator-fixed"; + + regulator-name = "fixed-3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + vqmmc_sdhi1: regulator-vccq-sdhi1 { + compatible = "regulator-gpio"; + regulator-name = "SDHI1 VccQ"; + gpios = <&pinctrl RZG2L_GPIO(10, 2) GPIO_ACTIVE_HIGH>; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + gpios-states = <0>; + states = <3300000 0>, <1800000 1>; + }; }; &audio_extal_clk { clock-frequency = <22579200>; }; +&i2c0 { + pinctrl-0 = <&i2c0_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&i2c1 { + pinctrl-0 = <&i2c1_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&i2c2 { + pinctrl-0 = <&i2c2_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&i2c3 { + pinctrl-0 = <&i2c3_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&i2c6 { + pinctrl-0 = <&i2c6_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&i2c7 { + pinctrl-0 = <&i2c7_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&i2c8 { + pinctrl-0 = <&i2c8_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&ostm0 { + status = "okay"; +}; + +&ostm1 { + status = "okay"; +}; + +&ostm2 { + status = "okay"; +}; + +&ostm3 { + status = "okay"; +}; + +&ostm4 { + status = "okay"; +}; + +&ostm5 { + status = "okay"; +}; + +&ostm6 { + status = "okay"; +}; + +&ostm7 { + status = "okay"; +}; + &pinctrl { + i2c0_pins: i2c0 { + pinmux = , /* I2C0_SDA */ + ; /* I2C0_SCL */ + }; + + i2c1_pins: i2c1 { + pinmux = , /* I2C1_SDA */ + ; /* I2C1_SCL */ + }; + + i2c2_pins: i2c2 { + pinmux = , /* I2C2_SDA */ + ; /* I2C2_SCL */ + }; + + i2c3_pins: i2c3 { + pinmux = , /* I2C3_SDA */ + ; /* I2C3_SCL */ + }; + + i2c6_pins: i2c6 { + pinmux = , /* I2C6_SDA */ + ; /* I2C6_SCL */ + }; + + i2c7_pins: i2c7 { + pinmux = , /* I2C7_SDA */ + ; /* I2C7_SCL */ + }; + + i2c8_pins: i2c8 { + pinmux = , /* I2C8_SDA */ + ; /* I2C8_SCL */ + }; + scif_pins: scif { pins = "SCIF_TXD", "SCIF_RXD"; renesas,output-impedance = <1>; }; + + sd1-pwr-en-hog { + gpio-hog; + gpios = ; + output-high; + line-name = "sd1_pwr_en"; + }; + + sdhi1_pins: sd1 { + sd1_dat_cmd { + pins = "SD1DAT0", "SD1DAT1", "SD1DAT2", "SD1DAT3", "SD1CMD"; + input-enable; + renesas,output-impedance = <3>; + slew-rate = <0>; + }; + + sd1_clk { + pins = "SD1CLK"; + renesas,output-impedance = <3>; + slew-rate = <0>; + }; + + sd1_cd { + pinmux = ; /* SD1_CD */ + }; + }; }; &qextal_clk { @@ -59,3 +231,15 @@ &scif { status = "okay"; }; + +&sdhi1 { + pinctrl-0 = <&sdhi1_pins>; + pinctrl-1 = <&sdhi1_pins>; + pinctrl-names = "default", "state_uhs"; + vmmc-supply = <®_3p3v>; + vqmmc-supply = <&vqmmc_sdhi1>; + bus-width = <4>; + sd-uhs-sdr50; + sd-uhs-sdr104; + status = "okay"; +}; From patchwork Wed Aug 21 08:56:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13771092 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6791E1DE65F; Wed, 21 Aug 2024 08:56:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230621; cv=none; b=HglH3nt+xXt3wodV9sC7oIIzGbJriRIFGynWTfUCh92DiIO/c83JZ6MkIPjaRwKP4YCEK07tAZJ0myxn99QeZVy/DEie43Uraooxgi7AnssvUP1eNJf9BXllhmO4WfcuhiZ4xHjvTSsEkPla/i/a2aM+F33pBpCSd6OY/jgzBJw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724230621; c=relaxed/simple; bh=zOKVK+HyR+Fr49+jHTWe2DJLMiF8aQkdMtIXo+9zDD0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ISTSkvgPfGh8qwrjodAG16khccDzvyh8N2B62uxfP2TLjteI0wFHNWFa4j3E6IIannISnZbDOMllUGVmhogBanpU7ognlYaOrR5hTMwfRLMuTL6cXn0xFuttXX+SgRAU2T2DjiHX+nQbKXnjDPrNP3Mo572eDKyu0K/H06cxvT0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=SOWOpKvI; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SOWOpKvI" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a7aabb71bb2so703676366b.2; Wed, 21 Aug 2024 01:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724230618; x=1724835418; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EtVMKpFtM6GEoFMyzcZpJi3raOhIzOMSZeM0Wfu1t1c=; b=SOWOpKvImz9J7NxGvUjE/pQsgyhm5sVpjEX39AETYxsdnj9Lmqwo3Z6onDV+gfOM/B O1Ovw5sIliTCEPz/TUOlXy1SXbjrvTwqbWmI6kGqyw41ICyG8MMHA89p/W3XcQCiqtZr s5rxYWSIx/luTWUBYzSoLi0wR3so+l53pdYFXMTkLoOWrn82A01neRAx5jiHh+i3LELo HjdigHU2G7W66UISNI8DXOsBAVA16NcsVy+hlcIJlb+ICtB68tdISLPLXs618TwMYtjc +xRP1Qdpqx/2ltKGDJIcNrdpG05HuLmAzKc03j8xhT7Fq2cA58kYWWMPsc8HZHlPKnt/ BDtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724230618; x=1724835418; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EtVMKpFtM6GEoFMyzcZpJi3raOhIzOMSZeM0Wfu1t1c=; b=iGqKcektPQfkM0q/MQmGHCkwfp7HznHdVc4ePkdGdgDDNg4enQBzjMAD/AD89U4qtp RJHlg4zrZ6J2JqmVFibuRJS6TAeCIq3EAzyF9RE1NlWBNQVe34zT9Uq8gdQSJ6MxIRIs MbjwysszTjNDrbh1C38vXm5Nk0oe3uiU83qH3OP1uFO+ua6qVANoteA5KXm4BkqFA7Pt hy3V4c2bnyEvif4hA8A2muMND8q+ckKhf3w3bfDyg2r0zBVpGMn6C/RW5Cw3BnNbCC59 u6ZVHfdkqVl/X4XXZIZLzxf7uH+YuLy3g+lqHMKW5CeIaLQazdZ0YxJu+6hgfrwUZNsN Kt5A== X-Forwarded-Encrypted: i=1; AJvYcCV/4HLz3SMKEHJGAPIntsZJidkvpALMaFJypD0K/stTs+w7xBUwmzR51eClmjMVtOVDGByzGGK7ot1MKk20@vger.kernel.org, AJvYcCWhPKtxE2EmBBBNEktfZkT6ojHFS56+DTStM/aMi0XjlMdFfLKvojkbTnA/6/rLbTL5sQFh4vwSDya2@vger.kernel.org X-Gm-Message-State: AOJu0Yy2Dnre8BWHBLZuRqpTKVbtfgqPlkVA0TByZ5yitwfLNuGOrbxx Tby1JM7XbDJ7oW4js7r9VIjQOwEWpQ9Nk/yxh3yMGvIqAP/UIePo X-Google-Smtp-Source: AGHT+IGNy/rNvk8aJZrlNEMZqKTMbriYQQnOXvT2IcUuTVkWrU23uUk5qLhkP7yp4/k3NvllgZs3NA== X-Received: by 2002:a17:907:7fa1:b0:a7a:c083:857b with SMTP id a640c23a62f3a-a866f8f380cmr112684466b.42.1724230617677; Wed, 21 Aug 2024 01:56:57 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2500:a01:b9a9:40a4:353f:6481]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83838cf183sm873416266b.56.2024.08.21.01.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 01:56:57 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v3 8/8] arm64: dts: renesas: r9a09g057h44-gp-evk: Enable watchdog Date: Wed, 21 Aug 2024 09:56:44 +0100 Message-Id: <20240821085644.240009-9-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240821085644.240009-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Enable WDT1 watchdog on RZ/V2H GP-EVK platform. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven --- v2->v3 - No change v1->v2 - New patch --- arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts b/arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts index 1c532810dad0..e89b66018f78 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts +++ b/arch/arm64/boot/dts/renesas/r9a09g057h44-gp-evk.dts @@ -243,3 +243,7 @@ &sdhi1 { sd-uhs-sdr104; status = "okay"; }; + +&wdt1 { + status = "okay"; +};