Skip to content

Commit 859175c

Browse files
Xuhanruirkhuangtao
authored andcommitted
ARM: dts: add secure drm buffer for rk3229
default disabled Change-Id: Iea0bfa746de22ba59e356e9eb1f2f957fabcda50 Signed-off-by: Hery Xu <xhr@rock-chips.com>
1 parent 440b073 commit 859175c

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

arch/arm/boot/dts/rk3229-evb-android.dts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
&display_subsystem {
210210
logo-memory-region = <&drm_logo>;
211211
status = "okay";
212-
212+
secure-memory-region = <&secure_memory>;
213213
route {
214214
route_hdmi: route-hdmi {
215215
status = "okay";
@@ -266,6 +266,14 @@
266266
vccio4-supply = <&vccio_3v3_reg>;
267267
};
268268

269+
&secure_memory {
270+
/*
271+
* enable like this:
272+
* reg = <0x80000000 0x10000000>;
273+
*/
274+
reg = <0x80000000 0x0>;
275+
};
276+
269277
&i2c0 {
270278
status = "okay";
271279

arch/arm/boot/dts/rk322x-android.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@
9292
reg = <0x0 0x0>;
9393
};
9494

95+
secure_memory: secure-memory@80000000 {
96+
compatible = "rockchip,secure-memory";
97+
reg = <0x80000000 0x0>;
98+
};
99+
95100
ramoops_mem: ramoops@62e00000 {
96101
reg = <0x62e00000 0xf0000>;
97102
};

0 commit comments

Comments
 (0)