|
353 | 353 | };
|
354 | 354 | };
|
355 | 355 | };
|
| 356 | + |
| 357 | + ov5640_0: ov5640_mipi@3c { |
| 358 | + compatible = "ovti,ov5640"; |
| 359 | + reg = <0x3c>; |
| 360 | + pinctrl-names = "default"; |
| 361 | + pinctrl-0 = <&pinctrl_csi0_pwn>, <&pinctrl_csi0_rst>; |
| 362 | + clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>; |
| 363 | + clock-names = "xclk"; |
| 364 | + assigned-clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>; |
| 365 | + assigned-clock-parents = <&clk IMX8MP_CLK_24M>; |
| 366 | + assigned-clock-rates = <24000000>; |
| 367 | + csi_id = <0>; |
| 368 | + powerdown-gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>; |
| 369 | + reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
| 370 | + mclk = <24000000>; |
| 371 | + mclk_source = <0>; |
| 372 | + mipi_csi; |
| 373 | + status = "okay"; |
| 374 | + |
| 375 | + port { |
| 376 | + ov5640_mipi_0_ep: endpoint { |
| 377 | + remote-endpoint = <&mipi_csi0_ep>; |
| 378 | + data-lanes = <1 2>; |
| 379 | + clock-lanes = <0>; |
| 380 | + }; |
| 381 | + }; |
| 382 | + }; |
356 | 383 | };
|
357 | 384 |
|
358 | 385 | &i2c3 {
|
|
378 | 405 | wlf,gpio-cfg = <1 3>;
|
379 | 406 | SPKVDD1-supply = <®_audio_pwr>;
|
380 | 407 | };
|
| 408 | + |
| 409 | + ov5640_1: ov5640_mipi@3c { |
| 410 | + compatible = "ovti,ov5640"; |
| 411 | + reg = <0x3c>; |
| 412 | + pinctrl-names = "default"; |
| 413 | + pinctrl-0 = <&pinctrl_csi0_pwn>, <&pinctrl_csi0_rst>; |
| 414 | + clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>; |
| 415 | + clock-names = "xclk"; |
| 416 | + assigned-clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>; |
| 417 | + assigned-clock-parents = <&clk IMX8MP_CLK_24M>; |
| 418 | + assigned-clock-rates = <24000000>; |
| 419 | + csi_id = <0>; |
| 420 | + powerdown-gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>; |
| 421 | + reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; |
| 422 | + mclk = <24000000>; |
| 423 | + mclk_source = <0>; |
| 424 | + mipi_csi; |
| 425 | + status = "disabled"; |
| 426 | + |
| 427 | + port { |
| 428 | + ov5640_mipi_1_ep: endpoint { |
| 429 | + remote-endpoint = <&mipi_csi1_ep>; |
| 430 | + data-lanes = <1 2>; |
| 431 | + clock-lanes = <0>; |
| 432 | + }; |
| 433 | + }; |
| 434 | + }; |
381 | 435 | };
|
382 | 436 |
|
383 | 437 | &irqsteer_hdmi {
|
|
808 | 862 | MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B 0x166
|
809 | 863 | >;
|
810 | 864 | };
|
| 865 | + |
| 866 | + pinctrl_csi0_pwn: csi0_pwn_grp { |
| 867 | + fsl,pins = < |
| 868 | + MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11 0x19 |
| 869 | + >; |
| 870 | + }; |
| 871 | + |
| 872 | + pinctrl_csi0_rst: csi0_rst_grp { |
| 873 | + fsl,pins = < |
| 874 | + MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x19 |
| 875 | + MX8MP_IOMUXC_GPIO1_IO15__CCMSRCGPCMIX_CLKO2 0x59 |
| 876 | + >; |
| 877 | + }; |
811 | 878 | };
|
812 | 879 |
|
813 | 880 | &vpu_g1 {
|
|
821 | 888 | &vpu_vc8000e {
|
822 | 889 | status = "okay";
|
823 | 890 | };
|
| 891 | + |
| 892 | +&mipi_csi_0 { |
| 893 | + #address-cells = <1>; |
| 894 | + #size-cells = <0>; |
| 895 | + status = "okay"; |
| 896 | + |
| 897 | + port@0 { |
| 898 | + reg = <0>; |
| 899 | + mipi_csi0_ep: endpoint { |
| 900 | + remote-endpoint = <&ov5640_mipi_0_ep>; |
| 901 | + data-lanes = <2>; |
| 902 | + csis-hs-settle = <13>; |
| 903 | + csis-clk-settle = <2>; |
| 904 | + csis-wclk; |
| 905 | + }; |
| 906 | + }; |
| 907 | +}; |
| 908 | + |
| 909 | +&mipi_csi_1 { |
| 910 | + #address-cells = <1>; |
| 911 | + #size-cells = <0>; |
| 912 | + status = "disabled"; |
| 913 | + |
| 914 | + port@1 { |
| 915 | + reg = <1>; |
| 916 | + mipi_csi1_ep: endpoint { |
| 917 | + remote-endpoint = <&ov5640_mipi_1_ep>; |
| 918 | + data-lanes = <2>; |
| 919 | + csis-hs-settle = <13>; |
| 920 | + csis-clk-settle = <2>; |
| 921 | + csis-wclk; |
| 922 | + }; |
| 923 | + }; |
| 924 | +}; |
| 925 | + |
| 926 | +&cameradev { |
| 927 | + status = "okay"; |
| 928 | +}; |
| 929 | + |
| 930 | +&isi_0 { |
| 931 | + status = "okay"; |
| 932 | + |
| 933 | + cap_device { |
| 934 | + status = "okay"; |
| 935 | + }; |
| 936 | +}; |
| 937 | + |
| 938 | +&isi_1 { |
| 939 | + status = "disabled"; |
| 940 | + |
| 941 | + cap_device { |
| 942 | + status = "okay"; |
| 943 | + }; |
| 944 | +}; |
0 commit comments