forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore The Creation of SPI overlays for the Allwinner A10 and A20, s…
…o that when used in conjunction with the spidev overlay, the gpio pins are configured in SPI mode
- Loading branch information
Showing
3 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
patch/kernel/archive/sunxi-6.6/patches.armbian/arm-dts-sun4i-a10-reapply-spi-overlays.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Ryzer <[email protected]> | ||
Date: Mon, 12 Aug 2024 00:25:36 +0100 | ||
Subject: Restore Allwinner A10 SPI 0 - 2 overlay creation so that pins can be corrected muxed into | ||
SPI mode | ||
|
||
Signed-off-by: Ryzer <[email protected]> | ||
--- | ||
arch/arm/boot/dts/allwinner/overlay/Makefile | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/arch/arm/boot/dts/allwinner/overlay/Makefile b/arch/arm/boot/dts/allwinner/overlay/Makefile | ||
index 23ecb62e2478..0a1c94e1eb12 100644 | ||
--- a/arch/arm/boot/dts/allwinner/overlay/Makefile | ||
+++ b/arch/arm/boot/dts/allwinner/overlay/Makefile | ||
@@ -5,10 +5,13 @@ dtb-$(CONFIG_MACH_SUN4I) += \ | ||
sun4i-a10-i2c1.dtbo \ | ||
sun4i-a10-i2c2.dtbo \ | ||
sun4i-a10-nand.dtbo \ | ||
sun4i-a10-pps-gpio.dtbo \ | ||
sun4i-a10-pwm.dtbo \ | ||
+ sun4i-a10-spi0.dtbo \ | ||
+ sun4i-a10-spi1.dtbo \ | ||
+ sun4i-a10-spi2.dtbo \ | ||
sun4i-a10-spdif-out.dtbo \ | ||
sun4i-a10-spi-jedec-nor.dtbo \ | ||
sun4i-a10-spi-spidev.dtbo \ | ||
sun4i-a10-uart2.dtbo \ | ||
sun4i-a10-uart3.dtbo \ | ||
-- | ||
Created with Armbian build tools https://github.com/armbian/build | ||
|
31 changes: 31 additions & 0 deletions
31
patch/kernel/archive/sunxi-6.6/patches.armbian/arm-dts-sun7i-a20-reapply-spi-overlays.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Ryzer <[email protected]> | ||
Date: Mon, 12 Aug 2024 00:32:49 +0100 | ||
Subject: Restore Allwinner A20 SPI 0 - 2 overlay creation so that pins can be corrected muxed into | ||
SPI mode | ||
Signed-off-by: Ryzer <[email protected]> | ||
--- | ||
arch/arm/boot/dts/allwinner/overlay/Makefile | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/arch/arm/boot/dts/allwinner/overlay/Makefile b/arch/arm/boot/dts/allwinner/overlay/Makefile | ||
index 0a1c94e1eb12..2e3d756bc429 100644 | ||
--- a/arch/arm/boot/dts/allwinner/overlay/Makefile | ||
+++ b/arch/arm/boot/dts/allwinner/overlay/Makefile | ||
@@ -46,10 +46,13 @@ dtb-$(CONFIG_MACH_SUN7I) += \ | ||
sun7i-a20-i2c4.dtbo \ | ||
sun7i-a20-mmc2.dtbo \ | ||
sun7i-a20-nand.dtbo \ | ||
sun7i-a20-pps-gpio.dtbo \ | ||
sun7i-a20-pwm.dtbo \ | ||
+ sun7i-a20-spi0.dtbo \ | ||
+ sun7i-a20-spi1.dbto \ | ||
+ sun7i-a20-spi2.dbto \ | ||
sun7i-a20-spdif-out.dtbo \ | ||
sun7i-a20-spi-add-cs1.dtbo \ | ||
sun7i-a20-spi-jedec-nor.dtbo \ | ||
sun7i-a20-spi-spidev.dtbo \ | ||
sun7i-a20-uart2.dtbo \ | ||
-- | ||
Created with Armbian build tools https://github.com/armbian/build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters