| .. | .. |
|---|
| 1 | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
|---|
| 2 | 2 | /* |
|---|
| 3 | | - * Copyright (c) 2022 Rockchip Electronics Co., Ltd. |
|---|
| 3 | + * Copyright (c) 2023 Rockchip Electronics Co., Ltd. |
|---|
| 4 | 4 | * |
|---|
| 5 | 5 | */ |
|---|
| 6 | 6 | |
|---|
| .. | .. |
|---|
| 43 | 43 | csi_dphy_input4: endpoint@4 { |
|---|
| 44 | 44 | reg = <4>; |
|---|
| 45 | 45 | remote-endpoint = <&jx_k17_out>; |
|---|
| 46 | + data-lanes = <1 2>; |
|---|
| 47 | + }; |
|---|
| 48 | + csi_dphy_input5: endpoint@5 { |
|---|
| 49 | + reg = <5>; |
|---|
| 50 | + remote-endpoint = <&sc3338_out>; |
|---|
| 46 | 51 | data-lanes = <1 2>; |
|---|
| 47 | 52 | }; |
|---|
| 48 | 53 | }; |
|---|
| .. | .. |
|---|
| 110 | 115 | }; |
|---|
| 111 | 116 | }; |
|---|
| 112 | 117 | |
|---|
| 118 | + sc3338: sc3338@30 { |
|---|
| 119 | + compatible = "smartsens,sc3338"; |
|---|
| 120 | + status = "okay"; |
|---|
| 121 | + reg = <0x30>; |
|---|
| 122 | + clocks = <&cru MCLK_REF_MIPI0>; |
|---|
| 123 | + clock-names = "xvclk"; |
|---|
| 124 | + reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>; |
|---|
| 125 | + pwdn-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>; |
|---|
| 126 | + pinctrl-names = "default"; |
|---|
| 127 | + pinctrl-0 = <&mipi_refclk_out0>; |
|---|
| 128 | + rockchip,camera-module-index = <0>; |
|---|
| 129 | + rockchip,camera-module-facing = "back"; |
|---|
| 130 | + rockchip,camera-module-name = "FKO1"; |
|---|
| 131 | + rockchip,camera-module-lens-name = "30IRC-F16"; |
|---|
| 132 | + port { |
|---|
| 133 | + sc3338_out: endpoint { |
|---|
| 134 | + remote-endpoint = <&csi_dphy_input5>; |
|---|
| 135 | + data-lanes = <1 2>; |
|---|
| 136 | + }; |
|---|
| 137 | + }; |
|---|
| 138 | + }; |
|---|
| 139 | + |
|---|
| 113 | 140 | sc4336: sc4336@30 { |
|---|
| 114 | 141 | compatible = "smartsens,sc4336"; |
|---|
| 115 | 142 | status = "okay"; |
|---|