Skip to content

Commit

Permalink
arm64: overlays: Add overlay description for rock 5c
Browse files Browse the repository at this point in the history
Signed-off-by: Feng Zhang <[email protected]>
  • Loading branch information
vamrs-feng committed May 13, 2024
1 parent eca1ddb commit 9659b18
Show file tree
Hide file tree
Showing 27 changed files with 75 additions and 25 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlays/rk3588-can1-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
description = "Enable CAN1-M0.
On Radxa ROCK 5A this is RX pin 13 & TX pin 11.
On Radxa ROCK 5B this is RX pin 5 & TX pin 3.
On Radxa ROCK 5C this is RX pin 13 & TX pin 11.
";
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
exclusive = "GPIO1_B3", "GPIO1_B2";
description = "Enable FIQ Debugger on UART4-M2.
On Radxa ROCK 5A this is TX pin 7 and RX pin 29.
On Radxa ROCK 5B this is TX pin 7 & RX pin 29.";
On Radxa ROCK 5B this is TX pin 7 & RX pin 29.
On Radxa ROCK 5C this is TX pin 7 and RX pin 29.
";
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
category = "misc";
exclusive = "GPIO1_A1", "GPIO1_A0";
description = "Enable FIQ Debugger on UART6-M1.
On Radxa ROCK 5A this is TX pin 19 and RX pin 21.";
On Radxa ROCK 5A this is TX pin 19 and RX pin 21.
On Radxa ROCK 5C this is TX pin 19 and RX pin 21.
";
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
description = "Enable FIQ Debugger on UART7-M2.
On Radxa ROCK 5A this is TX pin 22 and RX pin 33.
On Radxa ROCK 5B this is TX pin 26 & RX pin 24.
On Radxa ROCK 5B+ this is TX pin 26 & RX pin 24.";
On Radxa ROCK 5B+ this is TX pin 26 & RX pin 24.
On Radxa ROCK 5C this is TX pin 22 and RX pin 33.
";
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
category = "misc";
exclusive = "GPIO4_B0", "GPIO4_B1";
description = "Enable FIQ Debugger on UART8-M0.
On Radxa ROCK 5A this is TX pin 32 and RX pin 40.";
On Radxa ROCK 5A this is TX pin 32 and RX pin 40.
On Radxa ROCK 5C this is TX pin 32 and RX pin 40.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-i2c1-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
On Radxa ROCK 5A this is SDA pin 10 & SCL pin 8.
On Radxa ROCK 5B this is SDA pin 10 & SCL pin 8.
On Radxa ROCK 5B+ this is SDA pin 10 & SCL pin 8.
On Radxa ROCK 5C this is SDA pin 10 & SCL pin 8.
On Radxa NX5 IO this is SDA pin 10 & SCL pin 8.
On Radxa CM5 IO this is SDA pin 10 & SCL pin 8.
On Radxa CM5 IO this is SDA pin 10 & SCL pin 8.";
On Radxa CM5 IO this is SDA pin 10 & SCL pin 8.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-i2c2-m4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
category = "misc";
exclusive = "GPIO1_A0", "GPIO1_A1";
description = "Enable I2C2-M4.
On Radxa ROCK 5A this is SDA pin 21 and SCL pin 19.";
On Radxa ROCK 5A this is SDA pin 21 and SCL pin 19.
On Radxa ROCK 5C this is SDA pin 21 and SCL pin 19.
";
};
};

