Advertisement
fcastagnotto

Untitled

Oct 14th, 2024
86
0
29 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.65 KB | None | 0 0
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3.  * Copyright 2022 NXP
  4.  */
  5.  
  6. #include "imx93-11x11-evk.dts"
  7.  
  8. &adv7535 {
  9.     status = "disabled";
  10. };
  11.  
  12. /delete-node/ &dsi_to_adv7535;
  13. /delete-node/ &adv7535_to_dsi;
  14. /delete-node/ &adv7535;
  15.  
  16. / {
  17.        reg_3p3v: regulator-3p3v {
  18.                compatible = "regulator-fixed";
  19.                regulator-name = "3P3V";
  20.                regulator-min-microvolt = <3300000>;
  21.                regulator-max-microvolt = <3300000>;
  22.                regulator-always-on;
  23.        };
  24. };
  25.  
  26. &dsi {
  27.     status = "okay";
  28.     #address-cells = <1>;
  29.     #size-cells = <0>;
  30.  
  31.     panel@0 {
  32.         compatible = "densitron,dmt040wvnmcmi-1c","sitronix,st7701";
  33.         reg = <0>;
  34.         reset-gpio = <&gpio1 8 GPIO_ACTIVE_HIGH>;
  35.         clock-frequency = <60000000>;
  36.         VCC-supply = <&reg_3p3v>;
  37.         IOVCC-supply = <&reg_3p3v>;    
  38.         dsi-lanes = <2>;
  39.         video-mode = <2>;   /* 0: burst mode
  40.                      * 1: non-burst mode with sync event
  41.                      * 2: non-\burst mode with sync pulse
  42.                      */
  43.         width-mm = <52>;
  44.         height-mm = <86>;
  45.         default_bpp = <24>;
  46.  
  47.         status = "okay";
  48.  
  49.         port {
  50.             panelST7701S_to_dsi: endpoint {
  51.                     remote-endpoint = <&dsi_to_panelST7701S>;          
  52.             };
  53.         };
  54.     };
  55.  
  56.     ports {
  57.         #address-cells = <1>;
  58.         #size-cells = <0>;
  59.  
  60.         port@0 {
  61.             reg = <0>;
  62.  
  63.             dsi_to_lcdif: endpoint {
  64.                 remote-endpoint = <&lcdif_to_dsi>;
  65.             };
  66.         };
  67.        
  68.         port@1 {
  69.             reg = <1>;
  70.             dsi_to_panelST7701S: endpoint {
  71.                 remote-endpoint = <&panelST7701S_to_dsi>;
  72.             };
  73.         };
  74.     };
  75. };
  76.  
  77. &lcdif {
  78.     assigned-clock-rates = <484000000>, <121000000>, <400000000>, <133333333>;
  79. };
  80.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement