Skip to content

Commit

Permalink
Merge pull request radxa-pkg#367 from Ken-Vamrs/main
Browse files Browse the repository at this point in the history
add some overlays support for rock 5t
  • Loading branch information
RadxaYuntian authored Sep 5, 2024
2 parents d03e307 + 0db2d76 commit 4a80549
Show file tree
Hide file tree
Showing 48 changed files with 1,756 additions and 35 deletions.
15 changes: 14 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,20 @@ dtb-$(CONFIG_CPU_RK3588) += \
rock-5b-plus-radxa-display-8hd.dtbo \
rock-5b-plus-radxa-display-10fhd.dtbo \
rock-5b-plus-radxa-display-10hd.dtbo \
rock-5d-radxa-camera-4k.dtbo
rock-5t-cam0-okdo-5mp-camera.dtbo \
rock-5t-cam0-radxa-camera-4k.dtbo \
rock-5t-cam0-radxa-camera-8m-219.dtbo \
rock-5t-cam1-okdo-5mp-camera.dtbo \
rock-5t-cam1-radxa-camera-4k.dtbo \
rock-5t-cam1-radxa-camera-8m-219.dtbo \
rock-5t-cam0-rpi-camera-v1p3.dtbo \
rock-5t-cam1-rpi-camera-v1p3.dtbo \
rock-5t-cam0-rpi-camera-v2.dtbo \
rock-5t-cam1-rpi-camera-v2.dtbo \
rock-5d-radxa-camera-4k.dtbo \
rock-5t-radxa-display-8hd.dtbo \
rock-5t-radxa-display-10fhd.dtbo \
rock-5t-radxa-display-10hd.dtbo

