openwrtv4/target/linux/brcm2708/patches-4.1/0191-BCM270X_DT-Document-SMI-overlay.patch
John Crispin d4b8d51580 brcm2708: update 4.1 patches
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47922
2015-12-17 09:29:22 +00:00

59 lines
2 KiB
Diff

From 4dd07876e2f9dec34ba65fed4dc64394802a05b8 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 16 Sep 2015 17:28:41 +0100
Subject: [PATCH 191/222] BCM270X_DT: Document SMI overlay
---
arch/arm/boot/dts/overlays/Makefile | 6 +++---
arch/arm/boot/dts/overlays/README | 18 ++++++++++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
--- a/arch/arm/boot/dts/overlays/Makefile
+++ b/arch/arm/boot/dts/overlays/Makefile
@@ -13,9 +13,6 @@ ifeq ($(CONFIG_ARCH_BCM2835),y)
endif
dtb-$(RPI_DT_OVERLAYS) += ads7846-overlay.dtb
-dtb-$(RPI_DT_OVERLAYS) += smi-overlay.dtb
-dtb-$(RPI_DT_OVERLAYS) += smi-dev-overlay.dtb
-dtb-$(RPI_DT_OVERLAYS) += smi-nand-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += dht11-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += enc28j60-overlay.dtb
@@ -48,6 +45,9 @@ dtb-$(RPI_DT_OVERLAYS) += rpi-proto-over
dtb-$(RPI_DT_OVERLAYS) += rpi-sense-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += sdhost-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += sdio-overlay.dtb
+dtb-$(RPI_DT_OVERLAYS) += smi-dev-overlay.dtb
+dtb-$(RPI_DT_OVERLAYS) += smi-nand-overlay.dtb
+dtb-$(RPI_DT_OVERLAYS) += smi-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += spi-bcm2708-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += spi-bcm2835-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += spi-dma-overlay.dtb
--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -530,6 +530,24 @@ Params: overclock_50 Clock (
debug Enable debug output (default off)
+Name: smi
+Info: Enables the Secondary Memory Interface peripheral. Uses GPIOs 2-25!
+Load: dtoverlay=smi
+Params: <None>
+
+
+Name: smi-dev
+Info: Enables the userspace interface for the SMI driver
+Load: dtoverlay=smi-dev
+Params: <None>
+
+
+Name: smi-nand
+Info: Enables access to NAND flash via the SMI interface
+Load: dtoverlay=smi-nand
+Params: <None>
+
+
Name: spi-bcm2708
Info: Selects the bcm2708-spi SPI driver
Load: dtoverlay=spi-bcm2708