From: Potin Lai <potin.lai@quantatw.com>
To: openbmc@lists.ozlabs.org, joel@jms.id.au
Cc: Potin Lai <potin.lai@quantatw.com>
Subject: [PATCH linux dev-5.15 05/10] arch: arm: dts: bletchley: switch to spi-gpio for spi2
Date: Fri, 11 Feb 2022 09:57:50 +0800 [thread overview]
Message-ID: <20220211015755.27644-6-potin.lai@quantatw.com> (raw)
In-Reply-To: <20220211015755.27644-1-potin.lai@quantatw.com>
Switch to spi-gpio driver to avoid unstable signal issue with EVT HW
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
---
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
index b01f1e7adb81..3c54e4a892c9 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
@@ -227,8 +227,16 @@
&spi2 {
status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_spi2_default>;
+
+ compatible = "spi-gpio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ gpio-sck = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>;
+ gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>;
+ gpio-miso = <&gpio0 ASPEED_GPIO(X, 5) GPIO_ACTIVE_HIGH>;
+ num-chipselects = <1>;
+ cs-gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>;
flash@0 {
status = "okay";
--
2.17.1
next prev parent reply other threads:[~2022-02-11 2:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-11 1:57 [PATCH linux dev-5.15 00/10] arch: arm: dts: update Facebook Bletchley BMC Potin Lai
2022-02-11 1:57 ` [PATCH linux dev-5.15 01/10] arch: arm: dts: bletchley: switch sled numbering to 1-based Potin Lai
2022-02-11 1:57 ` [PATCH linux dev-5.15 02/10] arch: arm: dts: bletchley: separate leds into multiple groups Potin Lai
2022-02-11 1:57 ` [PATCH linux dev-5.15 03/10] arch: arm: dts: bletchley: update gpio-line-names Potin Lai
2022-02-11 1:57 ` [PATCH linux dev-5.15 04/10] arch: arm: dts: bletchley: update fmc configurations Potin Lai
2022-02-11 1:57 ` Potin Lai [this message]
2022-02-11 1:57 ` [PATCH linux dev-5.15 06/10] arch: arm: dts: bletchley: add interrupt support for sled io expander Potin Lai
2022-02-11 1:57 ` [PATCH linux dev-5.15 07/10] arch: arm: dts: bletchley: add shunt-resistor for ADM1278 Potin Lai
2022-02-11 1:57 ` [PATCH linux dev-5.15 08/10] arch: arm: dts: bletchley: add INA230 sensor on each sled Potin Lai
2022-02-11 1:57 ` [PATCH linux dev-5.15 09/10] arch: arm: dts: bletchley: enable mdio3 bus Potin Lai
2022-02-11 1:57 ` [PATCH linux dev-5.15 10/10] arch: arm: dts: bletchley: cleanup redundant node Potin Lai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220211015755.27644-6-potin.lai@quantatw.com \
--to=potin.lai@quantatw.com \
--cc=joel@jms.id.au \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).