mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Compare commits
1 Commits
coderabbit
...
AR-1487-fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f9c406c39 |
12
config/boards/inovato-quadra.tvb
Normal file
12
config/boards/inovato-quadra.tvb
Normal file
@@ -0,0 +1,12 @@
|
||||
# Inovato Quadra Allwinner H6 TV box
|
||||
BOARD_NAME="Inovato Quadra"
|
||||
BOARDFAMILY="sun50iw6"
|
||||
BOOTCONFIG="inovato_quadra_defconfig"
|
||||
KERNEL_TARGET="legacy"
|
||||
FULL_DESKTOP="yes"
|
||||
ATFBRANCH="tag:v2.2"
|
||||
BOOT_LOGO="desktop"
|
||||
BOOT_FDT_FILE="allwinner/sun50i-h6-inovato-quadra.dtb"
|
||||
SRC_EXTLINUX="yes"
|
||||
SRC_CMDLINE="console=ttyS0,115200 console=tty0 mem=2048M video=HDMI-A-1:e"
|
||||
OFFSET=16
|
||||
File diff suppressed because it is too large
Load Diff
@@ -200,3 +200,4 @@
|
||||
patches.armbian/999-rollback-rsb.patch
|
||||
patches.armbian/net-usb-r8152-add-LED-configuration-from-OF.patch
|
||||
patches.armbian/Orangepi_one_plus_Rollback-r_rsb-to-r_i2c.patch
|
||||
patches.armbian/arm64-dts-Add-sun50i-h6-inovato-quadra.patch
|
||||
|
||||
@@ -676,3 +676,4 @@
|
||||
patches.armbian/arm-dts-sun8i-r40-add-nodes-for-audio-codec.patch
|
||||
patches.armbian/arm-dts-sun8i-r40-bananapi-m2-ultra-enable-audio-codec.patch
|
||||
patches.armbian/arm-dts-sun8i-v40-bananapi-m2-berry-enable-audio-codec.patch
|
||||
patches.armbian/arm64-dts-Add-sun50i-h6-inovato-quadra.patch
|
||||
|
||||
@@ -0,0 +1,97 @@
|
||||
diff --git a/arch/arm/dts/sun50i-h6-inovato-quadra.dts b/arch/arm/dts/sun50i-h6-inovato-quadra.dts
|
||||
new file mode 100644
|
||||
index 0000000000..8dee7de927
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/dts/sun50i-h6-inovato-quadra.dts
|
||||
@@ -0,0 +1,61 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+// Copyright (c) 2023 Igor Pecovnik <igor@armbian.com>
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "sun50i-h6-tanix.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ model = "Inovato Quadra";
|
||||
+ compatible = "oranth,tanix-tx6", "allwinner,sun50i-h6";
|
||||
+
|
||||
+ aliases {
|
||||
+ ethernet0 = &emac;
|
||||
+ serial0 = &uart0;
|
||||
+ };
|
||||
+
|
||||
+};
|
||||
+
|
||||
+&emac {
|
||||
+ phy-mode = "rmii";
|
||||
+ phy-handle = <&ext_rmii_phy>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&dwc3 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&r_ir {
|
||||
+ linux,rc-map-name = "rc-tanix-tx5max";
|
||||
+};
|
||||
+
|
||||
+&mdio {
|
||||
+ ext_rmii_phy: ethernet-phy@1 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c22";
|
||||
+ reg = <1>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&uart1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
|
||||
+ uart-has-rtscts;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ bluetooth {
|
||||
+ compatible = "realtek,rtl8822cs-bt";
|
||||
+ device-wake-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
|
||||
+ host-wake-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */
|
||||
+ enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */
|
||||
+ };
|
||||
+
|
||||
+ reg_vcc5v: vcc5v {
|
||||
+ /* board wide 5V supply directly from the DC jack */
|
||||
+ compatible = "regulator-fixed";
|
||||
+ regulator-name = "vcc-5v";
|
||||
+ regulator-min-microvolt = <5000000>;
|
||||
+ regulator-max-microvolt = <5000000>;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+};
|
||||
diff --git a/configs/inovato_quadra_defconfig b/configs/inovato_quadra_defconfig
|
||||
new file mode 100644
|
||||
index 0000000000..d29dc2e7fa
|
||||
--- /dev/null
|
||||
+++ b/configs/inovato_quadra_defconfig
|
||||
@@ -0,0 +1,10 @@
|
||||
+CONFIG_ARM=y
|
||||
+CONFIG_ARCH_SUNXI=y
|
||||
+CONFIG_DEFAULT_DEVICE_TREE="sun50i-h6-inovato-quadra"
|
||||
+CONFIG_SPL=y
|
||||
+CONFIG_MACH_SUN50I_H6=y
|
||||
+CONFIG_SUNXI_DRAM_H6_DDR3_1333=y
|
||||
+CONFIG_DRAM_CLK=648
|
||||
+CONFIG_MMC0_CD_PIN="PF6"
|
||||
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
|
||||
index a7e0d9f6c0..20bbd7cf49 100644
|
||||
--- a/arch/arm/dts/Makefile
|
||||
+++ b/arch/arm/dts/Makefile
|
||||
@@ -699,7 +699,8 @@ dtb-$(CONFIG_MACH_SUN50I_H6) += \
|
||||
sun50i-h6-pine-h64.dtb \
|
||||
sun50i-h6-pine-h64-model-b.dtb \
|
||||
sun50i-h6-tanix-tx6.dtb \
|
||||
- sun50i-h6-tanix-tx6-mini.dtb
|
||||
+ sun50i-h6-tanix-tx6-mini.dtb \
|
||||
+ sun50i-h6-inovato-quadra.dtb
|
||||
dtb-$(CONFIG_MACH_SUN50I_H616) += \
|
||||
sun50i-h616-orangepi-zero2.dtb
|
||||
dtb-$(CONFIG_MACH_SUN50I) += \
|
||||
Reference in New Issue
Block a user