From patchwork Sun Feb 11 14:21:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13552459 X-Patchwork-Delegate: geert@linux-m68k.org Received: from michel.telenet-ops.be (michel.telenet-ops.be [195.130.137.88]) (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 108F05B5BE for ; Sun, 11 Feb 2024 14:21:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.88 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707661306; cv=none; b=JPcumQWS5zwPa5eSzkbNvHdb7PgfSpX6/tSFNRANp6VeTpX/fnR8Mtxh4/pzcBTik+aO3QlLZrHYdXdb7XErA+lhNQ6LDXiQzhYiIJoQ67xdXl8pGvYt4m2/38Ghhn123r1CIAM9+wgTX83tVOQjaCc2zK4RqRNE1Vum/FtGyYg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707661306; c=relaxed/simple; bh=LjFWgTazxp1J/kCEmH69UStVEBTsLX+AuBDb96QzGQI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CENkZE7cjdLX4Xt6oeoXcZnnQUHkRzCVZNc7mzCPwwyE2VZZ77yuzC4t62tXfO1iEngbS6FMFIh2OTDiaI/fDL4d5D8BoZQ6ruEB33ymXMGXWnzh4/kfq73mHQ02Cd0Sznb3o5BHPykuF41pahs4BekWBF5BaLgrv2v4KuvNhxw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5c16:aeff:e73f:ad67]) by michel.telenet-ops.be with bizsmtp id lqMY2B00B493aJM06qMYrV; Sun, 11 Feb 2024 15:21:34 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rZAhz-000Qh4-K9; Sun, 11 Feb 2024 15:21:32 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rZAi4-006Wmr-Jb; Sun, 11 Feb 2024 15:21:32 +0100 From: Geert Uytterhoeven To: Wolfram Sang , Sergey Shtylyov Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 1/2] arm64: dts: renesas: r8a779a0: Correct avb[01] reg sizes Date: Sun, 11 Feb 2024 15:21:30 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 All Ethernet AVB instances on R-Car V3U have registers related to UDP/IP support, but the declared register blocks for the first two instances are too small to cover them. Fix this by extending the register block sizes. Fixes: 5a633320f08b8c9b ("arm64: dts: renesas: r8a779a0: Add Ethernet-AVB support") Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi index 2f8f2ccab8c23728..cfa70b441e329a0b 100644 --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi @@ -667,7 +667,7 @@ channel7 { avb0: ethernet@e6800000 { compatible = "renesas,etheravb-r8a779a0", "renesas,etheravb-rcar-gen4"; - reg = <0 0xe6800000 0 0x800>; + reg = <0 0xe6800000 0 0x1000>; interrupts = , , , @@ -715,7 +715,7 @@ avb0: ethernet@e6800000 { avb1: ethernet@e6810000 { compatible = "renesas,etheravb-r8a779a0", "renesas,etheravb-rcar-gen4"; - reg = <0 0xe6810000 0 0x800>; + reg = <0 0xe6810000 0 0x1000>; interrupts = , , , From patchwork Sun Feb 11 14:21:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13552458 X-Patchwork-Delegate: geert@linux-m68k.org Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [195.130.132.51]) (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 14E9D5B5C9 for ; Sun, 11 Feb 2024 14:21:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707661305; cv=none; b=RQEIDlTq0Pqx7IoseTS+kf72TDWlEUDstOjzLOBpxSatBuMgHy57K0D7GJ5u4oWglr3wnTHY533dC6Kbiy89m/q2n/yYSJDYk5OJiYF3QVIhXLc5hDw+UuE16a8nchMiE1evVNerP5+/MpKKaYgnPHXyJZ9HrIBISQY/LimxWrk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707661305; c=relaxed/simple; bh=OveleW9YbCEfEeicmpbVBXDqdfRnXhCShB0FV4fuRxs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=K7bgK3HJphcD5eQCMHNscRt4vTKmptdh89eATuQqli7OxrkjiK5+95PkURx/YazUjXBkchnIIj1sQIFDdj1txfunbCLCMffNgqlkRbn7Bn48ZBzysjpKYgssevCvSybBfxAHRri+k9liSSoSACqgjGmLx6XyJ5TxXrEvvNyYDvE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5c16:aeff:e73f:ad67]) by baptiste.telenet-ops.be with bizsmtp id lqMY2B00G493aJM01qMYAb; Sun, 11 Feb 2024 15:21:34 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rZAhz-000Qh6-KT; Sun, 11 Feb 2024 15:21:32 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rZAi4-006Wmu-KE; Sun, 11 Feb 2024 15:21:32 +0100 From: Geert Uytterhoeven To: Wolfram Sang , Sergey Shtylyov Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/2] arm64: dts: renesas: r8a779g0: Correct avb[01] reg sizes Date: Sun, 11 Feb 2024 15:21:31 +0100 Message-Id: <83437778614a7c96f4d8f1be98dffeee29bb4a0b.1707660323.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 All Ethernet AVB instances on R-Car V4H have registers related to UDP/IP support, but the declared register blocks for the first two instances are too small to cover them. Fix this by extending the register block sizes. Fixes: 848c82db56923a8b ("arm64: dts: renesas: r8a779g0: Add RAVB nodes") Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi index 7b05b9b3e0a85f44..9bc542bc616909d1 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi @@ -776,7 +776,7 @@ channel7 { avb0: ethernet@e6800000 { compatible = "renesas,etheravb-r8a779g0", "renesas,etheravb-rcar-gen4"; - reg = <0 0xe6800000 0 0x800>; + reg = <0 0xe6800000 0 0x1000>; interrupts = , , , @@ -823,7 +823,7 @@ avb0: ethernet@e6800000 { avb1: ethernet@e6810000 { compatible = "renesas,etheravb-r8a779g0", "renesas,etheravb-rcar-gen4"; - reg = <0 0xe6810000 0 0x800>; + reg = <0 0xe6810000 0 0x1000>; interrupts = , , ,