From patchwork Wed Jul 12 15:21:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 13310560 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B773EB64D9 for ; Wed, 12 Jul 2023 15:22:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=aMfqUbsuSk6RIV9lqJT3g3RZv3d4sAASVEhvNIv06i0=; b=d1icV15YOpuF+d /pyPaYnYCAyvgx+uuTzghjw+RyPqyRxliFKwLVOjRDW0iHTIKw+DPgYV48HCpSTFo19wJRg+tkCUO 5MrqjIMQWYHWv7laFytP3l9LYNPMZuiAmLRqmIrP+L3FgrjXYrxLVy1CE/Sip/Nke/iYIdNlCLB3f IrGGzWHQIrtdao6GHqe25paPI94+r9Bo9j38EvrvCRviEwmj/6cMuFFz5G828Dxt2sOGGR9ZROKvb 7/yn1IRv95TiUb9azJjj6iVMziJrZn2Aoo1/n84xbOhBixBjWMiiV7FmyLq+0fnTPLuGVXJbfgZUw NvepreHU5npDSLicfZLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJbez-000LA5-0E; Wed, 12 Jul 2023 15:21:45 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJbew-000L9C-0C for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2023 15:21:43 +0000 Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 9DD1386B27; Wed, 12 Jul 2023 17:21:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1689175299; bh=cpCAb67TfJ//ML5P+tOkTrQ9lar76jsEYptXnqk6V0I=; h=From:To:Cc:Subject:Date:From; b=OQ3hvu5aAGPEK+AMkE4JwmY4q2qu2XvHUStWPiLGQ01qmvNNXwjCx/FzogauFJU2N xu7NseIcT6e880HRwLLQ+2/ABarfQps4rUe2579i4zsq2a0iusmV5GHjQpK4347wns kyfgEl1U1yIbWJ5tGl5+qQFqlzMTammruo7v3GaUwsLmq7KCMXdPBaDJFhmSQKgujn 7rLAmcIeJ0mfqL1D8msRnLkqUvCfDOhd/oYJjsQwYjjV1tMnsB0g4Do4Av/VpNTZTB CGQjXhC670Nc7jrLlPpr98AriyZZO5L8MRoqN7OePOA2ivfdxlSe5XntWkBi//u1M6 Ko756q8shexlA== From: Lukasz Majewski To: Rob Herring , Krzysztof Kozlowski Subject: [PATCH] ARM: dts: at91: ksz9477_evb: Add missing timer nodes Date: Wed, 12 Jul 2023 17:21:11 +0200 Message-Id: <20230712152111.3756211-1-lukma@denx.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230712_082142_447505_3397AC1D X-CRM114-Status: UNSURE ( 9.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Conor Dooley , Alexandre Belloni , linux-kernel@vger.kernel.org, Lukasz Majewski , Claudiu Beznea , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Without this change the KSZ9477-EVB board hangs just after passing execution flow from u-boot to Linux kernel. This code has been copied from at91-sama5d3_xplained.dts. Test setup: Linux 6.5-rc1 Config: arch/arm/configs/sama5_defconfig Toolchain: gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi Signed-off-by: Lukasz Majewski --- .../boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts index 14af1fd6d247..99cd6d15998b 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts @@ -162,6 +162,18 @@ }; }; +&tcb0 { + timer0: timer@0 { + compatible = "atmel,tcb-timer"; + reg = <0>; + }; + + timer1: timer@1 { + compatible = "atmel,tcb-timer"; + reg = <1>; + }; +}; + &usb0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>;