dtb-$(CONFIG_ARCH_ROCKCHIP) += rockchip-watchdog.dtbo

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/ {
metadata {
title = "Disable FIQ Debugger";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,nx5-io", "radxa,cm5-io", "radxa,cm5-rpi-cm4-io";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,rock-5t", "radxa,nx5-io", "radxa,cm5-io", "radxa,cm5-rpi-cm4-io";
category = "misc";
exclusive = "GPIO0_B5", "GPIO0_B6", "fiq_debugger";
description = "Disable FIQ Debugger.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable FIQ Debugger on UART2-M2";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_B1", "GPIO3_B2";
description = "Enable FIQ Debugger on UART2-M2.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable FIQ Debugger on UART3-M1";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_B5", "GPIO3_B6";
description = "Enable FIQ Debugger on UART3-M1.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable FIQ Debugger on UART7-M1";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_C1", "GPIO3_C0";
description = "Enable FIQ Debugger on UART7-M1.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-i2c0-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable I2C0-M1";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO4_C6", "GPIO4_C5";
description = "Enable I2C0-M1.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-i2c3-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/ {
metadata {
title = "Enable I2C3-M1";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_B7", "GPIO3_C0";
description = "Enable I2C3-M1.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-i2c8-m4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/ {
metadata {
title = "Enable I2C8-M4";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_C3", "GPIO3_C2";
description = "Enable I2C8-M4.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm0-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM0-M2";
compatible = "radxa,rock-5a", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,cm5-rpi-cm4-io";
compatible = "radxa,rock-5a", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,rock-5t", "radxa,cm5-rpi-cm4-io";
category = "misc";
exclusive = "GPIO1_A2";
description = "Enable PWM0-M2.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm12-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM12-M0";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_B5";
description = "Enable PWM12-M0.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm13-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM13-M0";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_B6";
description = "Enable PWM13-M0.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm14-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM14-M0";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_C2";
description = "Enable PWM14-M0.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm14-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM14-M1";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,cm5-io", "radxa,cm5-rpi-cm4-io";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,rock-5t", "radxa,cm5-io", "radxa,cm5-rpi-cm4-io";
category = "misc";
exclusive = "GPIO4_B2";
description = "Enable PWM14-M1.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm15-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM15-M0";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_C3";
description = "Enable PWM15-M0.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm15-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM15-M1";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,nx5-io";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,rock-5t", "radxa,nx5-io";
category = "misc";
exclusive = "GPIO4_B3";
description = "Enable PWM15-M1.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm2-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM2-M1";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_B1";
description = "Enable PWM2-M1.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm3-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM3-M1";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_B2";
description = "Enable PWM3-M1.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm5-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM5-M2";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO4_C4";
description = "Enable PWM5-M2.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm6-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM6-M2";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO4_C5";
description = "Enable PWM6-M2.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm7-m3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM7-M3";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO4_C6";
description = "Enable PWM7-M3.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm8-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable PWM8-M0";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_A7";
description = "Enable PWM8-M0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/ {
metadata {
title = "Enable MCP2515 with 8MHz external clock on SPI0-M2 over CS0";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,nx5-io", "radxa,cm5-rpi-cm4-io";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t", "radxa,nx5-io", "radxa,cm5-rpi-cm4-io";
category = "misc";
exclusive = "GPIO1_B2", "GPIO1_B1", "GPIO1_B3", "GPIO1_B4", "GPIO1_B5";
description = "Provide support for Microchip MCP2515 SPI CAN controller.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable spidev on SPI0-M2 over CS0";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,nx5-io", "radxa,cm5-rpi-cm4-io";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,rock-5t", "radxa,nx5-io", "radxa,cm5-rpi-cm4-io";
category = "misc";
exclusive = "GPIO1_B3", "GPIO1_B2", "GPIO1_B1", "GPIO1_B4";
description = "Enable spidev on SPI0-M2 over CS0.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable spidev on SPI0-M2 over CS1";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,nx5-io", "radxa,cm5-rpi-cm4-io";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,rock-5t", "radxa,nx5-io", "radxa,cm5-rpi-cm4-io";
category = "misc";
exclusive = "GPIO1_B2", "GPIO1_B1", "GPIO1_B3", "GPIO1_B5";
description = "Enable spidev on SPI0-M2 over CS1.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable spidev on SPI1-M1 over CS0";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_C2", "GPIO3_C1", "GPIO3_B7", "GPIO3_C0";
description = "Enable spidev on SPI1-M1 over CS0.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/ {
metadata {
title = "Enable MCP2515 with 8MHz external clock on SPI1-M1 over CS1";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_C3", "GPIO3_C1", "GPIO3_B7", "GPIO3_C0", "GPIO1_B2";
description = "Provide support for Microchip MCP2515 SPI CAN controller.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable spidev on SPI1-M1 over CS1";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_C3", "GPIO3_C1", "GPIO3_B7", "GPIO3_C0";
description = "Enable spidev on SPI1-M1 over CS1.";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart2-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable UART2-M0";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,nx5-io", "radxa,cm5-io", "radxa,cm5-rpi-cm4-io";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,rock-5t", "radxa,nx5-io", "radxa,cm5-io", "radxa,cm5-rpi-cm4-io";
category = "misc";
exclusive = "GPIO0_B5", "GPIO0_B6";
description = "Enable UART2-M0.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart2-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable UART2-M2";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_B1", "GPIO3_B2";
description = "Enable UART2-M2.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart3-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable UART3-M1";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_B5", "GPIO3_B6";
description = "Enable UART3-M1.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart4-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable UART4-M2";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,nx5-io", "radxa,cm5-rpi-cm4-io";
compatible = "radxa,rock-5a", "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,rock-5t", "radxa,nx5-io", "radxa,cm5-rpi-cm4-io";
category = "misc";
exclusive= "GPIO1_B3", "GPIO1_B2";
description = "Enable UART4-M2.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable UART7-M1 with Hardware Flow Control";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_C3", "GPIO3_C1", "GPIO3_C0", "GPIO3_C2";
description = "Enable UART7-M1 with hardware flow control.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart7-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable UART7-M1";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_C1", "GPIO3_C0";
description = "Enable UART7-M1.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart7-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable UART7-M2";
compatible = "radxa,rock-5a", "radxa,rock-5b","radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,nx5-io", "radxa,cm5-rpi-cm4-io";
compatible = "radxa,rock-5a", "radxa,rock-5b","radxa,rock-5b-plus", "radxa,rock-5c", "radxa,rock-5d", "radxa,rock-5t", "radxa,nx5-io", "radxa,cm5-rpi-cm4-io";
category = "misc";
exclusive= "GPIO1_B5", "GPIO1_B4";
description = "Enable UART7-M2.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/ {
metadata {
title = "Enable 1-Wire on GPIO3_B3";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus";
compatible = "radxa,rock-5b", "radxa,rock-5b-plus", "radxa,rock-5t";
category = "misc";
exclusive = "GPIO3_B3";
description = "Enable 1-Wire on GPIO3_B3.
Expand Down
Loading

0 comments on commit 4a80549

Please sign in to comment.