summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2023-06-01 01:10:44 +0200
committerAlexandre Torgue <alexandre.torgue@foss.st.com>2023-07-11 10:58:23 +0200
commit5408d51846b4ddb8e062c89e0b3097e51cd798af (patch)
treed9ed42591dc39afc32a9d20e68cf670a9af68771 /arch/arm/boot/dts/st/stm32mp157c-dk2.dts
parent5060e27012f7e0044ae838de59a46f563c54fb84 (diff)
ARM: dts: stm32: Deduplicate DSI node on stm32mp15
All boards using the DSI node duplicate the same pattern common pattern in board DTs, that pattern is ports with endpoint labels and the same in-SoC regulator connection. Move that common pattern into stm32mp157.dtsi instead. The two boards which do define panel@0 directly in the DSI bridge node now have #address-cells/#size-cells in their board DT instead of it being in stm32mp157.dtsi and activated incorrectly for all boards, even the ones which use e.g. another DSI-to-something bridge. Signed-off-by: Marek Vasut <marex@denx.de> Acked-by: Raphaƫl Gallais-Pou <raphael.gallais-pou@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Diffstat (limited to 'arch/arm/boot/dts/st/stm32mp157c-dk2.dts')
-rw-r--r--arch/arm/boot/dts/st/stm32mp157c-dk2.dts28
1 files changed, 8 insertions, 20 deletions
diff --git a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
index 4bef2300ed7c..510cca5acb79 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
@@ -34,26 +34,6 @@
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
- phy-dsi-supply = <&reg18>;
-
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@0 {
- reg = <0>;
- dsi_in: endpoint {
- remote-endpoint = <&ltdc_ep1_out>;
- };
- };
-
- port@1 {
- reg = <1>;
- dsi_out: endpoint {
- remote-endpoint = <&panel_in>;
- };
- };
- };
panel@0 {
compatible = "orisetech,otm8009a";
@@ -70,6 +50,14 @@
};
};
+&dsi_in {
+ remote-endpoint = <&ltdc_ep1_out>;
+};
+
+&dsi_out {
+ remote-endpoint = <&panel_in>;
+};
+
&i2c1 {
touchscreen@38 {
compatible = "focaltech,ft6236";