forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/arch/arm64/boot/dts/rockchip/rk3399-evb-ind-lpddr4-android-avb.dts
....@@ -12,7 +12,7 @@
1212 model = "Rockchip RK3399 EVB IND LPDDR4 Board edp (Android)";
1313 compatible = "rockchip,android", "rockchip,rk3399-evb-ind-lpddr4-android", "rockchip,rk3399";
1414 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";
1616 };
1717
1818 iram: sram@ff8d0000 {
....@@ -29,13 +29,6 @@
2929 regulator-max-microvolt = <3300000>;
3030 regulator-boot-on;
3131 vin-supply = <&vcc5v0_sys>;
32
- };
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>;
3932 };
4033
4134 panel: panel {
....@@ -147,29 +140,6 @@
147140 rockchip,camera-module-facing = "back";
148141 };
149142
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
-
173143 gc2145: gc2145@3c{
174144 status = "okay";
175145 compatible = "galaxycore,gc2145";
....@@ -251,35 +221,6 @@
251221 };
252222 };
253223 };
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
- };
283224 };
284225
285226 &i2s2 {
....@@ -312,11 +253,6 @@
312253 remote-endpoint = <&ucam_out0>;
313254 data-lanes = <1 2>;
314255 };
315
- mipi_in_gc8034: endpoint@0 {
316
- reg = <0>;
317
- remote-endpoint = <&gc8034_out>;
318
- data-lanes = <1 2 3 4>;
319
- };
320256 };
321257
322258 port@1 {
....@@ -344,11 +280,6 @@
344280 #address-cells = <1>;
345281 #size-cells = <0>;
346282
347
- hdmi_to_mipi_in: endpoint@0 {
348
- reg = <0>;
349
- remote-endpoint = <&hdmiin_out0>;
350
- data-lanes = <1 2 3 4>;
351
- };
352283 mipi_in_ucam1: endpoint@1 {
353284 reg = <1>;
354285 remote-endpoint = <&ucam_out1>;
....@@ -449,19 +380,6 @@
449380 };
450381
451382 &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
- };
465383 lcd-panel {
466384 lcd_panel_reset: lcd-panel-reset {
467385 rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;