Skip to content

arm64: meson-g12: enable support for SPIFC

Neil Armstrong linux-amlogic linux-arm-kernel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm64: dts: meson-g12: split emmc pins to select 4 or 8 bus widtharch/arm64/boot/dts/amlogic/meson-g12-common.dtsi arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts +5 more+37 -170 replies
2/4arm64: dts: meson-g12: add the SPIFC nodesarch/arm64/boot/dts/amlogic/meson-g12-common.dtsi+20 -00 replies
3/4arm64: dts: khadas-vim3: add SPIFC controller nodearch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi+20 -00 replies
4/4arm64: dts: meson-g12b-odroid-n2: add SPIFC controller nodearch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts+21 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] arm64: meson-g12: enable support for SPIFC

On the Amlogic G12A and compatible SoCs, the SPI NOR pins are shared with the eMMC data 4 to 7 pins, thus the DT needs some tweaking to allow setting on the data 0 to 3 pins for the eMMC controller to enable the eMMC in the same time as the SPIFC controller.

Since this lowers the performance of the eMMC, the SPIFC is left disabled and intructions to enable the SPIFC controller as added like done for the Khadas VIM2 SPIFC support.

This adds SPI NOR support for Khadas VIM3 boards (S922X, A311A and S905D3) and Odroid-N2 using the same scheme.

Neil Armstrong (4):
arm64: dts: meson-g12: split emmc pins to select 4 or 8 bus width
arm64: dts: meson-g12: add the SPIFC nodes
arm64: dts: khadas-vim3: add SPIFC controller node
arm64: dts: meson-g12b-odroid-n2: add SPIFC controller node

 .../boot/dts/amlogic/meson-g12-common.dtsi    | 60 +++++++++++++++----
 .../boot/dts/amlogic/meson-g12a-sei510.dts    |  2 +-
 .../boot/dts/amlogic/meson-g12a-u200.dts      |  2 +-
 .../boot/dts/amlogic/meson-g12a-x96-max.dts   |  2 +-
 .../boot/dts/amlogic/meson-g12b-odroid-n2.dts | 23 ++++++-
 .../boot/dts/amlogic/meson-g12b-ugoos-am6.dts |  2 +-
 .../boot/dts/amlogic/meson-khadas-vim3.dtsi   | 22 ++++++-
 .../boot/dts/amlogic/meson-sm1-sei610.dts     |  2 +-
 8 files changed, 98 insertions(+), 17 deletions(-)
Signature · 1 line
2.22.0