forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
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 {
....@@ -31,13 +31,6 @@
3131 vin-supply = <&vcc5v0_sys>;
3232 };
3333
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>;
39
- };
40
-
4134 panel: panel {
4235 compatible = "simple-panel";
4336 backlight = <&backlight>;
....@@ -46,6 +39,8 @@
4639 prepare-delay-ms = <20>;
4740 reset-delay-ms = <20>;
4841 enable-delay-ms = <20>;
42
+ width-mm = <120>;
43
+ height-mm = <160>;
4944
5045 display-timings {
5146 native-mode = <&timing0>;
....@@ -147,29 +142,6 @@
147142 rockchip,camera-module-facing = "back";
148143 };
149144
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
-
173145 gc2145: gc2145@3c{
174146 status = "okay";
175147 compatible = "galaxycore,gc2145";
....@@ -251,35 +223,6 @@
251223 };
252224 };
253225 };
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
- };
283226 };
284227
285228 &i2s2 {
....@@ -312,11 +255,6 @@
312255 remote-endpoint = <&ucam_out0>;
313256 data-lanes = <1 2>;
314257 };
315
- mipi_in_gc8034: endpoint@0 {
316
- reg = <0>;
317
- remote-endpoint = <&gc8034_out>;
318
- data-lanes = <1 2 3 4>;
319
- };
320258 };
321259
322260 port@1 {
....@@ -344,11 +282,6 @@
344282 #address-cells = <1>;
345283 #size-cells = <0>;
346284
347
- hdmi_to_mipi_in: endpoint@0 {
348
- reg = <0>;
349
- remote-endpoint = <&hdmiin_out0>;
350
- data-lanes = <1 2 3 4>;
351
- };
352285 mipi_in_ucam1: endpoint@1 {
353286 reg = <1>;
354287 remote-endpoint = <&ucam_out1>;
....@@ -449,19 +382,6 @@
449382 };
450383
451384 &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
- };
465385 lcd-panel {
466386 lcd_panel_reset: lcd-panel-reset {
467387 rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;