Skip to content

Commit

Permalink
Merge pull request radxa-pkg#350 from lsj123lsjlsj/2f
Browse files Browse the repository at this point in the history
feat: add rock 2f to the overlays of the rk3528 series
  • Loading branch information
RadxaYuntian authored Jul 30, 2024
2 parents 9768397 + 24b3dfd commit 4d9bb5f
Show file tree
Hide file tree
Showing 21 changed files with 73 additions and 45 deletions.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3528-dwc3-host.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Set OTG port to Host mode";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "usbdrd_dwc3-dr_mode";
description = "Set OTG port to Host mode.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/overlays/rk3528-dwc3-otg.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/ {
metadata {
title = "Set OTG port to be controlled by hardware switch";
compatible = "unknown";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "usbdrd_dwc3-dr_mode";
description = "Set OTG port to be controlled by hardware switch.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Set OTG port to Peripheral mode";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "usbdrd_dwc3-dr_mode";
description = "Set OTG port to Peripheral mode.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ {
metadata {
title = "Enable analog video output";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "tve";
description = "Enable analog video output.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable FIQ Debugger on UART2-M1";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO1_B0", "GPIO1_B1";
exclusive = "GPIO1_B1", "GPIO1_B0";
description = "Enable FIQ Debugger on UART2-M1.
On Radxa 2A this is RX pin 31 and TX pin 33.";
On Radxa ROCK 2A this is TX pin 33 & RX pin 31.
On Radxa ROCK 2F this is TX pin 33 & RX pin 31.
";
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable FIQ Debugger on UART3-M0";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_B0", "GPIO4_B1";
exclusive = "GPIO4_B1", "GPIO4_B0";
description = "Enable FIQ Debugger on UART3-M0.
On Radxa 2A this is RX pin 16 and TX pin 18.";
On Radxa ROCK 2A this is TX pin 18 & RX pin 16.
On Radxa ROCK 2F this is TX pin 18 & RX pin 16.
";
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable FIQ Debugger on UART3-M1";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_B7", "GPIO4_C0";
exclusive = "GPIO4_C0", "GPIO4_B7";
description = "Enable FIQ Debugger on UART3-M1.
On Radxa 2A this is RX pin 11 and TX pin 13.";
On Radxa ROCK 2A this is TX pin 13 & RX pin 11.
On Radxa ROCK 2F this is TX pin 13 & RX pin 11.
";
};
};

Expand Down
6 changes: 4 additions & 2 deletions arch/arm64/boot/dts/rockchip/overlays/rk3528-i2c0-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
/ {
metadata {
title = "Enable I2C0-M1";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_A0", "GPIO4_A1", "i2c0";
description = "Enable I2C0-M1.
On Radxa 2A this is SDA pin 3 and SCL pin 5.";
On Radxa 2A this is SDA pin 3 and SCL pin 5.
On Radxa 2A this is SDA pin 3 and SCL pin 5.
";
};
};

Expand Down
6 changes: 4 additions & 2 deletions arch/arm64/boot/dts/rockchip/overlays/rk3528-i2c1-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
/ {
metadata {
title = "Enable I2C1-M0";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_A2", "GPIO4_A3", "i2c1";
description = "Enable I2C1-M0.
On Radxa 2A this is SDA pin 27 and SCL pin 28.";
On Radxa 2A this is SDA pin 27 and SCL pin 28.
On Radxa 2A this is SDA pin 27 and SCL pin 28.
";
};
};

Expand Down
6 changes: 4 additions & 2 deletions arch/arm64/boot/dts/rockchip/overlays/rk3528-pwm0-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable PWM0-M0";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_C3";
description = "Enable PWM0-M0.
On Radxa ROCK 2A this is pin 32.";
On Radxa ROCK 2A this is pin 32.
On Radxa ROCK 2F this is pin 32.
";
};
};

Expand Down
6 changes: 4 additions & 2 deletions arch/arm64/boot/dts/rockchip/overlays/rk3528-pwm3-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable PWM3-M0";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_C6";
description = "Enable PWM3-M0.
On Radxa ROCK 2A this is pin 15.";
On Radxa ROCK 2A this is pin 15.
On Radxa ROCK 2F this is pin 15.
";
};
};

