From nobody Fri Dec 19 20:12:12 2025 Received: from mxout2.routing.net (mxout2.routing.net [134.0.28.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96D6827A92D; Fri, 16 May 2025 18:02:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.0.28.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747418530; cv=none; b=AOULgIPeIjhM19wXPKGYk6ihmOzJk8OxkBYUgQfZQdb78ERerX/eFlbDr9crrSC9V1CJ1sfv5hMYpXA42l700+wazkVqxH8ha1M2HfKKwnAL7KPKzihxQKtljYZHWyz/fHjGUvRcTWzAi5arlqKpWJrNWDt0iGiOnfJZD3pO9vY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747418530; c=relaxed/simple; bh=nakto6eBnS7XB3h2uW6tF96FTqJeGdV6UI6xLNwEff0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=g7ITjPECZ8N+oI9UhuugC4nlwXmOalPljirJD5dt6qKkAeFgZAToN9MSvzCDrYgXuJJcgTNqoETQ3CKJxHvYONQv15Tn8gQgOCUXr/gauVdM1b+DMgueVD6QsIbqp7H//E9d4jMdJIi6l6lFqRgAw25tQB4oJzXChV1xq0oUdPo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de; spf=pass smtp.mailfrom=fw-web.de; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b=KEvVhNEl; arc=none smtp.client-ip=134.0.28.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fw-web.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b="KEvVhNEl" Received: from mxbulk.masterlogin.de (unknown [192.168.10.85]) by mxout2.routing.net (Postfix) with ESMTP id 398FF60118; Fri, 16 May 2025 18:01:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1747418519; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dMZqMGVcj6H/oEU0P+lJZaqYYUPQfaVOeuvmcUtKyWg=; b=KEvVhNElBe0MLEKw/ksVNaxjMBHTxQLNLUIkIk/kQMhzMlTbLVWd9kh+EbyQn+2/yAOjA+ g/vtHcstE4SoQXdTSoPsjALr1ItBrPheniA+W4d3J2FI5TXReWMwbr2BC1ZcmRg0JC/Hqz Px8+VuWqlItAPxH7cMNCy5kY+BlW4bU= Received: from frank-u24.. (fttx-pool-157.180.226.139.bambit.de [157.180.226.139]) by mxbulk.masterlogin.de (Postfix) with ESMTPSA id DE01B1226C1; Fri, 16 May 2025 18:01:58 +0000 (UTC) From: Frank Wunderlich To: Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: Frank Wunderlich , =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= , Landen Chao , DENG Qingfang , Sean Wang , Daniel Golle , Lorenzo Bianconi , Felix Fietkau , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 11/14] arm64: dts: mediatek: mt7988a-bpi-r4: configure spi-nodes Date: Fri, 16 May 2025 20:01:42 +0200 Message-ID: <20250516180147.10416-13-linux@fw-web.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250516180147.10416-1-linux@fw-web.de> References: <20250516180147.10416-1-linux@fw-web.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Frank Wunderlich Configure and enable SPI nodes on Bananapi R4 board. Signed-off-by: Frank Wunderlich --- .../dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi b/ar= ch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi index c6f84de82a4d..81ba045e0e0e 100644 --- a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi @@ -401,6 +401,38 @@ &serial0 { status =3D "okay"; }; =20 +&spi0 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&spi0_flash_pins>; + status =3D "okay"; + + spi_nand: flash@0 { + compatible =3D "spi-nand"; + reg =3D <0>; + spi-max-frequency =3D <52000000>; + spi-tx-bus-width =3D <4>; + spi-rx-bus-width =3D <4>; + }; +}; + +&spi1 { + status =3D "okay"; +}; + +&spi_nand { + partitions { + compatible =3D "fixed-partitions"; + #address-cells =3D <1>; + #size-cells =3D <1>; + + partition@0 { + label =3D "bl2"; + reg =3D <0x0 0x200000>; + read-only; + }; + }; +}; + &ssusb1 { status =3D "okay"; }; --=20 2.43.0