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.
- Loading branch information
1 parent
032da34
commit 3dd634a
Showing
7 changed files
with
194 additions
and
0 deletions.
There are no files selected for viewing
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,14 @@ | ||
# Allwinner H6 quad core 2GB SoC WiFi eMMC | ||
BOARD_NAME="Inovato Quadra" | ||
BOARDFAMILY="sun50iw6" | ||
BOARD_MAINTAINER="" | ||
BOOTCONFIG="tanix_tx6_defconfig" | ||
CRUSTCONFIG="tanix_tx6_defconfig" | ||
BOOT_FDT_FILE="allwinner/sun50i-h6-inovato-quadra.dtb" | ||
KERNEL_TARGET="current,edge" | ||
KERNEL_TEST_TARGET="current,edge" | ||
BOOT_LOGO="desktop" | ||
FULL_DESKTOP="yes" | ||
SRC_EXTLINUX="yes" | ||
SRC_CMDLINE="console=ttyS0,115200 console=tty0 mem=2048M video=HDMI-A-1:e" | ||
OFFSET=16 |
88 changes: 88 additions & 0 deletions
88
...ernel/archive/sunxi-6.1/patches.armbian/arm64-dts-add-wifi-nodes-for-Inovato-Quadra.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,88 @@ | ||
From 40ec552ecc7efdd9056dde65fa7429e917ff6c5b Mon Sep 17 00:00:00 2001 | ||
From: Gunjan Gupta <[email protected]> | ||
Date: Tue, 19 Sep 2023 11:06:01 +0000 | ||
Subject: [PATCH] Add wifi nodes for Inovato Quadra | ||
|
||
--- | ||
arch/arm64/boot/dts/allwinner/Makefile | 1 + | ||
.../allwinner/sun50i-h6-inovato-quadra.dts | 56 +++++++++++++++++++ | ||
2 files changed, 57 insertions(+) | ||
create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-innovato-quadra.dts | ||
|
||
diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile | ||
index 4d0c4843b21c..0275884b73e1 100644 | ||
--- a/arch/arm64/boot/dts/allwinner/Makefile | ||
+++ b/arch/arm64/boot/dts/allwinner/Makefile | ||
@@ -52,6 +52,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb | ||
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb | ||
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-model-b.dtb | ||
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-h616-x96-mate.dtb | ||
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-inovato-quadra.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-inovato-quadra.dts | ||
new file mode 100644 | ||
index 000000000000..1036e9896ff9 | ||
--- /dev/null | ||
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-inovato-quadra.dts | ||
@@ -0,0 +1,56 @@ | ||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
+// Copyright (c) 2023 Gunjan Gupta <[email protected]> | ||
+ | ||
+/dts-v1/; | ||
+ | ||
+#include "sun50i-h6-tanix.dtsi" | ||
+ | ||
+/ { | ||
+ model = "Inovato Quadra"; | ||
+ compatible = "oranth,inovato-quadra", "allwinner,sun50i-h6"; | ||
+ | ||
+ aliases { | ||
+ ethernet1 = &xr819; | ||
+ }; | ||
+ | ||
+ leds { | ||
+ compatible = "gpio-leds"; | ||
+ | ||
+ led-0 { | ||
+ label = "red"; | ||
+ gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ | ||
+ }; | ||
+ | ||
+ led-1 { | ||
+ label = "blue"; | ||
+ gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */ | ||
+ default-state = "on"; | ||
+ }; | ||
+ }; | ||
+}; | ||
+ | ||
+&i2s1 { | ||
+ status = "okay"; | ||
+}; | ||
+ | ||
+&mmc1 { | ||
+ pinctrl-names = "default"; | ||
+ pinctrl-0 = <&mmc1_pins>; | ||
+ | ||
+ xr819: sdio_wifi@1 { | ||
+ compatible = "xradio,xr819"; | ||
+ interrupt-names = "host-wake"; | ||
+ interrupt-parent = <&r_pio>; | ||
+ interrupts = <1 0 IRQ_TYPE_EDGE_RISING>; | ||
+ local-mac-address = [dc 44 6d c0 ff ee]; | ||
+ reg = <1>; | ||
+ }; | ||
+}; | ||
+ | ||
+&sound_hdmi { | ||
+ status = "okay"; | ||
+}; | ||
+ | ||
+&wifi_pwrseq { | ||
+ post-power-on-delay-ms = <0xc8>; | ||
+}; | ||
-- | ||
2.34.1 | ||
|
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
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
88 changes: 88 additions & 0 deletions
88
...ernel/archive/sunxi-6.5/patches.armbian/arm64-dts-add-wifi-nodes-for-Inovato-Quadra.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,88 @@ | ||
From 40ec552ecc7efdd9056dde65fa7429e917ff6c5b Mon Sep 17 00:00:00 2001 | ||
From: Gunjan Gupta <[email protected]> | ||
Date: Tue, 19 Sep 2023 11:06:01 +0000 | ||
Subject: [PATCH] Add wifi nodes for Inovato Quadra | ||
|
||
--- | ||
arch/arm64/boot/dts/allwinner/Makefile | 1 + | ||
.../allwinner/sun50i-h6-inovato-quadra.dts | 56 +++++++++++++++++++ | ||
2 files changed, 57 insertions(+) | ||
create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-innovato-quadra.dts | ||
|
||
diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile | ||
index 4d0c4843b21c..0275884b73e1 100644 | ||
--- a/arch/arm64/boot/dts/allwinner/Makefile | ||
+++ b/arch/arm64/boot/dts/allwinner/Makefile | ||
@@ -52,6 +52,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb | ||
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb | ||
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-model-b.dtb | ||
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-h616-x96-mate.dtb | ||
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-inovato-quadra.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-inovato-quadra.dts | ||
new file mode 100644 | ||
index 000000000000..1036e9896ff9 | ||
--- /dev/null | ||
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-inovato-quadra.dts | ||
@@ -0,0 +1,56 @@ | ||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
+// Copyright (c) 2023 Gunjan Gupta <[email protected]> | ||
+ | ||
+/dts-v1/; | ||
+ | ||
+#include "sun50i-h6-tanix.dtsi" | ||
+ | ||
+/ { | ||
+ model = "Inovato Quadra"; | ||
+ compatible = "oranth,inovato-quadra", "allwinner,sun50i-h6"; | ||
+ | ||
+ aliases { | ||
+ ethernet1 = &xr819; | ||
+ }; | ||
+ | ||
+ leds { | ||
+ compatible = "gpio-leds"; | ||
+ | ||
+ led-0 { | ||
+ label = "red"; | ||
+ gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ | ||
+ }; | ||
+ | ||
+ led-1 { | ||
+ label = "blue"; | ||
+ gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */ | ||
+ default-state = "on"; | ||
+ }; | ||
+ }; | ||
+}; | ||
+ | ||
+&i2s1 { | ||
+ status = "okay"; | ||
+}; | ||
+ | ||
+&mmc1 { | ||
+ pinctrl-names = "default"; | ||
+ pinctrl-0 = <&mmc1_pins>; | ||
+ | ||
+ xr819: sdio_wifi@1 { | ||
+ compatible = "xradio,xr819"; | ||
+ interrupt-names = "host-wake"; | ||
+ interrupt-parent = <&r_pio>; | ||
+ interrupts = <1 0 IRQ_TYPE_EDGE_RISING>; | ||
+ local-mac-address = [dc 44 6d c0 ff ee]; | ||
+ reg = <1>; | ||
+ }; | ||
+}; | ||
+ | ||
+&sound_hdmi { | ||
+ status = "okay"; | ||
+}; | ||
+ | ||
+&wifi_pwrseq { | ||
+ post-power-on-delay-ms = <0xc8>; | ||
+}; | ||
-- | ||
2.34.1 | ||
|
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
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