openwrt/target/linux/bcm27xx/patches-5.4/950-1041-overlays-seeed-can-fd-hat-clarify-how-to-identify-HA.patch
Álvaro Fernández Rojas 62b7f5931c bcm27xx: import latest patches from the RPi foundation
bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G
bcm2710: boot tested on RPi 3B v1.2
bcm2711: boot tested on RPi 4B v1.1 4G

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry-picked from commit f07e572f64)
2021-02-19 07:17:21 +01:00

46 lines
1.8 KiB
Diff

From 426116286821ed9ce10e415ffdebb2c55e728050 Mon Sep 17 00:00:00 2001
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Sat, 9 Jan 2021 17:03:32 +0100
Subject: [PATCH] overlays: seeed-can-fd-hat: clarify how to identify
HAT version
It turns out the used CAN SPI chip is not a good way to identify the version of
the CAN HAT.
There are two different board layouts of the Seeed Studio CAN BUS FD HAT. The
v1 board doesn't have a battery holder, while the v2 board has. Update the
overlay README accordinly.
Link: https://github.com/Seeed-Studio/seeed-linux-dtoverlays/issues/13
Cc: Patrick Menschel <menschel.p@posteo.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
arch/arm/boot/dts/overlays/README | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -2461,16 +2461,18 @@ Load: <Deprecated>
Name: seeed-can-fd-hat-v1
-Info: Overlay for Seeed Studio CAN BUS FD HAT with two CAN FD channels
- (based on the mcp2517fd).
+Info: Overlay for Seeed Studio CAN BUS FD HAT with two CAN FD
+ channels without RTC. Use this overlay if your HAT has no
+ battery holder.
https://www.seeedstudio.com/2-Channel-CAN-BUS-FD-Shield-for-Raspberry-Pi-p-4072.html
Load: dtoverlay=seeed-can-fd-hat-v1
Params: <None>
Name: seeed-can-fd-hat-v2
-Info: Overlay for Seeed Studio CAN BUS FD HAT with two CAN FD channels
- (based on the mcp2518fd) and an RTC.
+Info: Overlay for Seeed Studio CAN BUS FD HAT with two CAN FD
+ channels and an RTC. Use this overlay if your HAT has a
+ battery holder.
https://www.seeedstudio.com/CAN-BUS-FD-HAT-for-Raspberry-Pi-p-4742.html
Load: dtoverlay=seeed-can-fd-hat-v2
Params: <None>