.. | .. |
---|
12 | 12 | model = "Rockchip RK3399 EVB IND LPDDR4 Board edp (Android)"; |
---|
13 | 13 | compatible = "rockchip,android", "rockchip,rk3399-evb-ind-lpddr4-android", "rockchip,rk3399"; |
---|
14 | 14 | chosen: chosen { |
---|
15 | | - bootargs = "earlycon=uart8250,mmio32,0xff1a0000 console=ttyFIQ0 androidboot.baseband=N/A androidboot.veritymode=enforcing androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init initrd=0x62000001,0x00800000 coherent_pool=1m"; |
---|
| 15 | + bootargs = "earlycon=uart8250,mmio32,0xff1a0000 console=ttyFIQ0 init=/init initrd=0x62000001,0x00800000 coherent_pool=1m"; |
---|
16 | 16 | }; |
---|
17 | 17 | |
---|
18 | 18 | iram: sram@ff8d0000 { |
---|
.. | .. |
---|
31 | 31 | vin-supply = <&vcc5v0_sys>; |
---|
32 | 32 | }; |
---|
33 | 33 | |
---|
34 | | - ext_cam_clk: external-camera-clock { |
---|
35 | | - compatible = "fixed-clock"; |
---|
36 | | - clock-frequency = <27000000>; |
---|
37 | | - clock-output-names = "CLK_CAMERA_27MHZ"; |
---|
38 | | - #clock-cells = <0>; |
---|
39 | | - }; |
---|
40 | | - |
---|
41 | 34 | panel: panel { |
---|
42 | 35 | compatible = "simple-panel"; |
---|
43 | 36 | backlight = <&backlight>; |
---|
.. | .. |
---|
46 | 39 | prepare-delay-ms = <20>; |
---|
47 | 40 | reset-delay-ms = <20>; |
---|
48 | 41 | enable-delay-ms = <20>; |
---|
| 42 | + width-mm = <120>; |
---|
| 43 | + height-mm = <160>; |
---|
49 | 44 | |
---|
50 | 45 | display-timings { |
---|
51 | 46 | native-mode = <&timing0>; |
---|
.. | .. |
---|
147 | 142 | rockchip,camera-module-facing = "back"; |
---|
148 | 143 | }; |
---|
149 | 144 | |
---|
150 | | - gc8034: gc8034@37 { |
---|
151 | | - compatible = "galaxycore,gc8034"; |
---|
152 | | - status = "okay"; |
---|
153 | | - reg = <0x37>; |
---|
154 | | - clocks = <&cru SCLK_CIF_OUT>; |
---|
155 | | - clock-names = "xvclk"; |
---|
156 | | - pinctrl-names = "rockchip,camera_default"; |
---|
157 | | - pinctrl-0 = <&cif_clkout>; |
---|
158 | | - reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; |
---|
159 | | - pwdn-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; |
---|
160 | | - rockchip,camera-module-index = <0>; |
---|
161 | | - rockchip,camera-module-facing = "back"; |
---|
162 | | - rockchip,camera-module-name = "LH-RK-8034-v1.0"; |
---|
163 | | - rockchip,camera-module-lens-name = "CK8401"; |
---|
164 | | - lens-focus = <&vm149c>; |
---|
165 | | - port { |
---|
166 | | - gc8034_out: endpoint { |
---|
167 | | - remote-endpoint = <&mipi_in_gc8034>; |
---|
168 | | - data-lanes = <1 2 3 4>; |
---|
169 | | - }; |
---|
170 | | - }; |
---|
171 | | - }; |
---|
172 | | - |
---|
173 | 145 | gc2145: gc2145@3c{ |
---|
174 | 146 | status = "okay"; |
---|
175 | 147 | compatible = "galaxycore,gc2145"; |
---|
.. | .. |
---|
251 | 223 | }; |
---|
252 | 224 | }; |
---|
253 | 225 | }; |
---|
254 | | - |
---|
255 | | - /delete-node/ tc358749x@0f; |
---|
256 | | - |
---|
257 | | - tc35874x: tc35874x@0f { |
---|
258 | | - status = "disabled"; |
---|
259 | | - reg = <0x0f>; |
---|
260 | | - compatible = "toshiba,tc358749"; |
---|
261 | | - clocks = <&ext_cam_clk>; |
---|
262 | | - clock-names = "refclk"; |
---|
263 | | - reset-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; |
---|
264 | | - /* interrupt-parent = <&gpio2>; */ |
---|
265 | | - /* interrupts = <12 IRQ_TYPE_LEVEL_HIGH>; */ |
---|
266 | | - pinctrl-names = "default"; |
---|
267 | | - pinctrl-0 = <&tc35874x_gpios>; |
---|
268 | | - rockchip,camera-module-index = <0>; |
---|
269 | | - rockchip,camera-module-facing = "back"; |
---|
270 | | - rockchip,camera-module-name = "TC358749XBG"; |
---|
271 | | - rockchip,camera-module-lens-name = "NC"; |
---|
272 | | - |
---|
273 | | - port { |
---|
274 | | - hdmiin_out0: endpoint { |
---|
275 | | - remote-endpoint = <&hdmi_to_mipi_in>; |
---|
276 | | - data-lanes = <1 2 3 4>; |
---|
277 | | - clock-noncontinuous; |
---|
278 | | - link-frequencies = |
---|
279 | | - /bits/ 64 <297000000>; |
---|
280 | | - }; |
---|
281 | | - }; |
---|
282 | | - }; |
---|
283 | 226 | }; |
---|
284 | 227 | |
---|
285 | 228 | &i2s2 { |
---|
.. | .. |
---|
312 | 255 | remote-endpoint = <&ucam_out0>; |
---|
313 | 256 | data-lanes = <1 2>; |
---|
314 | 257 | }; |
---|
315 | | - mipi_in_gc8034: endpoint@0 { |
---|
316 | | - reg = <0>; |
---|
317 | | - remote-endpoint = <&gc8034_out>; |
---|
318 | | - data-lanes = <1 2 3 4>; |
---|
319 | | - }; |
---|
320 | 258 | }; |
---|
321 | 259 | |
---|
322 | 260 | port@1 { |
---|
.. | .. |
---|
344 | 282 | #address-cells = <1>; |
---|
345 | 283 | #size-cells = <0>; |
---|
346 | 284 | |
---|
347 | | - hdmi_to_mipi_in: endpoint@0 { |
---|
348 | | - reg = <0>; |
---|
349 | | - remote-endpoint = <&hdmiin_out0>; |
---|
350 | | - data-lanes = <1 2 3 4>; |
---|
351 | | - }; |
---|
352 | 285 | mipi_in_ucam1: endpoint@1 { |
---|
353 | 286 | reg = <1>; |
---|
354 | 287 | remote-endpoint = <&ucam_out1>; |
---|
.. | .. |
---|
449 | 382 | }; |
---|
450 | 383 | |
---|
451 | 384 | &pinctrl { |
---|
452 | | - hdmiin { |
---|
453 | | - tc35874x_gpios: tc35874x_gpios { |
---|
454 | | - rockchip,pins = |
---|
455 | | - /* PWREN_3.3 */ |
---|
456 | | - <0 RK_PB5 RK_FUNC_GPIO &pcfg_output_high>, |
---|
457 | | - /* HDMIIN_RST */ |
---|
458 | | - <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
459 | | - /* HDMIIN_STBY */ |
---|
460 | | - <3 RK_PD1 RK_FUNC_GPIO &pcfg_output_high>, |
---|
461 | | - /* HDMIIN_INT */ |
---|
462 | | - <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
463 | | - }; |
---|
464 | | - }; |
---|
465 | 385 | lcd-panel { |
---|
466 | 386 | lcd_panel_reset: lcd-panel-reset { |
---|
467 | 387 | rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>; |
---|