rk3588-15suo-sc2210-dphy0.dtsi 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. &csi2_dphy0_hw {
  2. status = "okay";
  3. };
  4. &csi2_dphy1_hw {
  5. status = "okay";
  6. };
  7. &csi2_dphy4 {
  8. status = "okay";
  9. ports {
  10. #address-cells = <1>;
  11. #size-cells = <0>;
  12. port@0 {
  13. reg = <0>;
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. mipidphy4_in_ucam0: endpoint@1 {
  17. reg = <1>;
  18. remote-endpoint = <&sc2210_out1>;
  19. data-lanes = <1 2>;
  20. };
  21. };
  22. port@1 {
  23. reg = <1>;
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. csidphy4_out: endpoint@0 {
  27. reg = <0>;
  28. remote-endpoint = <&mipi4_csi2_input>;
  29. };
  30. };
  31. };
  32. };
  33. &i2c4 {
  34. status = "okay";
  35. pinctrl-0 = <&i2c4m0_xfer>;
  36. dw9763_1: dw9763-1@c {
  37. compatible = "dongwoon,dw9763";
  38. status = "disable";
  39. reg = <0x0c>;
  40. rockchip,vcm-max-current = <120>;
  41. rockchip,vcm-start-current = <20>;
  42. rockchip,vcm-rated-current = <90>;
  43. rockchip,vcm-step-mode = <3>;
  44. rockchip,vcm-t-src = <0x20>;
  45. rockchip,vcm-t-div = <1>;
  46. rockchip,camera-module-index = <0>;
  47. rockchip,camera-module-facing = "back";
  48. };
  49. sc2210_1: sc2210-1@30 {
  50. compatible = "smartsens,sc2210";
  51. status = "okay";
  52. reg = <0x30>;
  53. clocks = <&cru CLK_MIPI_CAMARAOUT_M3>;
  54. clock-names = "xvclk";
  55. power-domains = <&power RK3588_PD_VI>;
  56. // power-gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;
  57. reset-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>;
  58. pwdn-gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>;
  59. pinctrl-names = "default";
  60. pinctrl-0 = <&mipim0_camera3_clk>;
  61. rockchip,camera-module-index = <0>;
  62. rockchip,camera-module-facing = "back";
  63. rockchip,camera-module-name = "CMK-OT2016-FV1";
  64. rockchip,camera-module-lens-name = "default";
  65. lens-focus = <&dw9763_1>;
  66. port {
  67. sc2210_out1: endpoint {
  68. remote-endpoint = <&mipidphy4_in_ucam0>;
  69. data-lanes = <1 2>;
  70. };
  71. };
  72. };
  73. };
  74. //&mipi_dcphy0 {
  75. // status = "okay";
  76. //};
  77. //&mipi_dcphy1 {
  78. // status = "okay";
  79. //};
  80. &mipi4_csi2 {
  81. status = "okay";
  82. ports {
  83. #address-cells = <1>;
  84. #size-cells = <0>;
  85. port@0 {
  86. reg = <0>;
  87. #address-cells = <1>;
  88. #size-cells = <0>;
  89. mipi4_csi2_input: endpoint@1 {
  90. reg = <1>;
  91. remote-endpoint = <&csidphy4_out>;
  92. };
  93. };
  94. port@1 {
  95. reg = <1>;
  96. #address-cells = <1>;
  97. #size-cells = <0>;
  98. mipi4_csi2_output: endpoint@0 {
  99. reg = <0>;
  100. remote-endpoint = <&cif_mipi_in4>;
  101. };
  102. };
  103. };
  104. };
  105. &rkcif {
  106. status = "okay";
  107. };
  108. &rkcif_mipi_lvds4 {
  109. status = "okay";
  110. port {
  111. cif_mipi_in4: endpoint {
  112. remote-endpoint = <&mipi4_csi2_output>;
  113. };
  114. };
  115. };
  116. &rkcif_mipi_lvds4_sditf {
  117. status = "okay";
  118. port {
  119. mipi4_lvds_sditf: endpoint {
  120. remote-endpoint = <&isp1_vir1>;
  121. };
  122. };
  123. };
  124. &rkcif_mmu {
  125. status = "okay";
  126. };
  127. &rkisp0 {
  128. status = "okay";
  129. };
  130. &rkisp1 {
  131. status = "okay";
  132. };
  133. &isp0_mmu {
  134. status = "okay";
  135. };
  136. &isp1_mmu {
  137. status = "okay";
  138. };
  139. &rkisp1_vir1 {
  140. status = "okay";
  141. port {
  142. #address-cells = <1>;
  143. #size-cells = <0>;
  144. isp1_vir1: endpoint@0 {
  145. reg = <0>;
  146. remote-endpoint = <&mipi4_lvds_sditf>;
  147. };
  148. };
  149. };