Add Innovato TV box as CSC target

This commit is contained in:
Igor 2023-01-10 20:20:54 +01:00
parent 21186c0577
commit be2941c18c
No known key found for this signature in database
GPG Key ID: 7DF2FC8F0E1B825A
2 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# Allwinner TV box H6
BOARD_NAME="AW-H6-TV"
BOARDFAMILY="sun50iw6"
BOOTCONFIG="tanix_tx6_defconfig"
KERNEL_TARGET="current,edge"
FULL_DESKTOP="yes"
ATFBRANCH="tag:v2.2"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="allwinner/sun50i-h6-tanix-tx6.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS0,115200 console=tty0 mem=2048M video=HDMI-A-1:e"
OFFSET=16

View File

@ -0,0 +1,69 @@
--- a/arch/arm/dts/sun50i-h6-tanix-tx6.dts
+++ b/arch/arm/dts/sun50i-h6-tanix-tx6.dts
@@ -13,6 +13,7 @@
compatible = "oranth,tanix-tx6", "allwinner,sun50i-h6";
aliases {
+ ethernet0 = &emac;
serial0 = &uart0;
};
@@ -45,6 +46,15 @@
regulator-min-microvolt = <1135000>;
regulator-max-microvolt = <1135000>;
};
+
+ 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;
+ };
};
&cpu0 {
@@ -56,6 +66,12 @@
};
&dwc3 {
+ status = "okay";
+};
+
+&emac {
+ phy-mode = "rmii";
+ phy-handle = <&ext_rmii_phy>;
status = "okay";
};
@@ -82,12 +98,28 @@
};
};
+&mdio {
+ ext_rmii_phy: ethernet-phy@1 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <1>;
+ };
+};
+
&mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
vmmc-supply = <&reg_vcc3v3>;
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
bus-width = <4>;
+ status = "okay";
+};
+
+&mmc2 {
+ vmmc-supply = <&reg_vcc3v3>;
+ vqmmc-supply = <&reg_vcc3v3>;
+ non-removable;
+ cap-mmc-hw-reset;
+ bus-width = <8>;
status = "okay";
};