Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp45237rwp; Wed, 12 Jul 2023 09:26:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlFFVqwSSKjWSqa/+XCCy4DF9Bl+OIlYa1Gwg282nuGOxtTljlh1eylVLiT9Dx/jub3UQnHY X-Received: by 2002:a17:906:224a:b0:977:d660:c5aa with SMTP id 10-20020a170906224a00b00977d660c5aamr4066135ejr.31.1689179191874; Wed, 12 Jul 2023 09:26:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689179191; cv=none; d=google.com; s=arc-20160816; b=WNSsFgMFUH5NKP1GnbZrZ/myD+0oE0M6rnZ9fiaLQgleR02kZ7hg4ux+oRFFsdk7V/ Ywj/Q0yFUA7sKSosbnXZhwjgKSPsaZf40RPxoeHfh7ghnEW/Lr3dA80Fm9az84JrBvUX 0dIrrdKwwstQvnQ6h3z18YXbkrM6QL/GL8zjk7gDMxbkYaFT2yu05ZNaxZefrps726aS 6qtn32Bs2o2otTK8CiAS98+C5zZHvBw3bjtejXFFdXLqOKJCAQeMnTV6rQ/BPkILltS/ hZjzTGmOR4Tibk52kmto0sfkH9dr9uYWOU0wJ15fZa+IrAGwamZP5WOeLnpQz1+u3P6r Q+Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=cpCAb67TfJ//ML5P+tOkTrQ9lar76jsEYptXnqk6V0I=; fh=B6XhlaLaqDGLcT9QUly/qTXUKDQWMvoGCAYIKiu5hpk=; b=svDLLeOoPBYc2wf09xtdvfs4HoqlOHcIERcs2zLvEB1bhLvNVTkLYTtlM/cbIWoQwf oQGgohtR6GsknNWpSaprus0ePm5cuT84i81rEsNnmkZXRzK44BwA1rOfm+EzR20AUuTf Oj0lA2XRCAAUsG1JmiCGCb7/+TK0RbdQeV3ZTHZy/d/gxlhpcgCO9f3EdqjnXeB1oIlp oLYLhVtxOrKdU6IQJCdrch6UfuHkL7zUWnRWl+S/P6rs3g6fGz1Y4I9+uDX6RX1YP33n oRrr4BCVPwW+D1gvjAL4Oi3SRIUC45jPWMqCkcG5Jt6G3Ub3H5tkD7rOWEl+wthcTTfg +xiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=OQ3hvu5a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id se2-20020a170906ce4200b00992e91cacc3si5234823ejb.44.2023.07.12.09.26.08; Wed, 12 Jul 2023 09:26:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=OQ3hvu5a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231819AbjGLPVu (ORCPT + 99 others); Wed, 12 Jul 2023 11:21:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233606AbjGLPVq (ORCPT ); Wed, 12 Jul 2023 11:21:46 -0400 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94BBE1FC2; Wed, 12 Jul 2023 08:21:41 -0700 (PDT) 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 Cc: Conor Dooley , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lukasz Majewski 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 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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>; -- 2.20.1