xref: /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/rk3328-android.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1/*
2 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 */
6
7/ {
8	chosen: chosen {
9		bootargs = "earlycon=uart8250,mmio32,0xff130000 kpti=0 coherent_pool=1m";
10	};
11
12	fiq-debugger {
13		compatible = "rockchip,fiq-debugger";
14		rockchip,serial-id = <2>;
15		rockchip,signal-irq = <159>;
16		rockchip,wake-irq = <0>;
17		/* If enable uart uses irq instead of fiq */
18		rockchip,irq-mode-enable = <0>;
19		rockchip,baudrate = <1500000>;  /* Only 115200 and 1500000 */
20		interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_LOW>;
21		status = "okay";
22	};
23
24	firmware {
25		firmware_android: android {};
26
27		optee: optee {
28			compatible = "linaro,optee-tz";
29			method = "smc";
30		};
31	};
32
33	reserved-memory {
34		#address-cells = <2>;
35		#size-cells = <2>;
36		ranges;
37
38		drm_logo: drm-logo@00000000 {
39			compatible = "rockchip,drm-logo";
40			reg = <0x0 0x0 0x0 0x0>;
41		};
42
43		ramoops: ramoops@110000 {
44			compatible = "ramoops";
45			reg = <0x0 0x110000 0x0 0xf0000>;
46			record-size = <0x20000>;
47			console-size = <0x80000>;
48			ftrace-size = <0x00000>;
49			pmsg-size = <0x50000>;
50		};
51
52		secure_memory: secure-memory@20000000 {
53			compatible = "rockchip,secure-memory";
54			reg = <0x0 0x20000000 0x0 0x0>;
55		};
56
57		/* global autoconfigured region for contiguous allocations */
58		linux,cma {
59			compatible = "shared-dma-pool";
60			reusable;
61			size = <0x0 0x2000000>;
62			linux,cma-default;
63		};
64	};
65};
66
67&display_subsystem {
68	logo-memory-region = <&drm_logo>;
69	status = "okay";
70	secure-memory-region = <&secure_memory>;
71	route {
72		route_hdmi: route-hdmi {
73			status = "okay";
74			logo,uboot = "logo.bmp";
75			logo,kernel = "logo_kernel.bmp";
76			logo,mode = "fullscreen";
77			charge_logo,mode = "fullscreen";
78			connect = <&vop_out_hdmi>;
79		};
80		route_tve: route-tve {
81			status = "okay";
82			logo,uboot = "logo.bmp";
83			logo,kernel = "logo_kernel.bmp";
84			logo,mode = "fullscreen";
85			charge_logo,mode = "fullscreen";
86			connect = <&vop_out_tve>;
87		};
88	};
89};
90
91&rng {
92	status = "okay";
93};
94