Expand Down
6 changes: 4 additions & 2 deletions arch/arm64/boot/dts/rockchip/overlays/rk3588-i2c4-m3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
exclusive = "GPIO1_A2", "GPIO1_A3";
description = "Enable I2C4-M3.
On Radxa ROCK 5A this is SDA pin 23 and SCL pin 24.
On Radxa ROCK 5A this is SDA pin 31 and SCL pin 29.
On Radxa CM5-RPI-CM4-IO this is SDA pin 40 and SCL pin 12.";
On Radxa ROCK 5B+ this is SDA pin 31 and SCL pin 29.
On Radxa ROCK 5C this is SDA pin 23 and SCL pin 24.
On Radxa CM5-RPI-CM4-IO this is SDA pin 40 and SCL pin 12.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-i2c6-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
exclusive = "GPIO0_C7", "GPIO0_D0";
description = "Enable I2C6-M0.
On Radxa ROCK 5A this is SDA pin 27 and SCL pin 28.
On Radxa CM5-RPI-CM4-IO this is SDA pin 3 and SCL pin 5.";
On Radxa ROCK 5C this is SDA pin 27 and SCL pin 28.
On Radxa CM5-RPI-CM4-IO this is SDA pin 3 and SCL pin 5.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-i2c6-m3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
category = "misc";
exclusive = "GPIO4_B0", "GPIO4_B1";
description = "Enable I2C6-M3.
On Radxa ROCK 5A this is SDA pin 32 and SCL pin 40.";
On Radxa ROCK 5A this is SDA pin 32 and SCL pin 40.
On Radxa ROCK 5C this is SDA pin 32 and SCL pin 40.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-i2c8-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
category = "misc";
exclusive = "GPIO1_D6", "GPIO1_D7";
description = "Enable I2C8-M2.
On Radxa ROCK 5A this is SDA pin 3 and SCL pin 5.";
On Radxa ROCK 5A this is SDA pin 3 and SCL pin 5.
On Radxa ROCK 5C this is SDA pin 3 and SCL pin 5.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm0-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
description = "Enable PWM0-M2.
On Radxa ROCK 5A this is pin 23.
On Radxa ROCK 5B+ this is pin 31.
On Radxa CM5-RPI-CM4-IO this is pin 40.";
On Radxa ROCK 5C this is pin 23.
On Radxa CM5-RPI-CM4-IO this is pin 40.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm1-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
category = "misc";
exclusive = "GPIO1_A3";
description = "Enable PWM1-M2.
On Radxa ROCK 5A this is pin 24.";
On Radxa ROCK 5A this is pin 24.
On Radxa ROCK 5C this is pin 24.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm11-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
category = "misc";
exclusive = "GPIO4_B4";
description = "Enable PWM11-M1.
On Radxa ROCK 5A this is pin 15.";
On Radxa ROCK 5A this is pin 15.
On Radxa ROCK 5C this is pin 15.
";
};
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm14-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
On Radxa ROCK 5A this is pin 13.
On Radxa ROCK 5B this is pin 5.
On Radxa ROCK 5B+ this is pin 5.
On Radxa ROCK 5C this is pin 13.
On Radxa CM5 IO this is pin 24.
On Radxa CM5 RPI CM4 IO this is pin 32.
";
Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm14-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
category = "misc";
exclusive = "GPIO1_D6";
description = "Enable PWM14-M2.
On Radxa ROCK 5A this is pin 5.";
On Radxa ROCK 5A this is pin 5.
On Radxa ROCK 5C this is pin 5.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm15-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
On Radxa ROCK 5A this is pin 11.
On Radxa ROCK 5B this is pin 3.
On Radxa ROCK 5B+ this is pin 3.
On Radxa NX5 IO this is pin 32.";
On Radxa ROCK 5C this is pin 11.
On Radxa NX5 IO this is pin 32.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm15-m3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
description = "Enable PWM15-M3.
On Radxa ROCK 5A this is pin 3.
On Radxa ROCK 5B this is pin 29.
On Radxa CM5-RPI-CM4-IO this is pin 27.";
On Radxa ROCK 5C this is pin 3.
On Radxa CM5-RPI-CM4-IO this is pin 27.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm6-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
exclusive = "GPIO0_C7";
description = "Enable PWM6-M0.
On Radxa ROCK 5A this is pin 27.
On Radxa ROCK 5C this is pin 27.
On Radxa CM5 IO this is pin 31.
On Radxa CM5 RPI CM4 IO this is pin 5.";
On Radxa CM5 RPI CM4 IO this is pin 5.
";
};
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlays/rk3588-pwm7-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
exclusive = "GPIO0_D0";
description = "Enable PWM7-M0.
On Radxa ROCK 5A this is pin 28.
On Radxa ROCK 5C this is pin 28.
On Radxa CM5 IO this is pin 29.
On Radxa CM5 RPI CM4 IO this is pin 3.
";
Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart2-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
On Radxa ROCK 5A this is TX pin 8 & RX pin 10.
On Radxa ROCK 5B this is TX pin 8 & RX pin 10.
On Radxa ROCK 5B+ this is TX pin 8 & RX pin 10.
On Radxa ROCK 5C this is TX pin 8 & RX pin 10.
On Radxa NX5 IO this is TX pin 8 & RX pin 10.
On Radxa CM5 IO this is TX pin 8 & RX pin 10.
On Radxa CM5 RPI CM4 IO this is TX pin 8 & RX pin 10.";
On Radxa CM5 RPI CM4 IO this is TX pin 8 & RX pin 10.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart4-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
description = "Enable UART4-M2.
On Radxa ROCK 5A this is TX pin 7 & RX pin 29.
On Radxa ROCK 5B this is TX pin 23 & RX pin 19.
On Radxa ROCK 5C this is TX pin 7 & RX pin 29.
On Radxa NX5 IO this is TX pin 23 & RX pin 19.
On Radxa CM5 RPI CM4 IO this is TX pin 23 & RX pin 19.";
On Radxa CM5 RPI CM4 IO this is TX pin 23 & RX pin 19.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart6-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
category = "misc";
exclusive= "GPIO1_A1", "GPIO1_A0";
description = "Enable UART6-M1.
On Radxa ROCK 5A this is TX pin 19 and RX pin 21.";
On Radxa ROCK 5A this is TX pin 19 and RX pin 21.
On Radxa ROCK 5C this is TX pin 19 and RX pin 21.
";
};
};

Expand Down
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart6-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
category = "misc";
exclusive= "GPIO1_D0", "GPIO1_D1";
description = "Enable UART6-M2.
On Radxa ROCK 5A this is TX pin 22 & RX pin 37.";
On Radxa NX5 IO this is TX pin 22 & RX pin 37.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart7-m2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
description = "Enable UART7-M2.
On Radxa ROCK 5A this is TX pin 22 and RX pin 33.
On Radxa ROCK 5B this is TX pin 26 & RX pin 24.
On Radxa ROCK 5C this is TX pin 22 and RX pin 33.
On Radxa NX5 IO this is TX pin 26 & RX pin 24.
On Radxa CM5 RPI CM4 IO this is TX pin 26 & RX pin 24.";
On Radxa CM5 RPI CM4 IO this is TX pin 26 & RX pin 24.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-uart8-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
category = "misc";
exclusive= "GPIO4_B0", "GPIO4_B1";
description = "Enable UART8-M0.
On Radxa ROCK 5A this is TX pin 32 and RX pin 40.";
On Radxa ROCK 5A this is TX pin 32 and RX pin 40.
On Radxa ROCK 5C this is TX pin 32 and RX pin 40.
";
};
};

Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3588-w1-gpio4-b1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
category = "misc";
exclusive = "GPIO4_B1";
description = "Enable 1-Wire on GPIO4_B1.
On Radxa ROCK 5A this is pin 40.";
On Radxa ROCK 5A this is pin 40.
On Radxa ROCK 5C this is pin 40.
";
};
};

Expand Down

0 comments on commit 9659b18

Please sign in to comment.