... #include / { ... // aliases { // display0 = &hdmi; // }; ... // hdmi: connector { // compatible = "hdmi-connector"; // label = "hdmi"; // type = "a"; // Standard full size // port { // hdmi_connector_in: endpoint { // remote-endpoint = <&tda19988_out>; // }; // }; // }; ... }; &am43xx_pinmux { ... dss_pins_default: dss_pins_default { pinctrl-single,pins = < AM4372_IOPAD(0x8e0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (B23) dss_vsync.dss_vsync */ AM4372_IOPAD(0x8e4, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (A23) dss_hsync.dss_hsync */ AM4372_IOPAD(0x8e8, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (A22) dss_pclk.dss_pclk */ AM4372_IOPAD(0x8ec, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (A24) dss_ac_bias_en.dss_ac_bias_en */ AM4372_IOPAD(0x8a0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (B22) dss_data0.dss_data0 */ AM4372_IOPAD(0x8a4, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (A21) dss_data1.dss_data1 */ AM4372_IOPAD(0x8a8, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (B21) dss_data2.dss_data2 */ AM4372_IOPAD(0x8ac, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (C21) dss_data3.dss_data3 */ AM4372_IOPAD(0x8b0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (A20) dss_data4.dss_data4 */ AM4372_IOPAD(0x8b4, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (B20) dss_data5.dss_data5 */ AM4372_IOPAD(0x8b8, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (C20) dss_data6.dss_data6 */ AM4372_IOPAD(0x8bc, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (E19) dss_data7.dss_data7 */ AM4372_IOPAD(0x8c0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (A19) dss_data8.dss_data8 */ AM4372_IOPAD(0x8c4, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (B19) dss_data9.dss_data9 */ AM4372_IOPAD(0x8c8, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (A18) dss_data10.dss_data10 */ AM4372_IOPAD(0x8cc, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (B18) dss_data11.dss_data11 */ AM4372_IOPAD(0x8d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (C19) dss_data12.dss_data12 */ AM4372_IOPAD(0x8d4, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (D19) dss_data13.dss_data13 */ AM4372_IOPAD(0x8d8, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (C17) dss_data14.dss_data14 */ AM4372_IOPAD(0x8dc, PIN_OUTPUT_PULLUP | MUX_MODE0) /* (D17) dss_data15.dss_data15 */ AM4372_IOPAD(0x83c, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (A11) gpmc_ad15.dss_data16 */ AM4372_IOPAD(0x838, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (B11) gpmc_ad14.dss_data17 */ AM4372_IOPAD(0x834, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (C11) gpmc_ad13.dss_data18 */ AM4372_IOPAD(0x830, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (E11) gpmc_ad12.dss_data19 */ AM4372_IOPAD(0x82c, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (D11) gpmc_ad11.dss_data20 */ AM4372_IOPAD(0x828, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (F11) gpmc_ad10.dss_data21 */ AM4372_IOPAD(0x824, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (A10) gpmc_ad9.dss_data22 */ AM4372_IOPAD(0x820, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (B10) gpmc_ad8.dss_data23 */ >; }; ... }; &dss { status = "okay"; // pinctrl-names = "default"; // pinctrl-0 = <&dss_pins_default>; port { dpi_out: endpoint { remote-endpoint = <&tda19988_in>; data-lines = <24>; }; }; }; &i2c1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins_default>; tda19988: tda19988 { compatible = "nxp,tda998x"; reg = <0x70>; pinctrl-names = "default"; pinctrl-0 = <&dss_pins_default>; /* Convert 24bit BGR to RGB, e.g. cross red and blue wiring */ // video-ports = <0x234501>; #sound-dai-cells = <0>; audio-ports = < TDA998x_I2S 0x03>; ports { port@0 { reg = <0>; tda19988_in: endpoint { remote-endpoint = <&dpi_out>; }; }; }; // ports { // #address-cells = <1>; // #size-cells = <0>; // port@0 { // reg = <0>; // tda19988_in: endpoint { // remote-endpoint = <&dpi_out>; // }; // }; // port@1 { // reg = <1>; // tda19988_out: endpoint { // remote-endpoint = <&hdmi_connector_in>; // }; // }; // }; };