1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Copyright (c) Siemens AG, 2024 3 * Copyright (c) Siemens AG, 2024 4 * 4 * 5 * Authors: 5 * Authors: 6 * Jan Kiszka <jan.kiszka@siemens.com> 6 * Jan Kiszka <jan.kiszka@siemens.com> 7 * 7 * 8 * Common bits for IOT2050 variants with Displ 8 * Common bits for IOT2050 variants with Display Port 9 */ 9 */ 10 10 11 &main_pmx0 { 11 &main_pmx0 { 12 dss_vout1_pins_default: dss-vout1-defa 12 dss_vout1_pins_default: dss-vout1-default-pins { 13 pinctrl-single,pins = < 13 pinctrl-single,pins = < 14 AM65X_IOPAD(0x0000, PI 14 AM65X_IOPAD(0x0000, PIN_OUTPUT, 1) /* VOUT1_DATA0 */ 15 AM65X_IOPAD(0x0004, PI 15 AM65X_IOPAD(0x0004, PIN_OUTPUT, 1) /* VOUT1_DATA1 */ 16 AM65X_IOPAD(0x0008, PI 16 AM65X_IOPAD(0x0008, PIN_OUTPUT, 1) /* VOUT1_DATA2 */ 17 AM65X_IOPAD(0x000c, PI 17 AM65X_IOPAD(0x000c, PIN_OUTPUT, 1) /* VOUT1_DATA3 */ 18 AM65X_IOPAD(0x0010, PI 18 AM65X_IOPAD(0x0010, PIN_OUTPUT, 1) /* VOUT1_DATA4 */ 19 AM65X_IOPAD(0x0014, PI 19 AM65X_IOPAD(0x0014, PIN_OUTPUT, 1) /* VOUT1_DATA5 */ 20 AM65X_IOPAD(0x0018, PI 20 AM65X_IOPAD(0x0018, PIN_OUTPUT, 1) /* VOUT1_DATA6 */ 21 AM65X_IOPAD(0x001c, PI 21 AM65X_IOPAD(0x001c, PIN_OUTPUT, 1) /* VOUT1_DATA7 */ 22 AM65X_IOPAD(0x0020, PI 22 AM65X_IOPAD(0x0020, PIN_OUTPUT, 1) /* VOUT1_DATA8 */ 23 AM65X_IOPAD(0x0024, PI 23 AM65X_IOPAD(0x0024, PIN_OUTPUT, 1) /* VOUT1_DATA9 */ 24 AM65X_IOPAD(0x0028, PI 24 AM65X_IOPAD(0x0028, PIN_OUTPUT, 1) /* VOUT1_DATA10 */ 25 AM65X_IOPAD(0x002c, PI 25 AM65X_IOPAD(0x002c, PIN_OUTPUT, 1) /* VOUT1_DATA11 */ 26 AM65X_IOPAD(0x0030, PI 26 AM65X_IOPAD(0x0030, PIN_OUTPUT, 1) /* VOUT1_DATA12 */ 27 AM65X_IOPAD(0x0034, PI 27 AM65X_IOPAD(0x0034, PIN_OUTPUT, 1) /* VOUT1_DATA13 */ 28 AM65X_IOPAD(0x0038, PI 28 AM65X_IOPAD(0x0038, PIN_OUTPUT, 1) /* VOUT1_DATA14 */ 29 AM65X_IOPAD(0x003c, PI 29 AM65X_IOPAD(0x003c, PIN_OUTPUT, 1) /* VOUT1_DATA15 */ 30 AM65X_IOPAD(0x0040, PI 30 AM65X_IOPAD(0x0040, PIN_OUTPUT, 1) /* VOUT1_DATA16 */ 31 AM65X_IOPAD(0x0044, PI 31 AM65X_IOPAD(0x0044, PIN_OUTPUT, 1) /* VOUT1_DATA17 */ 32 AM65X_IOPAD(0x0048, PI 32 AM65X_IOPAD(0x0048, PIN_OUTPUT, 1) /* VOUT1_DATA18 */ 33 AM65X_IOPAD(0x004c, PI 33 AM65X_IOPAD(0x004c, PIN_OUTPUT, 1) /* VOUT1_DATA19 */ 34 AM65X_IOPAD(0x0050, PI 34 AM65X_IOPAD(0x0050, PIN_OUTPUT, 1) /* VOUT1_DATA20 */ 35 AM65X_IOPAD(0x0054, PI 35 AM65X_IOPAD(0x0054, PIN_OUTPUT, 1) /* VOUT1_DATA21 */ 36 AM65X_IOPAD(0x0058, PI 36 AM65X_IOPAD(0x0058, PIN_OUTPUT, 1) /* VOUT1_DATA22 */ 37 AM65X_IOPAD(0x005c, PI 37 AM65X_IOPAD(0x005c, PIN_OUTPUT, 1) /* VOUT1_DATA23 */ 38 AM65X_IOPAD(0x0060, PI 38 AM65X_IOPAD(0x0060, PIN_OUTPUT, 1) /* VOUT1_VSYNC */ 39 AM65X_IOPAD(0x0064, PI 39 AM65X_IOPAD(0x0064, PIN_OUTPUT, 1) /* VOUT1_HSYNC */ 40 AM65X_IOPAD(0x0068, PI 40 AM65X_IOPAD(0x0068, PIN_OUTPUT, 1) /* VOUT1_PCLK */ 41 AM65X_IOPAD(0x006c, PI 41 AM65X_IOPAD(0x006c, PIN_OUTPUT, 1) /* VOUT1_DE */ 42 >; 42 >; 43 }; 43 }; 44 44 45 dp_pins_default: dp-default-pins { 45 dp_pins_default: dp-default-pins { 46 pinctrl-single,pins = < 46 pinctrl-single,pins = < 47 AM65X_IOPAD(0x0078, PI 47 AM65X_IOPAD(0x0078, PIN_OUTPUT, 7) /* (AF18) DP rst_n */ 48 >; 48 >; 49 }; 49 }; 50 }; 50 }; 51 51 52 &main_i2c3 { 52 &main_i2c3 { 53 edp-bridge@f { 53 edp-bridge@f { 54 compatible = "toshiba,tc358767 54 compatible = "toshiba,tc358767"; 55 reg = <0x0f>; 55 reg = <0x0f>; 56 pinctrl-names = "default"; 56 pinctrl-names = "default"; 57 pinctrl-0 = <&dp_pins_default> 57 pinctrl-0 = <&dp_pins_default>; 58 reset-gpios = <&main_gpio0 30 58 reset-gpios = <&main_gpio0 30 GPIO_ACTIVE_HIGH>; 59 59 60 clock-names = "ref"; 60 clock-names = "ref"; 61 clocks = <&dp_refclk>; 61 clocks = <&dp_refclk>; 62 62 63 toshiba,hpd-pin = <0>; 63 toshiba,hpd-pin = <0>; 64 64 65 ports { 65 ports { 66 #address-cells = <1>; 66 #address-cells = <1>; 67 #size-cells = <0>; 67 #size-cells = <0>; 68 68 69 port@1 { 69 port@1 { 70 reg = <1>; 70 reg = <1>; 71 71 72 bridge_in: end 72 bridge_in: endpoint { 73 remote 73 remote-endpoint = <&dpi_out>; 74 }; 74 }; 75 }; 75 }; 76 }; 76 }; 77 }; 77 }; 78 }; 78 }; 79 79 80 &dss { 80 &dss { 81 pinctrl-names = "default"; 81 pinctrl-names = "default"; 82 pinctrl-0 = <&dss_vout1_pins_default>; 82 pinctrl-0 = <&dss_vout1_pins_default>; 83 83 84 assigned-clocks = <&k3_clks 67 2>; 84 assigned-clocks = <&k3_clks 67 2>; 85 assigned-clock-parents = <&k3_clks 67 85 assigned-clock-parents = <&k3_clks 67 5>; 86 }; 86 }; 87 87 88 &dss_ports { 88 &dss_ports { 89 #address-cells = <1>; 89 #address-cells = <1>; 90 #size-cells = <0>; 90 #size-cells = <0>; 91 port@1 { 91 port@1 { 92 reg = <1>; 92 reg = <1>; 93 93 94 dpi_out: endpoint { 94 dpi_out: endpoint { 95 remote-endpoint = <&br 95 remote-endpoint = <&bridge_in>; 96 }; 96 }; 97 }; 97 }; 98 }; 98 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.