Expand Down
8 changes: 5 additions & 3 deletions arch/arm64/boot/dts/rockchip/overlays/rk3528-pwm4-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable PWM4-M0";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_B7";
description = "Enable PWM5-M0.
On Radxa ROCK 2A this is pin 11.";
description = "Enable PWM4-M0.
On Radxa ROCK 2A this is pin 11.
On Radxa ROCK 2F this is pin 11.
";
};
};

Expand Down
6 changes: 4 additions & 2 deletions arch/arm64/boot/dts/rockchip/overlays/rk3528-pwm5-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable PWM5-M0";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_C0";
description = "Enable PWM5-M0.
On Radxa ROCK 2A this is pin 13.";
On Radxa ROCK 2A this is pin 13.
On Radxa ROCK 2F this is pin 13.
";
};
};

Expand Down
10 changes: 6 additions & 4 deletions arch/arm64/boot/dts/rockchip/overlays/rk3528-pwm6-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable PWM6-M0";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_C3";
description = "Enable PWM0-M0.
On Radxa ROCK 2A this is pin 26.";
exclusive = "GPIO4_C1";
description = "Enable PWM6-M0.
On Radxa ROCK 2A this is pin 26.
On Radxa ROCK 2F this is pin 26.
";
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/ {
metadata {
title = "Enable ENC28J60 on SPI0 CS1";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_B2", "GPIO4_B3", "GPIO4_B4", "GPIO4_C1", "GPIO4_C6";
description = "Enable Microchip ENC28J60 SPI Ethernet controller on SPI0 CS1.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

metadata {
title = "Enable MCP2515 on SPI0 CS1";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_B2", "GPIO4_B3", "GPIO4_B4", "GPIO4_C1", "GPIO4_C6";
description = "Enable MCP2515 on SPI0 CS1 with 12 MHz Crystal Oscillator.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/ {
metadata {
title = "Enable spidev on SPI0 over CS1";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_B2", "GPIO4_B3", "GPIO4_B4", "GPIO4_C1";
description = "Enable spidev on SPI0 over CS1.";
Expand Down
8 changes: 5 additions & 3 deletions arch/arm64/boot/dts/rockchip/overlays/rk3528-uart0-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable UART0-M0";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_C7", "GPIO4_D0";
exclusive = "GPIO4_D0", "GPIO4_C7";
description = "Enable UART0-M0.
On Radxa ROCK 2A this is RX pin 10 & TX pin 8.";
On Radxa ROCK 2A this is TX pin 8 & RX pin 10.
On Radxa ROCK 2F this is TX pin 8 & RX pin 10.
";
};
};

Expand Down
8 changes: 5 additions & 3 deletions arch/arm64/boot/dts/rockchip/overlays/rk3528-uart2-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable UART2-M1";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO1_B0", "GPIO1_B1";
exclusive = "GPIO1_B1", "GPIO1_B0";
description = "Enable UART2-M1.
On Radxa ROCK 2A this is RX pin 31 & TX pin 33.";
On Radxa ROCK 2A this is TX pin 33 & RX pin 31.
On Radxa ROCK 2F this is TX pin 33 & RX pin 31.
";
};
};

Expand Down
8 changes: 5 additions & 3 deletions arch/arm64/boot/dts/rockchip/overlays/rk3528-uart3-m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable UART3-M0";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_B0", "GPIO4_B1";
exclusive = "GPIO4_B1", "GPIO4_B0";
description = "Enable UART3-M0.
On Radxa ROCK 2A this is RX pin 16 & TX pin 18.";
On Radxa ROCK 2A this is TX pin 18 & RX pin 16.
On Radxa ROCK 2F this is TX pin 18 & RX pin 16.
";
};
};

Expand Down
8 changes: 5 additions & 3 deletions arch/arm64/boot/dts/rockchip/overlays/rk3528-uart3-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
/ {
metadata {
title = "Enable UART3-M1";
compatible = "radxa,rock-2a";
compatible = "radxa,rock-2a", "radxa,rock-2f";
category = "misc";
exclusive = "GPIO4_B7", "GPIO4_C0";
exclusive = "GPIO4_C0", "GPIO4_B7";
description = "Enable UART3-M1.
On Radxa ROCK 2A this is RX pin 11 & TX pin 13.";
On Radxa ROCK 2A this is TX pin 13 & RX pin 11.
On Radxa ROCK 2F this is TX pin 13 & RX pin 11.
";
};
};

Expand Down

0 comments on commit 4d9bb5f

Please sign in to comment.