Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Copyright 2023 Gateworks Corporation |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | /plugin/; |
| 8 | |
| 9 | &{/} { |
| 10 | compatible = "gateworks,imx8mp-gw74xx", "fsl,imx8mp"; |
| 11 | |
| 12 | panel { |
| 13 | compatible = "powertip,ph800480t013-idf02"; |
| 14 | power-supply = <&attiny>; |
| 15 | backlight = <&attiny>; |
| 16 | |
| 17 | port { |
| 18 | panel_in: endpoint { |
| 19 | remote-endpoint = <&bridge_out>; |
| 20 | }; |
| 21 | }; |
| 22 | }; |
| 23 | }; |
| 24 | |
| 25 | &i2c4 { |
| 26 | #address-cells = <1>; |
| 27 | #size-cells = <0>; |
| 28 | |
| 29 | attiny: regulator@45 { |
| 30 | compatible = "raspberrypi,7inch-touchscreen-panel-regulator"; |
| 31 | reg = <0x45>; |
| 32 | }; |
| 33 | }; |
| 34 | |
| 35 | &lcdif1 { |
| 36 | status = "okay"; |
| 37 | }; |
| 38 | |
| 39 | &mipi_dsi { |
| 40 | samsung,burst-clock-frequency = <891000000>; |
| 41 | samsung,esc-clock-frequency = <54000000>; |
| 42 | samsung,pll-clock-frequency = <27000000>; |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <0>; |
| 45 | status = "okay"; |
| 46 | |
| 47 | bridge@0 { |
| 48 | compatible = "toshiba,tc358762"; |
| 49 | reg = <0>; |
| 50 | vddc-supply = <&attiny>; |
| 51 | |
| 52 | ports { |
| 53 | #address-cells = <1>; |
| 54 | #size-cells = <0>; |
| 55 | |
| 56 | port@0 { |
| 57 | reg = <0>; |
| 58 | |
| 59 | bridge_in: endpoint { |
| 60 | remote-endpoint = <&dsi_out>; |
| 61 | }; |
| 62 | }; |
| 63 | |
| 64 | port@1 { |
| 65 | reg = <1>; |
| 66 | |
| 67 | bridge_out: endpoint { |
| 68 | remote-endpoint = <&panel_in>; |
| 69 | }; |
| 70 | }; |
| 71 | }; |
| 72 | }; |
| 73 | |
| 74 | ports { |
| 75 | #address-cells = <1>; |
| 76 | #size-cells = <0>; |
| 77 | |
| 78 | port@1 { |
| 79 | reg = <1>; |
| 80 | |
| 81 | dsi_out: endpoint { |
| 82 | data-lanes = <1 2>; |
| 83 | remote-endpoint = <&bridge_in>; |
| 84 | }; |
| 85 | }; |
| 86 | }; |
| 87 | }; |