mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ARM: dts: rockchip: Add rv1106 thunder boot dtsi
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Change-Id: Ia2f2e0f5d915e122ba13431aab152bf70eef929c
This commit is contained in:
31
arch/arm/boot/dts/rv1106-thunder-boot-emmc.dtsi
Normal file
31
arch/arm/boot/dts/rv1106-thunder-boot-emmc.dtsi
Normal file
@@ -0,0 +1,31 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
#include "rv1106-thunder-boot.dtsi"
|
||||
|
||||
/ {
|
||||
reserved-memory {
|
||||
mmc_ecsd: mmc@3fe00 {
|
||||
reg = <0x3fe00 0x00000800>;
|
||||
};
|
||||
|
||||
mmc_idmac: mmc@100000 {
|
||||
reg = <0x00100000 0x00100000>;
|
||||
};
|
||||
};
|
||||
|
||||
thunder_boot_mmc: thunder-boot-mmc {
|
||||
compatible = "rockchip,thunder-boot-mmc";
|
||||
reg = <0xffa90000 0x4000>;
|
||||
memory-region-src = <&ramdisk_c>;
|
||||
memory-region-dst = <&ramdisk_r>;
|
||||
memory-region-idmac = <&mmc_idmac>;
|
||||
};
|
||||
};
|
||||
|
||||
&emmc {
|
||||
memory-region-ecsd = <&mmc_ecsd>;
|
||||
post-power-on-delay-ms = <0>;
|
||||
};
|
||||
15
arch/arm/boot/dts/rv1106-thunder-boot-spi-nor.dtsi
Normal file
15
arch/arm/boot/dts/rv1106-thunder-boot-spi-nor.dtsi
Normal file
@@ -0,0 +1,15 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
#include "rv1106-thunder-boot.dtsi"
|
||||
|
||||
/ {
|
||||
thunder_boot_spi_nor: thunder-boot-spi-nor {
|
||||
compatible = "rockchip,thunder-boot-sfc";
|
||||
reg = <0xffac0000 0x4000>;
|
||||
memory-region-src = <&ramdisk_c>;
|
||||
memory-region-dst = <&ramdisk_r>;
|
||||
};
|
||||
};
|
||||
35
arch/arm/boot/dts/rv1106-thunder-boot.dtsi
Normal file
35
arch/arm/boot/dts/rv1106-thunder-boot.dtsi
Normal file
@@ -0,0 +1,35 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
/ {
|
||||
memory: memory {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x08000000>;
|
||||
};
|
||||
|
||||
ramdisk: ramdisk {
|
||||
compatible = "rockchip,ramdisk";
|
||||
memory-region = <&ramdisk_r>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
ramdisk_r: ramdisk@a00000 {
|
||||
reg = <0x00a00000 (10 * 0x00100000)>;
|
||||
};
|
||||
|
||||
ramdisk_c: ramdisk@1900000 {
|
||||
reg = <0x001900000 (5 * 0x00100000)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hw_decompress {
|
||||
status = "okay";
|
||||
memory-region = <&ramdisk_c>;
|
||||
};
|
||||
Reference in New Issue
Block a user