Skip to content

Commit c505e1e

Browse files
committed
Merge tag 'v6.7-rockchip-dts64-2' of git://git.kernel.org/pub/scm/linux/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]>
2 parents f652f84 + 2806a69 commit c505e1e

File tree

9 files changed

+676
-2
lines changed

9 files changed

+676
-2
lines changed

Documentation/devicetree/bindings/arm/rockchip.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,11 @@ properties:
880880
- const: tronsmart,orion-r68-meta
881881
- const: rockchip,rk3368
882882

883+
- description: Turing RK1
884+
items:
885+
- const: turing,rk1
886+
- const: rockchip,rk3588
887+
883888
- description: Xunlong Orange Pi 5 Plus
884889
items:
885890
- const: xunlong,orangepi-5-plus

Documentation/devicetree/bindings/vendor-prefixes.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,6 +1438,8 @@ patternProperties:
14381438
description: Truly Semiconductors Limited
14391439
"^tsd,.*":
14401440
description: Theobroma Systems Design und Consulting GmbH
1441+
"^turing,.*":
1442+
description: Turing Machines, Inc.
14411443
"^tyan,.*":
14421444
description: Tyan Computer Corporation
14431445
"^u-blox,.*":

arch/arm64/boot/dts/rockchip/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-nanopc-t6.dtb
105105
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-orangepi-5-plus.dtb
106106
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-quartzpro64.dtb
107107
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b.dtb
108+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-turing-rk1.dtb
108109
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-indiedroid-nova.dtb
109110
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-khadas-edge2.dtb
110111
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb

arch/arm64/boot/dts/rockchip/rk3399.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,6 @@
13581358
interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH 0>;
13591359
clocks = <&cru PCLK_DDR_MON>;
13601360
clock-names = "pclk_ddr_mon";
1361-
status = "disabled";
13621361
};
13631362

13641363
vpu: video-codec@ff650000 {

arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,15 @@
6464

6565
/delete-node/ &adc_keys;
6666

67+
&chosen {
68+
/delete-property/ stdout-path;
69+
};
70+
6771
&cru {
6872
assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
6973
<&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
7074
assigned-clock-rates = <32768>, <1200000000>,
71-
<200000000>, <108000000>;
75+
<200000000>, <292500000>;
7276
};
7377

7478
&gpio_keys_control {
@@ -149,4 +153,9 @@
149153
};
150154
};
151155

156+
/* There is no UART header visible on the board for this device. */
157+
&uart2 {
158+
status = "disabled";
159+
};
160+
152161
/delete-node/ &vibrator;

arch/arm64/boot/dts/rockchip/rk356x.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,13 @@
959959
reg = <0x0 0xfe1a8100 0x0 0x20>;
960960
};
961961

962+
dfi: dfi@fe230000 {
963+
compatible = "rockchip,rk3568-dfi";
964+
reg = <0x00 0xfe230000 0x00 0x400>;
965+
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
966+
rockchip,pmu = <&pmugrf>;
967+
};
968+
962969
pcie2x1: pcie@fe260000 {
963970
compatible = "rockchip,rk3568-pcie";
964971
reg = <0x3 0xc0000000 0x0 0x00400000>,
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* This device tree covers the common case where the RK1 is used as a
4+
* "compute node" system, where the carrier board is functioning more like a
5+
* generic backplane (with no non-autoenumerable peripherals of its own) than
6+
* like a device that the SoM is meant to enable.
7+
*
8+
* Copyright (c) 2023 Sam Edwards <[email protected]>
9+
*/
10+
11+
/dts-v1/;
12+
#include "rk3588-turing-rk1.dtsi"
13+
14+
/ {
15+
model = "Turing Machines RK1";
16+
compatible = "turing,rk1", "rockchip,rk3588";
17+
18+
chosen {
19+
stdout-path = "serial9:115200n8";
20+
};
21+
};

0 commit comments

Comments
 (0)