Advertisement
Guest User

Untitled

a guest
Dec 9th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. /dts-v1/;
  2. #include "rk3288-firefly-reload-core.dtsi"
  3.  
  4. / {
  5. lvds_panel: lvds-panel {
  6. compatible ="auo,b101ew05","simple-panel";
  7. backlight = <&panel_backlight>;
  8. power-supply = <&vcc_lcd &vsdp &vsdn>;
  9. status = "okay";
  10.  
  11. ports {
  12. panel_in_lvds: endpoint {
  13. remote-endpoint = <&lvds_out_panel>;
  14. };
  15. };
  16. };
  17.  
  18. panel_backlight: backlight {
  19. compatible = "pwm-backlight";
  20. brightness-levels = <
  21. 0 1 2 3 4 5 6 7
  22. 8 9 10 11 12 13 14 15
  23. 16 17 18 19 20 21 22 23
  24. 24 25 26 27 28 29 30 31
  25. 32 33 34 35 36 37 38 39
  26. 40 41 42 43 44 45 46 47
  27. 48 49 50 51 52 53 54 55
  28. 56 57 58 59 60 61 62 63
  29. 64 65 66 67 68 69 70 71
  30. 72 73 74 75 76 77 78 79
  31. 80 81 82 83 84 85 86 87
  32. 88 89 90 91 92 93 94 95
  33. 96 97 98 99 100 101 102 103
  34. 104 105 106 107 108 109 110 111
  35. 112 113 114 115 116 117 118 119
  36. 120 121 122 123 124 125 126 127
  37. 128 129 130 131 132 133 134 135
  38. 136 137 138 139 140 141 142 143
  39. 144 145 146 147 148 149 150 151
  40. 152 153 154 155 156 157 158 159
  41. 160 161 162 163 164 165 166 167
  42. 168 169 170 171 172 173 174 175
  43. 176 177 178 179 180 181 182 183
  44. 184 185 186 187 188 189 190 191
  45. 192 193 194 195 196 197 198 199
  46. 200 201 202 203 204 205 206 207
  47. 208 209 210 211 212 213 214 215
  48. 216 217 218 219 220 221 222 223
  49. 224 225 226 227 228 229 230 231
  50. 232 233 234 235 236 237 238 239
  51. 240 241 242 243 244 245 246 247
  52. 248 249 250 251 252 253 254 255>;
  53. default-brightness-level = <255>;
  54. pwms = <&pwm1 0 1000000 0>;
  55. };
  56. };
  57.  
  58. &lvds {
  59. rockchip,data-mapping = "vesa";
  60. rockchip,data-width = <24>;
  61. rockchip,output = "lvds";
  62. rockchip,panel = <&lvds_panel>;
  63. status = "okay";
  64.  
  65. ports {
  66. #address-cells = <1>;
  67. #size-cells = <0>;
  68.  
  69. lvds_out: port@1 {
  70. reg = <1>;
  71.  
  72. lvds_out_panel: endpoint {
  73. remote-endpoint = <&panel_in_lvds>;
  74. };
  75. };
  76. };
  77. };
  78.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement