Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3158833rdh; Mon, 27 Nov 2023 07:38:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXHtnbjzgU+YTVRQfCVcLkW3Tv0AqUFIMvnEnJ3UMcWUYxtN/aUrDTArqQI3ApwUpoUfj6 X-Received: by 2002:a05:6a00:1402:b0:68e:3f0b:5e6f with SMTP id l2-20020a056a00140200b0068e3f0b5e6fmr11562800pfu.24.1701099512779; Mon, 27 Nov 2023 07:38:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701099512; cv=none; d=google.com; s=arc-20160816; b=fbIBMURUS7napf43ScCR/b1C4WC1oKdMGy7o/qej7IohAMftABnIOFe4c0wk6jLrCQ ext8OymlXUw/mA0XblgAf2VSgiCrkeawfhUswrbTAsXP6eAH2UBj4uHb1nlbtUFB8rEP 3s6P5LRRgNinN+oo82lufXeXmbgBe74TFbeMFBoNDMJHM5WnaPbXyOQeWfl0tTh+EZCF bLjXUh8uo7STAfhpX7G9bEnHEBP/DHgXDY4bRKveskt2nPx6nx/h5Q7WZaDSnWIHSIcO jfGhQhuDKeWj2bW+zrDIWiLrIrkD3PXhfqosS//oqT50MxhBG4RGmgOPUj4ytkDR5wxp JPfA== 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=YptWvF1sLLHvvXfICRwlDYacILHWf1Qs1ovKRND9MmY=; fh=9kk1b97t5E1IrS441vwb7g0C8HqHeoqsAYjLwfbyq0A=; b=lDJeUFIXOUIZ71RR1D6Pb/CHu/7PeZqjPC4tWFIPXKnXN29vrWWlPCafEaRV0QhV9G Vg66qt2pQ7v1228+9hb+BD5PgCuI9BOe/fDM3mO0S9lQ6GdWyIG2HUQ6ycvk1zzlyKKW Qx+tczKe9z57J2F+e2Spdrgn0Oc9V2WATXkBNXdC0pis6nuHMx03KE3BabFFo0ALWrSi ROIvUi1U6HU/dglB8Tz3BuPdfuTXlu7afQlR6PSw0RzLpvU3vUbCRt+SRM4z0kgxMQul t8ljlTk6IMqewKBdSF81JFyJVK9wqQGokbGTpPwczNEZUvd5BEQrVjlLSnzk/C+kDx8u F1EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bg56pN5W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id q21-20020a056a00151500b0068fa57cc15bsi10113351pfu.124.2023.11.27.07.38.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:38:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bg56pN5W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 22BE78059792; Mon, 27 Nov 2023 07:38:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233986AbjK0PiI (ORCPT + 99 others); Mon, 27 Nov 2023 10:38:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233774AbjK0PiF (ORCPT ); Mon, 27 Nov 2023 10:38:05 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CAB9D63 for ; Mon, 27 Nov 2023 07:29:31 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50abbb23122so5681403e87.3 for ; Mon, 27 Nov 2023 07:29:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701098968; x=1701703768; darn=vger.kernel.org; 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=YptWvF1sLLHvvXfICRwlDYacILHWf1Qs1ovKRND9MmY=; b=bg56pN5WJ6w2J6mfgkyuoAGjPA9hs/37umthaKS1dxTaFxfh49VvqAPn3NIi0KxRQD 834bL2RpU2jpfu3WaYBodnwmcKJvOffVfaR67BrhLsobetg99IWp8S2HS//9ucG2U907 6isSBLMMgBFsflZdNYxfH9apbhpRkN7uuW+5Fq4+j2ScuAJ/FiajidNMWQbeRUVZ6PiV IxH3Ep4JnvhMGnTmLKg/hWLir8lBJSTDQJFc8QS6g8vEQvOjKToQzNwWxWOQSTcRJTFj FOHWdzKb/gWog5F6GF5/bDQL+QLmqkLkor2tCTcGnqzImRmbbioS8MmdNEt/khiO/rv9 j6Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701098968; x=1701703768; 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=YptWvF1sLLHvvXfICRwlDYacILHWf1Qs1ovKRND9MmY=; b=r7yjdnaEaVTcbdOB8hbOgNevYnPi+qZUq3y136AG9KReJhceEKZnSppFJGlwzAa0wm OMMqTWeduc1PGHEM6gtSct6ukgMNA5la0kyHBLLwTS1OR0UZRtshXpaBNRL3Anh7m99y UVBbHG3OEp+UnOufX/+lKRAtYnBUa0K4JdFCDUxXjUV5qnHzWVrdmreAyKRfwQSDjiZp L/T1Wusn4C+hWivN0z2w2vvO6kZf2xPFjyt0XEqLpto/WtY6Msryvs7IwyhejQ7T5BKN IOkoX4BlMnBx+hkI9WcK1u9S0JZSeGMURbuizCld03FK7cAJ/lVKbcutf0GNHhqOb7Ip j3ow== X-Gm-Message-State: AOJu0YyROG7qhc5aKbQwBBZSnOU2TRIrgbuyurucsdwbOVoSVru6aOpO 0b2YvFYmTlPC5pZwPTnJKdb7OQ== X-Received: by 2002:ac2:428a:0:b0:50b:aa88:c54e with SMTP id m10-20020ac2428a000000b0050baa88c54emr4234752lfh.16.1701098967944; Mon, 27 Nov 2023 07:29:27 -0800 (PST) Received: from [10.167.154.1] (178235187180.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.180]) by smtp.gmail.com with ESMTPSA id e7-20020a056402104700b00542db304680sm5321002edu.63.2023.11.27.07.29.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:29:27 -0800 (PST) From: Konrad Dybcio Date: Mon, 27 Nov 2023 16:28:51 +0100 Subject: [PATCH v2 11/12] arm64: dts: qcom: qrb2210-rb1: Enable CAN bus controller MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231125-topic-rb1_feat-v2-11-979b28f35e4a@linaro.org> References: <20231125-topic-rb1_feat-v2-0-979b28f35e4a@linaro.org> In-Reply-To: <20231125-topic-rb1_feat-v2-0-979b28f35e4a@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Loic Poulain , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Krzysztof Kozlowski , Georgi Djakov , Will Deacon , Robin Murphy , Joerg Roedel , Krishna Manikandan , Robert Marko , Das Srinagesh , cros-qcom-dts-watchers@chromium.org Cc: Marijn Suijten , Rob Herring , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701098925; l=1186; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=JMbrDi2bxn7DXN0vpomcpuwaGp6goPBlt7d60Jxny0w=; b=0VzzU3nfCmJFD+gJXkaGnr4+zZVv+j1inpmS8tB7INAL8zVPNzqIYZ7zmhyZrAJlH4oEekE9Q +wduaJ8UzpkDuxe2KKgwcAvZ4AcAIKJVm/tTKiG1TisQfEGVZrHXPTQ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 27 Nov 2023 07:38:30 -0800 (PST) Enable the Microchip mcp2518fd hosted on the SPI5 bus. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts index ac6584164058..ac597eb3fe9d 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts @@ -23,6 +23,14 @@ chosen { stdout-path = "serial0:115200n8"; }; + clocks { + clk40M: can-clk { + compatible = "fixed-clock"; + clock-frequency = <40000000>; + #clock-cells = <0>; + }; + }; + gpio-keys { compatible = "gpio-keys"; label = "gpio-keys"; @@ -449,6 +457,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>; + }; +}; + &tlmm { lt9611_rst_pin: lt9611-rst-state { pins = "gpio41"; -- 2.43.0