mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 17:23:00 +02:00
Compare commits
1
Commits
main
...
imx8-graphic
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3265e8a980 |
@@ -38,9 +38,25 @@ define FREESCALE_IMX8MP_EVK_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_DISABLE_OPT,CONFIG_USB_DWC3_GADGET)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_USB_DWC3_HOST)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_ARM_IMX_BUS_DEVFREQ)
|
||||
$(call KCONFIG_DISABLE_OPT,CONFIG_TYPEC_TCPCI)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_TYPEC_TCPCI)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_TYPEC_SWITCH_GPIO)
|
||||
endef
|
||||
# $(call KCONFIG_ENABLE_OPT,CONFIG_TYPEC_SWITCH_GPIO)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_TYPEC_MUX_GPIO_SBU)
|
||||
|
||||
# LVDS display on LVDS0
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_DRM_ITE_IT6263)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_BACKLIGHT_CLASS_DEVICE)
|
||||
$(call KCONFIG_DISABLE_OPT,CONFIG_DRM_FSL_LDB)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_DRM_FSL_LDB)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_BACKLIGHT_PWM)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_DRM_PANEL_SIMPLE)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_INPUT_TOUCHSCREEN)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_TOUCHSCREEN_ILI210X)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_PWM_IMX27)
|
||||
# $(call KCONFIG_ENABLE_OPT,CONFIG_PHY_FSL_IMX8MP_LVDS)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_DRM_SAMSUNG_DSIM)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_DRM_DISPLAY_CONNECTOR)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_RESET_IMX7)
|
||||
endef
|
||||
$(eval $(ix-board))
|
||||
$(eval $(generic-package))
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
#include <arm64/freescale/imx8mp-evk.dts>
|
||||
#include <dt-bindings/usb/pd.h>
|
||||
&usb3_phy0 {
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
&usb3_phy0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&iomuxc {
|
||||
pinctrl_typec_mux: typec1muxgrp {
|
||||
fsl,pins = <
|
||||
MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20 0x16
|
||||
MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20 0x16
|
||||
>;
|
||||
};
|
||||
pinctrl_typec: typec1grp {
|
||||
@@ -25,7 +27,7 @@
|
||||
reg = <0x50>;
|
||||
interrupt-parent = <&gpio4>;
|
||||
interrupts = <19 8>;
|
||||
|
||||
status = "disabled";
|
||||
port {
|
||||
typec_dr_sw: endpoint {
|
||||
remote-endpoint = <&usb3_drd_sw>;
|
||||
@@ -40,7 +42,7 @@
|
||||
try-power-role = "sink";
|
||||
source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
|
||||
sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
|
||||
PDO_VAR(5000, 20000, 3000)>;
|
||||
PDO_VAR(5000, 20000, 3000)>;
|
||||
op-sink-microwatt = <15000000>;
|
||||
self-powered;
|
||||
|
||||
@@ -57,7 +59,69 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
it6263: hdmi@4c {
|
||||
compatible = "ite,it6263";
|
||||
reg = <0x4c>;
|
||||
data-mapping = "jeida-24";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_lvds_en>;
|
||||
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
|
||||
ivdd-supply = <®_buck5>;
|
||||
ovdd-supply = <®_vext_3v3>;
|
||||
txavcc18-supply = <®_buck5>;
|
||||
txavcc33-supply = <®_vext_3v3>;
|
||||
pvcc1-supply = <®_buck5>;
|
||||
pvcc2-supply = <®_buck5>;
|
||||
avcc-supply = <®_vext_3v3>;
|
||||
anvdd-supply = <®_buck5>;
|
||||
apvdd-supply = <®_buck5>;
|
||||
status = "okay";
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "okay";
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
status = "okay";
|
||||
it6263_in: endpoint {
|
||||
remote-endpoint = <&ldb_lvds_ch0>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
port@2 {
|
||||
reg = <2>;
|
||||
status = "okay";
|
||||
it6263_out: endpoint {
|
||||
remote-endpoint = <&lvds2hdmi_connector_in>;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&lvds_bridge {
|
||||
status = "okay";
|
||||
ports {
|
||||
port@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
status = "okay";
|
||||
ldb_lvds_ch0: endpoint {
|
||||
remote-endpoint = <&it6263_in>;
|
||||
};
|
||||
};
|
||||
port@2 {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb3_phy0 {
|
||||
fsl,phy-tx-vref-tune = <0xe>;
|
||||
fsl,phy-tx-preemp-amp-tune = <3>;
|
||||
@@ -90,6 +154,32 @@
|
||||
};
|
||||
};
|
||||
|
||||
&lcdif1 {
|
||||
status = "disabled";
|
||||
};
|
||||
&lcdif2 {
|
||||
status = "okay";
|
||||
};
|
||||
&lcdif3 {
|
||||
status = "disabled";
|
||||
};
|
||||
&micfil {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "disabled";
|
||||
};
|
||||
&pcie_phy {
|
||||
status = "disabled";
|
||||
};
|
||||
&sai2 {
|
||||
status = "disabled";
|
||||
};
|
||||
&sai3 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/ {
|
||||
gpio-sbu-mux {
|
||||
compatible = "gpio-sbu-mux";
|
||||
@@ -104,10 +194,23 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
chosen {
|
||||
infix {
|
||||
/* "admin" */
|
||||
factory-password-hash = "$5$mI/zpOAqZYKLC2WU$i7iPzZiIjOjrBF3NyftS9CCq8dfYwHwrmUK097Jca9A";
|
||||
|
||||
lvds-hdmi-connector {
|
||||
compatible = "hdmi-connector";
|
||||
label = "J2";
|
||||
type = "a";
|
||||
status = "okay";
|
||||
|
||||
port {
|
||||
lvds2hdmi_connector_in: endpoint {
|
||||
remote-endpoint = <&it6263_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
chosen {
|
||||
infix {
|
||||
factory-password-hash = "$5$mI/zpOAqZYKLC2WU$i7iPzZiIjOjrBF3NyftS9CCq8dfYwHwrmUK097Jca9A";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user