Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2006183rwd; Mon, 15 May 2023 06:11:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4BJlkAOfOh+8x2W2uQCaADlWW+hXXrj703KAe/0TkTa4VlhOM578uP3nxLyNJUPapU9cQB X-Received: by 2002:a54:4687:0:b0:38e:76c8:39b with SMTP id k7-20020a544687000000b0038e76c8039bmr10667075oic.0.1684156299354; Mon, 15 May 2023 06:11:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684156299; cv=none; d=google.com; s=arc-20160816; b=JXcn4rpcjmtclAiSrafTepdPhvm1OsCGo1Nj4ByU4+u4IJGtu36/IHzMuDcj6c6w98 6PKAxcR9Jw0Q2DMFfQ/YxN+zc2OaCdUf1sabNvpRSyyiIWEgM/1707hFr1qqeWHNZKAh 5hmWTKJ5gYs5rfFWDiW4S43MeQ6KorgUbx1vTJ2x7OCBCpktlEzgCBg5Z3FnWWeca0BV jGclItQT+/nuLlALSmcWCKSXYnKsegE+kgF2qGiQYr/+3VHrY7hDy/MJ+gR/AsnxHqis 5KHOd1xgF7uLpP2Q1EfA3OsU8fgoSzZ0CHHbx6sxyhWlbg2m7n5OWYPWQJVyrt0c+q0w ZeOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=bHrRwJZNmR4vO/RyDtfQTesrckzCKnVFHgmO5Rc+8Yc=; b=nPo8qjX4ocX8gDIBlOTbxHxEQu9J22L7DmocCORgIVXJPcLf496PJ2i3++6BJPdpb8 fJCv9NXEChmTwXCPvrYvAV9hJWTntyV/E4jwe+8pss8kz2EgoywDcmok7M9yd9d24SPg h22tYO5XL11eTMuwKofip3RYkM+OCvr5yuI25dQcivnOO+UBLqK4ZU/lBLeu3WSOp4jO jHcQE3pl8Gmcyn6y0+MfvVO4ezLGkVnR+FOyM2lphSNIoA5+8IAD3WubptRnRmoV8yr+ JSgwoDMRfRiFWxgk4cuq10NvP6+OfsL0sNPMlsUVxki4Lkf0+ZfPqQt4SzGdoi1Sjdwf rxWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TULdDFG0; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v132-20020acade8a000000b0038e9d9e2f51si9855319oig.304.2023.05.15.06.11.25; Mon, 15 May 2023 06:11:39 -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=@linaro.org header.s=google header.b=TULdDFG0; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242114AbjEONEt (ORCPT + 99 others); Mon, 15 May 2023 09:04:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242102AbjEONEf (ORCPT ); Mon, 15 May 2023 09:04:35 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70DC11FDE for ; Mon, 15 May 2023 06:04:33 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2ac826a1572so131268111fa.0 for ; Mon, 15 May 2023 06:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684155871; x=1686747871; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=bHrRwJZNmR4vO/RyDtfQTesrckzCKnVFHgmO5Rc+8Yc=; b=TULdDFG0A6XCg1kPrRqYeAen4Sup0En+HIRYQ5hbebwHu1yf8R7/rtfpcG4CAHErU3 aYl/HJQ/sMM8/wZhPoKAVm7bTzWOFfIOOalAlT5aFCYhwwzsrwQkuIw8NK5SAbdTpAWO EaQFBIPZh9i580piap/E3+oZYEmDnXQq5wmfHASe8feZ8b7dQ9q12htNNYd9PzHt4AnC g+JaEvIzthgz91G+JgGQt4tRSprLzbKO6x2vx699+lGSrb8hiDgnM2C8B8OsSpOAdv+E 4BJgb5yO4M1DnCUlx/T+OZMn1P95Nd+QrR4BS4TfiEo+XR3UbKq2xocXBkGxFdbXrOSd VDEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684155871; x=1686747871; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bHrRwJZNmR4vO/RyDtfQTesrckzCKnVFHgmO5Rc+8Yc=; b=hpis/RzcOnT7CTfFLFk21PYGthKPcjagw8LcdovC2e7+xueEq0Fl398He89HwGHq3r iA+lwqMTqLSaD9daBfYdY4TkeL15UHcbwK4yUUBSFun+miNigV51n62Bd4xz56DXqABy J9z2A9hPXC6CTEvN/5ur3gVP5CrvwW7Hv3zSoptIMRRij5H2/4+1mGnWhnlZRloFhoAS 5peDCty+29uIGnX3QhIpifyjJM8r14z1xSgvU1nE4nXpn4TRLWPCrDnxY+qxEyrJM6kL pnJUzLOhtbirAIik9SQkOQpkE3ysx6DLv/Ki3J8HlI4RWUCNj8jeVi7Sv9HlbIgBFB96 zufg== X-Gm-Message-State: AC+VfDze2bnWiNsQmObT92yXUMAvPAIuGU+hX3IPemdgnmmHSKnwMvHu 6Eb3hynp/4Stwnr3kta6CgcF1Q== X-Received: by 2002:a05:6512:507:b0:4f1:4fe6:56c8 with SMTP id o7-20020a056512050700b004f14fe656c8mr6621241lfb.34.1684155871779; Mon, 15 May 2023 06:04:31 -0700 (PDT) Received: from [192.168.1.101] (abxi58.neoplus.adsl.tpnet.pl. [83.9.2.58]) by smtp.gmail.com with ESMTPSA id x27-20020ac25ddb000000b004f37a64c90asm785823lfq.303.2023.05.15.06.04.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 06:04:31 -0700 (PDT) From: Konrad Dybcio Date: Mon, 15 May 2023 15:04:16 +0200 Subject: [PATCH 5/5] arm64: dts: qcom: qrb4210-rb2: Enable CAN bus controller MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230515-topic-rb2-bits-v1-5-a52d154a639d@linaro.org> References: <20230515-topic-rb2-bits-v1-0-a52d154a639d@linaro.org> In-Reply-To: <20230515-topic-rb2-bits-v1-0-a52d154a639d@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bhupesh Sharma Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1684155864; l=1168; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=AZ/Op7kTNY+Rd0mmluqshowmHdxgH+CEwOfMytzuYpc=; b=DEY+Mv6nuwLuNQ4u5dz5EePSZ+OYPbGN8uNJUATj+7/wFqrdDqLdjyIFL4gBsQyfocto3ryMk Zbl9P6UpJezD3Sps80bAaZF8kALbz3Njwpj6o1ocYvgbT4rPHNwngcM X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Enable the Microchip mcp2518fd hosted on the SPI5 bus. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts index 224c96bba35f..e2e82dd83c55 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -20,6 +20,14 @@ chosen { stdout-path = "serial0:115200n8"; }; + clocks { + clk40M: can-clk { + compatible = "fixed-clock"; + clock-frequency = <40000000>; + #clock-cells = <0>; + }; + }; + hdmi-connector { compatible = "hdmi-connector"; type = "a"; @@ -415,6 +423,20 @@ &sdhc_2 { status = "okay"; }; +&spi5 { + status = "okay"; + + can@0 { + compatible = "microchip,mcp2518fd"; + reg = <0>; + interrupts-extended = <&tlmm 39 IRQ_TYPE_LEVEL_LOW>; + clocks = <&clk40M>; + spi-max-frequency = <10000000>; + vdd-supply = <&vdc_5v>; + xceiver-supply = <&vdc_5v>; + }; +}; + &sleep_clk { clock-frequency = <32000>; }; -- 2.40.1