From patchwork Sat Sep 21 11:48:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13808900 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A2061142E86 for ; Sat, 21 Sep 2024 11:48:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726919322; cv=none; b=sGLAr+QAVxPsiINq+IBbZwDURoyOoDa6gqgxrzNzxOha8ouPELgrjNlMK52hvXTX1BudfcDpilREwDCPHKX84oA7c6JGQ/sNFJzcPdd9VMph0cVfSlyrsnW7qG70Z9pqmtym23k0oiOVdnixYHK+/L0AR8XWF/ibxWjHQG+gv1A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726919322; c=relaxed/simple; bh=ZKF6GZdrKjJEkQLXS1jNMiP8WsyaciPv/gNPDGSaiGI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Z6mm8r7ViUkUgE2Nit3kJXOfJQA3AG/Ycd6VTNFPMcH+wGGTek3motfZe/XuOkIdSh9HFgqO4IRf2nv/xjAz2C+Lr5374AsmvTqObl94TBDEoSQxq+FQJmxq3MAvS9cwkzAeYXEzhYts9jCIBLZfjkBfwugAZd8WNKW7kj374GA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=DAMaGG6g; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="DAMaGG6g" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=tnfdwWPQ4oVF7+DpN/t6fQbAt+FexciXlBD+vZPPLCk=; b=DAMaGG 6g7KJNIHd1vxLGhO1QDdCinVBg+nijH9qymjZ6mOKpmnT55KCo7puYW4ba+Yn1M4 jCyWhZkjXn/qAK/23GlUzKZrIEdlfYGLZNpiR7sHXM4jAEMbMe3olbU5rk+P1hbJ qFPFq4ts7SpMTVdHydqqlG4nzJqyK6ccydE9ZQlCrLozuhujEc63iAzoppFN7J+M NmyyAMfwwp8s5XKnriOxlzzqHjFUJ2kgUcZyisCLLq3eQQO0o+h+BD5VswBxYrUN 6oJGPkz2RfLWPwre9ASvok1IGysM9dXJ/psZZUxLLr8Mho7qhCuGTqcO4O7ZueJ7 bvZ4XEcAk/gW135w== Received: (qmail 3652718 invoked from network); 21 Sep 2024 13:48:36 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 21 Sep 2024 13:48:36 +0200 X-UD-Smtp-Session: l3s3148p1@cM1lvJ8ifuEgAwDwn0Nz2qARpwvTE8dN From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: [PATCH 1/5] ARM: dts: renesas: genmai: enable watchdog Date: Sat, 21 Sep 2024 13:48:13 +0200 Message-ID: <20240921114813.4124-8-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240921114813.4124-7-wsa+renesas@sang-engineering.com> References: <20240921114813.4124-7-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Driver has been submitted meanwhile. Activate the device. Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r7s72100-genmai.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts index 28e703e0f152..226bcff180bb 100644 --- a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts +++ b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts @@ -228,3 +228,8 @@ codec: codec@0 { spi-max-frequency = <5000000>; }; }; + +&wdt { + timeout-sec = <60>; + status = "okay"; +}; From patchwork Sat Sep 21 11:48:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13808899 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A21B5155CAC for ; Sat, 21 Sep 2024 11:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726919322; cv=none; b=iT+5kvNHV9CkJPv7RR2Q3r4qpUbzqf6HNop/eIiQ/5w56gw9cRt733fi+cP4jacSCCbZEtxRahU+bcgoG27wt62mvQYg5bcFHq0H9K/tJlzMexDysY7hNYaQ3Anl9aQbexOH52n+Ukts9AnjefIbBh2oluBNcMsVeVy2l7jhWAw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726919322; c=relaxed/simple; bh=s46YgXjYEgUlMZp3wPtzbQDCksgk0DSAsPR2iu4O/b4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YrR7W/MdxTJLPfGVqLRhEbyw7hFpp39qSjpBaQfgUaOOGLs7EMF7aCuktUosBjx6MMWhiMyCR0atF94FGKIsrH3Vil1ZJZEcCXVFXoiyTf7s2OLnYVjsJ1ijFQvy/5924tg0e4EOc3HJhGKbAvMmOVPttOzOGVTN7IDlXw69op4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=KpssY+K0; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="KpssY+K0" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=YSf6tpbbA7tJf8yOz0uyncmkQ9adf9l+BY+hCm7lS+4=; b=KpssY+ K0PJAL2DHpKLJkp3Yye6JkK81Lp2IEBcftoChIvFZiS83wy3+Zb2tNfnAJjF5MzE +NO5IO0V18vWov+9+1o8JqC1Jssywxr7THgSDgbaJrUaz6R5UBes3NIlCEPwdc4/ PR9ZzayPZKeJyRWGMZIUZvkcxcrgtQyCj1ulYnH3LdXGGRiWaqsN8lkNB4xRcI3h ft8RPeR6p6Gn30uF7nbLbssVWeJakmzksDB0fAlyFBwChWok1tPv1mv4KiJmNKqh 10hdsYw+faTBHm0sH80TWYrezoMK2veXvDgS4LOT7mk6Nq6/sGfI383kuoKoJJHG yI0xKPie+WmNM34g== Received: (qmail 3652761 invoked from network); 21 Sep 2024 13:48:37 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 21 Sep 2024 13:48:37 +0200 X-UD-Smtp-Session: l3s3148p1@EKt0vJ8iiuEgAwDwn0Nz2qARpwvTE8dN From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: [PATCH 2/5] ARM: dts: renesas: genmai: enable OS timer modules Date: Sat, 21 Sep 2024 13:48:14 +0200 Message-ID: <20240921114813.4124-9-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240921114813.4124-7-wsa+renesas@sang-engineering.com> References: <20240921114813.4124-7-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Driver has been submitted meanwhile. Activate the devices. Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r7s72100-genmai.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts index 226bcff180bb..c4c2d750ad79 100644 --- a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts +++ b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts @@ -208,6 +208,14 @@ eeprom@50 { }; }; +&ostm0 { + status = "okay"; +}; + +&ostm1 { + status = "okay"; +}; + &rtc { status = "okay"; }; From patchwork Sat Sep 21 11:48:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13808901 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E15C7156C6C for ; Sat, 21 Sep 2024 11:48:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726919322; cv=none; b=rLCGUpzbUq+WAnWquOCjCBNARDyj1ZyLmCBXtkOFskrzRtGZ8kQKImDk8ZM48dor7RbnpilZyJD6/Y8S8I1Iu9IS4Ug36KYcdhEFAxIu1/1KNGfTLlO2jiOheVgs72klBoNs76gL/qtjIFPLGvhf2ct5BvLzuM8Vf/V9UHx/56I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726919322; c=relaxed/simple; bh=eDhk0IVXaB3CVJzLUQ1WN80UMNPj8bfM9Jph3Xl1Orw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dFturJkraE/OazGpP7ORpZ3rNGUyxJzC7AJ+vziu6bbPo8hyQz+EikdTiYmSyrI6rG/iV0W8gKntu1YShgPp8LR1wfd5qalkOnBev7A+Tq5ZAOlFPXN/aQoMPPUxspre6FkMGgleEQTDbYKGJdEFiO1BuMaTSUUzyGcyd2c3wz4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=SPsdAMIF; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="SPsdAMIF" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=W8XOb4jH8dPYU1ok4f1hmPLVJQEVLPoLo1IYvlwIC0s=; b=SPsdAM IFPgNS88+NuzSijhfjmS9Vli3KNmCcxiI9UKYrGpmJQa6akr7hKWs052OU0F8BjC 8XTkMoYue1tWWN6jmeq1Hjk/ivYb8vw18uBRlbScMKzkCiZcBh3Xy8iHJwGBY6Fz Ze1tbyL5MuaVbD9gPp+jGGzgJFV6iebac3QTgeD86t9NIEi+BC+jI93MeLgMBsY5 +lfZHhC5Bc7znL1Y7UVYv+b9hz9UOpsXts62XumGRSdR46aHlMbDw2x/gw8CL8qV gOAMwf3zvZH+XzYtKht3Fe0/bW79Ivt5mlmsr2mBHIMb+zn4FalF4/4G0ISs0Y7Y amlx4NTO5lLJ3Grg== Received: (qmail 3652803 invoked from network); 21 Sep 2024 13:48:38 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 21 Sep 2024 13:48:38 +0200 X-UD-Smtp-Session: l3s3148p1@ogqGvJ8ikOEgAwDwn0Nz2qARpwvTE8dN From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: [PATCH 3/5] ARM: dts: renesas: genmai: sort nodes Date: Sat, 21 Sep 2024 13:48:15 +0200 Message-ID: <20240921114813.4124-10-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240921114813.4124-7-wsa+renesas@sang-engineering.com> References: <20240921114813.4124-7-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 To make future additions easier. Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r7s72100-genmai.dts | 102 +++++++++--------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts index c4c2d750ad79..5728b1080ca6 100644 --- a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts +++ b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts @@ -72,45 +72,6 @@ led2 { }; }; -&pinctrl { - - scif2_pins: serial2 { - /* P3_0 as TxD2; P3_2 as RxD2 */ - pinmux = , ; - }; - - i2c2_pins: i2c2 { - /* RIIC2: P1_4 as SCL, P1_5 as SDA */ - pinmux = , ; - }; - - ether_pins: ether { - /* Ethernet on Ports 1,2,3,5 */ - pinmux = ,/* P1_14 = ET_COL */ - , /* P5_9 = ET_MDC */ - , /* P3_3 = ET_MDIO */ - , /* P3_4 = ET_RXCLK */ - , /* P3_5 = ET_RXER */ - , /* P3_6 = ET_RXDV */ - , /* P2_0 = ET_TXCLK */ - , /* P2_1 = ET_TXER */ - , /* P2_2 = ET_TXEN */ - , /* P2_3 = ET_CRS */ - , /* P2_4 = ET_TXD0 */ - , /* P2_5 = ET_TXD1 */ - , /* P2_6 = ET_TXD2 */ - , /* P2_7 = ET_TXD3 */ - , /* P2_8 = ET_RXD0 */ - , /* P2_9 = ET_RXD1 */ - ,/* P2_10 = ET_RXD2 */ - ;/* P2_11 = ET_RXD3 */ - }; -}; - -&extal_clk { - clock-frequency = <13330000>; -}; - &bsc { flash@0 { compatible = "cfi-flash"; @@ -167,18 +128,6 @@ partition@60000 { }; }; -&usb_x1_clk { - clock-frequency = <48000000>; -}; - -&rtc_x1_clk { - clock-frequency = <32768>; -}; - -&mtu2 { - status = "okay"; -}; - ðer { pinctrl-names = "default"; pinctrl-0 = <ðer_pins>; @@ -194,6 +143,10 @@ phy0: ethernet-phy@0 { }; }; +&extal_clk { + clock-frequency = <13330000>; +}; + &i2c2 { status = "okay"; clock-frequency = <400000>; @@ -208,6 +161,10 @@ eeprom@50 { }; }; +&mtu2 { + status = "okay"; +}; + &ostm0 { status = "okay"; }; @@ -216,6 +173,45 @@ &ostm1 { status = "okay"; }; +&pinctrl { + + scif2_pins: serial2 { + /* P3_0 as TxD2; P3_2 as RxD2 */ + pinmux = , ; + }; + + i2c2_pins: i2c2 { + /* RIIC2: P1_4 as SCL, P1_5 as SDA */ + pinmux = , ; + }; + + ether_pins: ether { + /* Ethernet on Ports 1,2,3,5 */ + pinmux = ,/* P1_14 = ET_COL */ + , /* P5_9 = ET_MDC */ + , /* P3_3 = ET_MDIO */ + , /* P3_4 = ET_RXCLK */ + , /* P3_5 = ET_RXER */ + , /* P3_6 = ET_RXDV */ + , /* P2_0 = ET_TXCLK */ + , /* P2_1 = ET_TXER */ + , /* P2_2 = ET_TXEN */ + , /* P2_3 = ET_CRS */ + , /* P2_4 = ET_TXD0 */ + , /* P2_5 = ET_TXD1 */ + , /* P2_6 = ET_TXD2 */ + , /* P2_7 = ET_TXD3 */ + , /* P2_8 = ET_RXD0 */ + , /* P2_9 = ET_RXD1 */ + ,/* P2_10 = ET_RXD2 */ + ;/* P2_11 = ET_RXD3 */ + }; +}; + +&rtc_x1_clk { + clock-frequency = <32768>; +}; + &rtc { status = "okay"; }; @@ -237,6 +233,10 @@ codec: codec@0 { }; }; +&usb_x1_clk { + clock-frequency = <48000000>; +}; + &wdt { timeout-sec = <60>; status = "okay"; From patchwork Sat Sep 21 11:48:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13808903 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE5D916F271 for ; Sat, 21 Sep 2024 11:48:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726919325; cv=none; b=jlR/wpDEXfQ03Zldr6sZKOl8RvSeYtVEvQ/+h1IAZ3dvGIpNqMgUGfqvt1tw7kAjtXVJrC2GpQEJQOzfJTB/5rksRj6TI8s+UZPNDbpC16KY3QTF2rAre2DmdlVImW6Cxvu/y6+M7MbF/NJAquVtvoS62eqBcFS0RwSxrBIv1+8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726919325; c=relaxed/simple; bh=rvAXavuNEzC53fMDGsb7GkkZYNxDu/mrr43mU/iZ40o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rLFTSpPvsGofUwTKKnW+uEJ4zJ3uANpyHsqGQHm47yPSgZlnLshUeeOPJhGkTw7MDW61xiAlES6df+qc6u8tW05De8T6/l5oV9XQ0A+bImRc/+Fm9hr4OQ/1kAbIpTirbmkptNcUQ7UzCCgdzGMi2TPaduPKB7aRH6JD5DLyw2s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=atAysOQF; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="atAysOQF" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=73WsSrI+FYKo5p/m6oSxAlAlI33R7iW0u09NBkVFkm4=; b=atAysO QFe1RqVMzBW3GRuozHccEFi/dsR0eJjCEjTnvyjITborI7psxfNoVoywGp5fB0yV SA89ynTM1uQuBkMLlYrWpKudB/ffjAQ8n0sWQDtOKSV6ROHGpK03p0AcY7k6LYCN FoWvg0GqTQskJlISAsaptZUKYNplTixGlaF/3rQvfom9xrgiIkXFKmJMBJrQn1ne 7PxECH3BzyLGb6HgoN/M/TKXCgTktowp+ks5aKpNQfg9K85c1B3e4qKWR8p8Wj82 IeDmD98ZGkGplz2NJxHkDAHWuoVbjwW4zzdvsOzyhcm0wkntt50lNKrmJHz1+JtZ ESvWMwfn67XL8OHw== Received: (qmail 3652846 invoked from network); 21 Sep 2024 13:48:39 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 21 Sep 2024 13:48:39 +0200 X-UD-Smtp-Session: l3s3148p1@jKGVvJ8iRsYgAwDwn0Nz2qARpwvTE8dN From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: [PATCH 4/5] ARM: dts: renesas: genmai: sort pinctrl entries Date: Sat, 21 Sep 2024 13:48:16 +0200 Message-ID: <20240921114813.4124-11-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240921114813.4124-7-wsa+renesas@sang-engineering.com> References: <20240921114813.4124-7-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 To make future additions easier. Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r7s72100-genmai.dts | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts index 5728b1080ca6..4f920afe0d62 100644 --- a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts +++ b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts @@ -174,17 +174,6 @@ &ostm1 { }; &pinctrl { - - scif2_pins: serial2 { - /* P3_0 as TxD2; P3_2 as RxD2 */ - pinmux = , ; - }; - - i2c2_pins: i2c2 { - /* RIIC2: P1_4 as SCL, P1_5 as SDA */ - pinmux = , ; - }; - ether_pins: ether { /* Ethernet on Ports 1,2,3,5 */ pinmux = ,/* P1_14 = ET_COL */ @@ -206,6 +195,16 @@ ether_pins: ether { ,/* P2_10 = ET_RXD2 */ ;/* P2_11 = ET_RXD3 */ }; + + i2c2_pins: i2c2 { + /* RIIC2: P1_4 as SCL, P1_5 as SDA */ + pinmux = , ; + }; + + scif2_pins: serial2 { + /* P3_0 as TxD2; P3_2 as RxD2 */ + pinmux = , ; + }; }; &rtc_x1_clk { From patchwork Sat Sep 21 11:48:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13808904 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FBD6170853 for ; Sat, 21 Sep 2024 11:48:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726919326; cv=none; b=AyIVrg9gf/kLaQ13/hLbs17vM1BGV7QW/hWmSTFnaJBk5ySEuKyXKLMjHQNnQafM5aKUGFZF7ZYbiCfs+lBwmrantdiVFYU9XijLtSpoUenehzARrzmLG8VfgmFfTLOF8eDQZjN3pzvi3r6UY2F2DjkItFTPN8d7OqRpvo+C50Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726919326; c=relaxed/simple; bh=Vu/5GE4Brj4CfpKlI6QsQiYdSFN5EtcGHdXjtjg2Kug=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Tru5JO2pKxXYDPNRLnlPbcvimkcP8+jbh0nvoInK65mTxyDhmvmH1Gspc12FPmCNfmCGQrcv+jGsNqCPGQ6ne5bW2qz50lOSY7JzbN9oBSsmHA4EKL3V+fUqphmq24krLR95D6P5+nuXUqspiMhdIef52ivBQ98TAqZ5vLom6vU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=Lb5dc/6v; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="Lb5dc/6v" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=9ZjfP55eBftOhnPw04cN7ojR+u7Qj4BNNprr6JwFjF0=; b=Lb5dc/ 6vRlKAgga9OEdrq4TSul44nE4YOIGZeRrLZSzJUFd1y85zj/zRcPXKPWko3T6AgU LDWH7g9zmxJ44w1SsXHjBEmzfpvvZS8tzAjYkO+d44S7O2FO4fZ27TifPO+YBb3i d+QZ1JhkC6WKm+63Rjl+FSlRM8kf8txR8r7wQD5JFzJY+haeM+Jop8+dEarsKrFy bECBuHq2/R86hnegc127dafW+yflF7i95JuqvTdaWfAZr42XkIb/ogBtmSjtBXWF YbL871zkpeQxCexNXN5VxqVUua5v07awyqPsU742RJCrPrZV5kckJbQpI00H438y tlERX5C52s5AH6Fg== Received: (qmail 3652867 invoked from network); 21 Sep 2024 13:48:40 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 21 Sep 2024 13:48:40 +0200 X-UD-Smtp-Session: l3s3148p1@uaOmvJ8iUsYgAwDwn0Nz2qARpwvTE8dN From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: [PATCH 5/5] ARM: dts: renesas: genmai: define keyboard switch Date: Sat, 21 Sep 2024 13:48:17 +0200 Message-ID: <20240921114813.4124-12-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240921114813.4124-7-wsa+renesas@sang-engineering.com> References: <20240921114813.4124-7-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r7s72100-genmai.dts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts index 4f920afe0d62..0ad3989859c4 100644 --- a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts +++ b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts @@ -9,6 +9,7 @@ /dts-v1/; #include "r7s72100.dtsi" #include +#include #include / { @@ -58,6 +59,22 @@ partition@4000000 { }; }; + keyboard { + compatible = "gpio-keys"; + interrupt-parent = <&irqc>; + + pinctrl-names = "default"; + pinctrl-0 = <&keyboard_pins>; + + key-1 { + /* JP3 must be set to 1-2 (default) */ + interrupts = <6 IRQ_TYPE_EDGE_BOTH>; + linux,code = ; + label = "SW6,SW7"; + wakeup-source; + }; + }; + leds { status = "okay"; compatible = "gpio-leds"; @@ -201,6 +218,11 @@ i2c2_pins: i2c2 { pinmux = , ; }; + keyboard_pins: keyboard { + /* P3_1 as IRQ6 */ + pinmux = ; + }; + scif2_pins: serial2 { /* P3_0 as TxD2; P3_2 as RxD2 */ pinmux = , ;