Add Innovato TV box as CSC target
This commit is contained in:
parent
21186c0577
commit
be2941c18c
12
config/boards/aw-h6-tv.csc
Normal file
12
config/boards/aw-h6-tv.csc
Normal 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
|
||||
@ -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 = <®_vcc3v3>;
|
||||
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
|
||||
bus-width = <4>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&mmc2 {
|
||||
+ vmmc-supply = <®_vcc3v3>;
|
||||
+ vqmmc-supply = <®_vcc3v3>;
|
||||
+ non-removable;
|
||||
+ cap-mmc-hw-reset;
|
||||
+ bus-width = <8>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user