Skip to content

Commit

Permalink
Merge tag 'v6.7-rockchip-dts64-2' of git://git.kernel.org/pub/scm/lin…
Browse files Browse the repository at this point in the history
…ux/kernel/git/mmind/linux-rockchip into soc/dt

One new board the Turing RK1 system on module.
Support for DFI (DDR performance monitoring) for rk3588, rk3568 and an
enable-fix for rk3399 as well as some small fixups for the RGB30 handheld
(non-existent uart and better vpll frequency).

* tag 'v6.7-rockchip-dts64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  arm64: dts: rockchip: Add Turing RK1 SoM support
  dt-bindings: arm: rockchip: Add Turing RK1
  dt-bindings: vendor-prefixes: add turing
  arm64: dts: rockchip: Add DFI to rk3588s
  arm64: dts: rockchip: Add DFI to rk356x
  arm64: dts: rockchip: Always enable DFI on rk3399
  arm64: dts: rockchip: Remove UART2 from RGB30
  arm64: dts: rockchip: Update VPLL Frequency for RGB30

Link: https://lore.kernel.org/r/2777623.BEx9A2HvPv@phil
Signed-off-by: Arnd Bergmann <[email protected]>
  • Loading branch information
arndb committed Oct 25, 2023
2 parents f652f84 + 2806a69 commit c505e1e
Show file tree
Hide file tree
Showing 9 changed files with 676 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/arm/rockchip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,11 @@ properties:
- const: tronsmart,orion-r68-meta
- const: rockchip,rk3368

- description: Turing RK1
items:
- const: turing,rk1
- const: rockchip,rk3588

- description: Xunlong Orange Pi 5 Plus
items:
- const: xunlong,orangepi-5-plus
Expand Down
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/vendor-prefixes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1438,6 +1438,8 @@ patternProperties:
description: Truly Semiconductors Limited
"^tsd,.*":
description: Theobroma Systems Design und Consulting GmbH
"^turing,.*":
description: Turing Machines, Inc.
"^tyan,.*":
description: Tyan Computer Corporation
"^u-blox,.*":
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-nanopc-t6.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-orangepi-5-plus.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-quartzpro64.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-turing-rk1.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-indiedroid-nova.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-khadas-edge2.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb
Expand Down
1 change: 0 additions & 1 deletion arch/arm64/boot/dts/rockchip/rk3399.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,6 @@
interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&cru PCLK_DDR_MON>;
clock-names = "pclk_ddr_mon";
status = "disabled";
};

vpu: video-codec@ff650000 {
Expand Down
11 changes: 10 additions & 1 deletion arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,15 @@

/delete-node/ &adc_keys;

&chosen {
/delete-property/ stdout-path;
};

&cru {
assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
<&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
assigned-clock-rates = <32768>, <1200000000>,
<200000000>, <108000000>;
<200000000>, <292500000>;
};

&gpio_keys_control {
Expand Down Expand Up @@ -149,4 +153,9 @@
};
};

/* There is no UART header visible on the board for this device. */
&uart2 {
status = "disabled";
};

/delete-node/ &vibrator;
7 changes: 7 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk356x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,13 @@
reg = <0x0 0xfe1a8100 0x0 0x20>;
};

dfi: dfi@fe230000 {
compatible = "rockchip,rk3568-dfi";
reg = <0x00 0xfe230000 0x00 0x400>;
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
rockchip,pmu = <&pmugrf>;
};

pcie2x1: pcie@fe260000 {
compatible = "rockchip,rk3568-pcie";
reg = <0x3 0xc0000000 0x0 0x00400000>,
Expand Down
21 changes: 21 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* This device tree covers the common case where the RK1 is used as a
* "compute node" system, where the carrier board is functioning more like a
* generic backplane (with no non-autoenumerable peripherals of its own) than
* like a device that the SoM is meant to enable.
*
* Copyright (c) 2023 Sam Edwards <[email protected]>
*/

/dts-v1/;
#include "rk3588-turing-rk1.dtsi"

/ {
model = "Turing Machines RK1";
compatible = "turing,rk1", "rockchip,rk3588";

chosen {
stdout-path = "serial9:115200n8";
};
};
Loading

0 comments on commit c505e1e

Please sign in to comment.