From fa3eadecab5af7750b24d4d07e22806c159a3261 Mon Sep 17 00:00:00 2001 From: Patrick Yavitz Date: Wed, 9 Oct 2024 09:16:44 -0400 Subject: [PATCH] BananaPi BPI-M4-Zero: `Add pinctrl x32clk_fanout_pin` and fixup Makefile Signed-off-by: Patrick Yavitz --- .../Add-board-BananaPi-BPI-M4-ZERO.patch | 47 +++++++++++++++---- 1 file changed, 38 insertions(+), 9 deletions(-) diff --git a/patch/kernel/archive/sunxi-6.6/patches.armbian/Add-board-BananaPi-BPI-M4-ZERO.patch b/patch/kernel/archive/sunxi-6.6/patches.armbian/Add-board-BananaPi-BPI-M4-ZERO.patch index d000f67243f0..eea3a27c4655 100644 --- a/patch/kernel/archive/sunxi-6.6/patches.armbian/Add-board-BananaPi-BPI-M4-ZERO.patch +++ b/patch/kernel/archive/sunxi-6.6/patches.armbian/Add-board-BananaPi-BPI-M4-ZERO.patch @@ -1,6 +1,6 @@ -From a2634d287d04829aa03fe9fbf555c0ad86f30cda Mon Sep 17 00:00:00 2001 +From 320165c2a023740c4175106364a1065257333b2a Mon Sep 17 00:00:00 2001 From: Patrick Yavitz -Date: Wed, 9 Oct 2024 08:49:02 -0400 +Date: Wed, 9 Oct 2024 09:07:46 -0400 Subject: [PATCH] Add board BananaPi BPI-M4-ZERO sun50i-h618-bananapi-m4-zero.dts @@ -16,17 +16,17 @@ Signed-off-by: Patrick Yavitz create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4.dtsi diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile -index 9fa6a3f1acd1..3256c7616897 100644 +index 040f735b47aa..2d50381b3665 100644 --- a/arch/arm64/boot/dts/allwinner/Makefile +++ b/arch/arm64/boot/dts/allwinner/Makefile -@@ -51,6 +51,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-tanix-tx6.dtb - dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-inovato-quadra.dtb - dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-tanix-tx6-mini.dtb - dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-orangepi-zero2.dtb -+dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h618-bananapi-m4-zero.dtb - dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h618-cherryba-m1.dtb +@@ -54,6 +54,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-orangepi-zero2.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-x96-mate.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-bigtreetech-cb1-sd.dtb + dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h616-bigtreetech-cb1-emmc.dtb ++dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h618-bananapi-m4-zero.dtb + dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h618-orangepi-zero3.dtb + dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h618-orangepi-zero2w.dtb + diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4-zero.dts b/arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4-zero.dts new file mode 100644 index 000000000000..d7c6e0fdf2ff @@ -395,3 +395,32 @@ index 000000000000..f52470634b22 -- 2.39.5 +From 989d9024453b002f3be88d52747447fc68f47b2b Mon Sep 17 00:00:00 2001 +From: Patrick Yavitz +Date: Wed, 9 Oct 2024 09:13:02 -0400 +Subject: [PATCH] Add pinctrl: x32clk_fanout_pin + +Signed-off-by: Patrick Yavitz +--- + arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4.dtsi | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4.dtsi +index f52470634b22..f0f9c95f4a0d 100644 +--- a/arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4.dtsi ++++ b/arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4.dtsi +@@ -184,6 +184,11 @@ &pio { + vcc-pg-supply = <®_dldo1>; + vcc-ph-supply = <®_dldo1>; + vcc-pi-supply = <®_dldo1>; ++ ++ x32clk_fanout_pin: x32clk-fanout-pin { ++ pins = "PG10"; ++ function = "clock"; ++ }; + }; + + &r_i2c { +-- +2.39.5 +