| .. | .. |
|---|
| 7 | 7 | * sc4336 0x30 lane2~3(dphy2) |
|---|
| 8 | 8 | * v1.1.0 gc2053 0x37 lane0~1(dphy1) |
|---|
| 9 | 9 | * gc2053 0x3f lane2~3(dphy2) |
|---|
| 10 | + * v1.2.0 sc301iot 0x30 lane0~1(dphy1) |
|---|
| 11 | + * sc301iot 0x32 lane2~3(dphy2) |
|---|
| 10 | 12 | */ |
|---|
| 11 | 13 | |
|---|
| 12 | 14 | &csi2_dphy_hw { |
|---|
| .. | .. |
|---|
| 34 | 36 | csi_dphy_input2: endpoint@2 { |
|---|
| 35 | 37 | reg = <2>; |
|---|
| 36 | 38 | remote-endpoint = <&gc2053_out>; |
|---|
| 39 | + data-lanes = <1 2>; |
|---|
| 40 | + }; |
|---|
| 41 | + |
|---|
| 42 | + csi_dphy_input4: endpoint@3 { |
|---|
| 43 | + reg = <3>; |
|---|
| 44 | + remote-endpoint = <&sc301iot_out>; |
|---|
| 37 | 45 | data-lanes = <1 2>; |
|---|
| 38 | 46 | }; |
|---|
| 39 | 47 | }; |
|---|
| .. | .. |
|---|
| 72 | 80 | csi_dphy_input3: endpoint@2 { |
|---|
| 73 | 81 | reg = <2>; |
|---|
| 74 | 82 | remote-endpoint = <&gc2053_1_out>; |
|---|
| 83 | + data-lanes = <1 2>; |
|---|
| 84 | + }; |
|---|
| 85 | + |
|---|
| 86 | + csi_dphy_input5: endpoint@3 { |
|---|
| 87 | + reg = <3>; |
|---|
| 88 | + remote-endpoint = <&sc301iot_1_out>; |
|---|
| 75 | 89 | data-lanes = <1 2>; |
|---|
| 76 | 90 | }; |
|---|
| 77 | 91 | }; |
|---|
| .. | .. |
|---|
| 139 | 153 | }; |
|---|
| 140 | 154 | }; |
|---|
| 141 | 155 | |
|---|
| 156 | + sc301iot: sc301iot@30 { |
|---|
| 157 | + compatible = "smartsens,sc301iot"; |
|---|
| 158 | + status = "okay"; |
|---|
| 159 | + reg = <0x30>; |
|---|
| 160 | + clocks = <&cru MCLK_REF_MIPI0>; |
|---|
| 161 | + clock-names = "xvclk"; |
|---|
| 162 | + reset-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>; |
|---|
| 163 | + pwdn-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>; |
|---|
| 164 | + pinctrl-names = "default"; |
|---|
| 165 | + pinctrl-0 = <&mipi_refclk_out0>; |
|---|
| 166 | + rockchip,camera-module-index = <0>; |
|---|
| 167 | + rockchip,camera-module-facing = "back"; |
|---|
| 168 | + rockchip,camera-module-name = "CMK-OT2349-PC1"; |
|---|
| 169 | + rockchip,camera-module-lens-name = "65IRC-F20"; |
|---|
| 170 | + port { |
|---|
| 171 | + sc301iot_out: endpoint { |
|---|
| 172 | + remote-endpoint = <&csi_dphy_input4>; |
|---|
| 173 | + data-lanes = <1 2>; |
|---|
| 174 | + }; |
|---|
| 175 | + }; |
|---|
| 176 | + }; |
|---|
| 177 | + |
|---|
| 142 | 178 | sc4336: sc4336@30 { |
|---|
| 143 | 179 | compatible = "smartsens,sc4336"; |
|---|
| 144 | 180 | status = "okay"; |
|---|
| .. | .. |
|---|
| 182 | 218 | }; |
|---|
| 183 | 219 | }; |
|---|
| 184 | 220 | }; |
|---|
| 221 | + |
|---|
| 222 | + sc301iot_1: sc301iot_1@32 { |
|---|
| 223 | + compatible = "smartsens,sc301iot"; |
|---|
| 224 | + status = "okay"; |
|---|
| 225 | + reg = <0x32>; |
|---|
| 226 | + clocks = <&cru MCLK_REF_MIPI1>; |
|---|
| 227 | + clock-names = "xvclk"; |
|---|
| 228 | + reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; |
|---|
| 229 | + pwdn-gpios = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>; |
|---|
| 230 | + pinctrl-names = "default"; |
|---|
| 231 | + pinctrl-0 = <&mipi_refclk_out1>; |
|---|
| 232 | + rockchip,camera-module-index = <1>; |
|---|
| 233 | + rockchip,camera-module-facing = "back"; |
|---|
| 234 | + rockchip,camera-module-name = "CMK-OT2349-PC1"; |
|---|
| 235 | + rockchip,camera-module-lens-name = "65IRC-F20"; |
|---|
| 236 | + port { |
|---|
| 237 | + sc301iot_1_out: endpoint { |
|---|
| 238 | + remote-endpoint = <&csi_dphy_input5>; |
|---|
| 239 | + data-lanes = <1 2>; |
|---|
| 240 | + }; |
|---|
| 241 | + }; |
|---|
| 242 | + }; |
|---|
| 185 | 243 | }; |
|---|
| 186 | 244 | |
|---|
| 187 | 245 | &mipi0_csi2 { |
|---|