1 From 6cafe647492605d21c2418b6261bf3182b9229f2 Mon Sep 17 00:00:00 2001
2 From: Zahari Petkov <zahari@balena.io>
3 Date: Fri, 8 Feb 2019 13:03:38 +0200
4 Subject: [PATCH] overlays: balenaFin v1.1.0 carrier board update
6 A backward compatible update for the balenaFin carrier board for the
7 Raspberry Pi Compute Module 3/3+ Lite.
9 The updated overlay includes:
10 * support for the newly introduced RGB LEDs
11 * i2c-gpio and SDIO improvements
12 * DT based Marvell 88W8887 configuration
14 Signed-off-by: Zahari Petkov <zahari@balena.io>
16 arch/arm/boot/dts/overlays/README | 2 +-
17 .../boot/dts/overlays/balena-fin-overlay.dts | 46 ++++++++++++++++++-
18 2 files changed, 45 insertions(+), 3 deletions(-)
20 --- a/arch/arm/boot/dts/overlays/README
21 +++ b/arch/arm/boot/dts/overlays/README
22 @@ -472,7 +472,7 @@ Params: swap_lr Reverse
25 Info: Overlay that enables WiFi, Bluetooth and the GPIO expander on the
27 + balenaFin carrier board for the Raspberry Pi Compute Module 3/3+ Lite.
28 Load: dtoverlay=balena-fin
31 --- a/arch/arm/boot/dts/overlays/balena-fin-overlay.dts
32 +++ b/arch/arm/boot/dts/overlays/balena-fin-overlay.dts
34 pinctrl-0 = <&sdio_pins>;
36 brcm,overclock-50 = <35>;
45 - // We should investigate how to switch to mmc-pwrseq-sd8787
46 + // We should switch to mmc-pwrseq-sd8787 after making it
47 + // compatible with sd8887
48 // Currently that module requires two GPIOs to function since it
49 // targets a slightly different chip
50 power_ctrl: power_ctrl {
53 compatible = "i2c-gpio";
54 gpios = <&gpio 43 0 /* sda */ &gpio 42 0 /* scl */>;
55 - i2c-gpio,delay-us = <2>; /* ~100 kHz */
56 + i2c-gpio,delay-us = <5>;
57 + i2c-gpio,scl-open-drain;
58 + i2c-gpio,sda-open-drain;
66 + cfg80211_wext = <0xf>;
69 + cal_data_cfg = "none";
79 + // RGB LEDs (>= v1.1.0)
80 + pca9633: pca9633@62 {
81 + compatible = "nxp,pca9633";
83 + #address-cells = <1>;
89 + linux,default-trigger = "none";
94 + linux,default-trigger = "none";
99 + linux,default-trigger = "none";
104 + linux,default-trigger = "none";