Skip to content

Commit a7bb236

Browse files
authored
Add Board: Radxa Rock-4D (#391)
* Add Board: Radxa Rock-4D * Add Rock-4D SPI variant * Fix Rock4D Makefile typo * RK3576: Rock-4D delete bootargs in devicetree
1 parent c5fe17e commit a7bb236

File tree

3 files changed

+799
-0
lines changed

3 files changed

+799
-0
lines changed

arch/arm64/boot/dts/rockchip/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-iotest-v10.dtb
308308
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-iotest-v10-edp2dp.dtb
309309
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-iotest-v10-linux.dtb
310310
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-nvr-v10.dtb
311+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-rock-4d.dtb
312+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-rock-4d-spi.dtb
311313
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-tablet-v10.dtb
312314
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-tablet-v11.dtb
313315
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-test1-v10.dtb
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2025 Rockchip Electronics Co., Ltd.
4+
* Copyright (c) 2025 Radxa Computer (Shenzhen) Co., Ltd.
5+
*
6+
*/
7+
8+
/dts-v1/;
9+
10+
#include "rk3576-rock-4d.dts"
11+
12+
/ {
13+
model = "Radxa ROCK 4D SPI";
14+
compatible = "radxa,rock-4d-spi", "radxa,rock-4d", "rockchip,rk3576";
15+
};
16+
17+
&sfc0 {
18+
status = "okay";
19+
max-freq = <50000000>;
20+
#address-cells = <1>;
21+
#size-cells = <0>;
22+
pinctrl-names = "default";
23+
pinctrl-0 = <&fspi0_pins>;
24+
25+
spi_flash: spi-flash@0 {
26+
#address-cells = <1>;
27+
#size-cells = <0>;
28+
compatible = "jedec,spi-nor";
29+
reg = <0x0>;
30+
spi-max-frequency = <50000000>;
31+
spi-tx-bus-width = <1>;
32+
spi-rx-bus-width = <4>;
33+
status = "okay";
34+
35+
partitions {
36+
compatible = "fixed-partitions";
37+
#address-cells = <1>;
38+
#size-cells = <1>;
39+
40+
loader@0 {
41+
label = "loader";
42+
reg = <0x0 0x1000000>;
43+
};
44+
};
45+
};
46+
};
47+
48+
&sdhci {
49+
status = "disabled";
50+
};

0 commit comments

Comments
 (0)