Skip to content

Commit 29a0522

Browse files
committed
Merge tag 'v6.14-rockchip-dts64-1' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into soc/dt
New boards rk3576-evb1, H96 Max V58 TV Box (rk3588), BigTreeTech CB2 (SoM + baseboard) and Pi2 (SBC), Firefly ITX-3588J (Core-3588J SoM), Orange Pi 5 Max. A interesting case is the Radxa E52C using a soc called rk3582. This is rk3588-variant where some cpu cores are disabled during production and the bootloader needs to read the available cores from efuses and adapt the DT it hands over to the kernel. New supported peripherals are just the naneng combophy + the usb controllers using them on the rk3576 as well as the arm,smmu attached to the PCI controller on rk3588. And finally there are of course a number of board-specific enablements and refinements (MCU on Qnap-TS433, USB3 on NanoPi R6C/R6S and Orange Pi 5+ etc. * tag 'v6.14-rockchip-dts64-1' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (31 commits) arm64: dts: rockchip: add DTs for Firefly ITX-3588J and its Core-3588J SoM dt-bindings: arm: rockchip: Add Firefly ITX-3588J board arm64: dts: rockchip: Add Orange Pi 5 Max board dt-bindings: arm: rockchip: Add Xunlong Orange Pi 5 Max arm64: dts: rockchip: refactor common rk3588-orangepi-5.dtsi arm64: dts: rockchip: add WLAN to rk3588-evb1 controller arm64: dts: rockchip: increase gmac rx_delay on rk3399-puma arm64: dts: rockchip: Delete redundant RK3328 GMAC stability fixes arm64: dts: rockchip: enable hdmi out audio on wolfvision pf5 arm64: dts: rockchip: fix num-channels property of wolfvision pf5 mic arm64: dts: rockchip: Enable the USB 3.0 port on NanoPi R6C/R6S arm64: dts: rockchip: Add FRAM MB85RS128TY to rk3568-mecsbc arm64: dts: rockchip: Remove unused i2c2 node from rk3568-mecsbc arm64: dts: rockchip: Fix PCIe3 handling for Edgeble-6TOPS Modules arm64: dts: rockchip: Add Radxa E52C dt-bindings: arm: rockchip: Add Radxa E52C arm64: dts: rockchip: Add BigTreeTech CB2 and Pi2 dt-bindings: arm: rockchip: Add BigTreeTech CB2 and Pi2 arm64: dts: rockchip: Enable USB 3.0 ports on orangepi-5-plus arm64: dts: rockchip: Add H96 Max V58 TV Box based on RK3588 SoC ... Link: https://lore.kernel.org/r/2193001.3Lj2Plt8kZ@diego Signed-off-by: Arnd Bergmann <[email protected]>
2 parents ce48056 + ebe82df commit 29a0522

31 files changed

+6027
-811
lines changed

Documentation/devicetree/bindings/arm/rockchip.yaml

Lines changed: 65 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,17 @@ properties:
8181
- const: azw,beelink-a1
8282
- const: rockchip,rk3328
8383

84+
- description: BigTreeTech CB2 Manta M4/8P
85+
items:
86+
- const: bigtreetech,cb2-manta
87+
- const: bigtreetech,cb2
88+
- const: rockchip,rk3566
89+
90+
- description: BigTreeTech Pi 2
91+
items:
92+
- const: bigtreetech,pi2
93+
- const: rockchip,rk3566
94+
8495
- description: bq Curie 2 tablet
8596
items:
8697
- const: mundoreader,bq-curie2
@@ -167,6 +178,13 @@ properties:
167178
- const: engicam,px30-core
168179
- const: rockchip,px30
169180

181+
- description: Firefly Core-3588J-based boards
182+
items:
183+
- enum:
184+
- firefly,itx-3588j
185+
- const: firefly,core-3588j
186+
- const: rockchip,rk3588
187+
170188
- description: Firefly Core-PX30-JD4 on MB-JD4-PX30 baseboard
171189
items:
172190
- const: firefly,px30-jd4-core-mb
@@ -597,6 +615,11 @@ properties:
597615
- const: google,veyron
598616
- const: rockchip,rk3288
599617

618+
- description: H96 Max V58 TV Box
619+
items:
620+
- const: haochuangyi,h96-max-v58
621+
- const: rockchip,rk3588
622+
600623
- description: Haoyu MarsBoard RK3066
601624
items:
602625
- const: haoyu,marsboard-rk3066
@@ -812,6 +835,12 @@ properties:
812835
- const: radxa,e20c
813836
- const: rockchip,rk3528
814837

838+
- description: Radxa E52C
839+
items:
840+
- const: radxa,e52c
841+
- const: rockchip,rk3582
842+
- const: rockchip,rk3588s
843+
815844
- description: Radxa Rock
816845
items:
817846
- const: radxa,rock
@@ -1006,6 +1035,21 @@ properties:
10061035
- const: rockchip,rk3399-sapphire-excavator
10071036
- const: rockchip,rk3399
10081037

1038+
- description: Rockchip RK3566 BOX Evaluation Demo board
1039+
items:
1040+
- const: rockchip,rk3566-box-demo
1041+
- const: rockchip,rk3566
1042+
1043+
- description: Rockchip RK3568 Evaluation board
1044+
items:
1045+
- const: rockchip,rk3568-evb1-v10
1046+
- const: rockchip,rk3568
1047+
1048+
- description: Rockchip RK3576 Evaluation board
1049+
items:
1050+
- const: rockchip,rk3576-evb1-v10
1051+
- const: rockchip,rk3576
1052+
10091053
- description: Rockchip RK3588 Evaluation board
10101054
items:
10111055
- const: rockchip,rk3588-evb1-v10
@@ -1026,6 +1070,23 @@ properties:
10261070
- const: rockchip,rk3588-toybrick-x0
10271071
- const: rockchip,rk3588
10281072

1073+
- description: Sinovoip RK3308 Banana Pi P2 Pro
1074+
items:
1075+
- const: sinovoip,rk3308-bpi-p2pro
1076+
- const: rockchip,rk3308
1077+
1078+
- description: Sinovoip RK3568 Banana Pi R2 Pro
1079+
items:
1080+
- const: sinovoip,rk3568-bpi-r2pro
1081+
- const: rockchip,rk3568
1082+
1083+
- description: Sonoff iHost Smart Home Hub
1084+
items:
1085+
- const: itead,sonoff-ihost
1086+
- enum:
1087+
- rockchip,rv1126
1088+
- rockchip,rv1109
1089+
10291090
- description: Theobroma Systems PX30-uQ7 with Haikou baseboard
10301091
items:
10311092
- const: tsd,px30-ringneck-haikou
@@ -1075,9 +1136,11 @@ properties:
10751136
- const: xunlong,orangepi-3b
10761137
- const: rockchip,rk3566
10771138

1078-
- description: Xunlong Orange Pi 5 Plus
1139+
- description: Xunlong Orange Pi 5 Max/Plus
10791140
items:
1080-
- const: xunlong,orangepi-5-plus
1141+
- enum:
1142+
- xunlong,orangepi-5-max
1143+
- xunlong,orangepi-5-plus
10811144
- const: rockchip,rk3588
10821145

10831146
- description: Xunlong Orange Pi R1 Plus / LTS
@@ -1099,33 +1162,6 @@ properties:
10991162
- const: zkmagic,a95x-z2
11001163
- const: rockchip,rk3318
11011164

1102-
- description: Rockchip RK3566 BOX Evaluation Demo board
1103-
items:
1104-
- const: rockchip,rk3566-box-demo
1105-
- const: rockchip,rk3566
1106-
1107-
- description: Rockchip RK3568 Evaluation board
1108-
items:
1109-
- const: rockchip,rk3568-evb1-v10
1110-
- const: rockchip,rk3568
1111-
1112-
- description: Sinovoip RK3308 Banana Pi P2 Pro
1113-
items:
1114-
- const: sinovoip,rk3308-bpi-p2pro
1115-
- const: rockchip,rk3308
1116-
1117-
- description: Sinovoip RK3568 Banana Pi R2 Pro
1118-
items:
1119-
- const: sinovoip,rk3568-bpi-r2pro
1120-
- const: rockchip,rk3568
1121-
1122-
- description: Sonoff iHost Smart Home Hub
1123-
items:
1124-
- const: itead,sonoff-ihost
1125-
- enum:
1126-
- rockchip,rv1126
1127-
- rockchip,rv1109
1128-
11291165
additionalProperties: true
11301166

11311167
...

Documentation/devicetree/bindings/soc/rockchip/grf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
- rockchip,rk3576-bigcore-grf
2424
- rockchip,rk3576-cci-grf
2525
- rockchip,rk3576-gpu-grf
26+
- rockchip,rk3576-hdptxphy-grf
2627
- rockchip,rk3576-litcore-grf
2728
- rockchip,rk3576-npu-grf
2829
- rockchip,rk3576-php-grf

arch/arm64/boot/dts/rockchip/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb
111111
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lckfb-tspi.dtb
112112
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb
113113
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-nanopi-r3s.dtb
114+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-bigtreetech-cb2-manta.dtb
115+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-bigtreetech-pi2.dtb
114116
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb
115117
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb
116118
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb
@@ -129,6 +131,8 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5.dtb
129131
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-display-vz.dtbo
130132
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-io-expander.dtbo
131133
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5.dtb
134+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-evb1-v10.dtb
135+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3582-radxa-e52c.dtb
132136
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-sige7.dtb
133137
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-w3.dtb
134138
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-coolpi-cm5-evb.dtb
@@ -137,11 +141,14 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-edgeble-neu6a-io.dtb
137141
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-edgeble-neu6a-wifi.dtbo
138142
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-edgeble-neu6b-io.dtb
139143
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-evb1-v10.dtb
144+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-firefly-itx-3588j.dtb
140145
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-friendlyelec-cm3588-nas.dtb
146+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-h96-max-v58.dtb
141147
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-jaguar.dtb
142148
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-nanopc-t6.dtb
143149
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-nanopc-t6-lts.dtb
144150
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-ok3588-c.dtb
151+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-orangepi-5-max.dtb
145152
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-orangepi-5-plus.dtb
146153
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-quartzpro64.dtb
147154
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5-itx.dtb

arch/arm64/boot/dts/rockchip/rk3308-rock-s0.dts

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,23 @@
7474
vin-supply = <&vcc5v0_sys>;
7575
};
7676

77+
/*
78+
* HW revision prior to v1.2 must pull GPIO4_D6 low to access sdmmc.
79+
* This is modeled as an always-on active low fixed regulator.
80+
*/
81+
vcc_sd: regulator-3v3-vcc-sd {
82+
compatible = "regulator-fixed";
83+
gpios = <&gpio4 RK_PD6 GPIO_ACTIVE_LOW>;
84+
pinctrl-names = "default";
85+
pinctrl-0 = <&sdmmc_2030>;
86+
regulator-name = "vcc_sd";
87+
regulator-always-on;
88+
regulator-boot-on;
89+
regulator-min-microvolt = <3300000>;
90+
regulator-max-microvolt = <3300000>;
91+
vin-supply = <&vcc_io>;
92+
};
93+
7794
vcc5v0_sys: regulator-5v0-vcc-sys {
7895
compatible = "regulator-fixed";
7996
regulator-name = "vcc5v0_sys";
@@ -181,6 +198,12 @@
181198
};
182199
};
183200

201+
sdmmc {
202+
sdmmc_2030: sdmmc-2030 {
203+
rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
204+
};
205+
};
206+
184207
wifi {
185208
wifi_reg_on: wifi-reg-on {
186209
rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
@@ -233,7 +256,7 @@
233256
cap-mmc-highspeed;
234257
cap-sd-highspeed;
235258
disable-wp;
236-
vmmc-supply = <&vcc_io>;
259+
vmmc-supply = <&vcc_sd>;
237260
status = "okay";
238261
};
239262

arch/arm64/boot/dts/rockchip/rk3328-a1.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@
110110
phy-supply = <&vcc_io>;
111111
pinctrl-names = "default";
112112
pinctrl-0 = <&rgmiim1_pins>;
113-
snps,aal;
114113
snps,pbl = <0x4>;
115114
tx_delay = <0x26>;
116115
rx_delay = <0x11>;

arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@
142142
phy-supply = <&vcc_io_33>;
143143
pinctrl-0 = <&rgmiim1_pins>;
144144
pinctrl-names = "default";
145-
snps,aal;
146145

147146
mdio {
148147
compatible = "snps,dwmac-mdio";

arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
phy-supply = <&vcc_io>;
114114
pinctrl-0 = <&rgmiim1_pins>;
115115
pinctrl-names = "default";
116-
snps,aal;
117116

118117
mdio {
119118
compatible = "snps,dwmac-mdio";

arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@
153153
phy-supply = <&vcc_io>;
154154
pinctrl-names = "default";
155155
pinctrl-0 = <&rgmiim1_pins>;
156-
snps,aal;
157-
snps,rxpbl = <0x4>;
158-
snps,txpbl = <0x4>;
159156
tx_delay = <0x26>;
160157
rx_delay = <0x11>;
161158
status = "okay";

arch/arm64/boot/dts/rockchip/rk3328-rock64.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
phy-mode = "rgmii";
145145
pinctrl-names = "default";
146146
pinctrl-0 = <&rgmiim1_pins>;
147-
snps,force_thresh_dma_mode;
148147
snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
149148
snps,reset-active-low;
150149
snps,reset-delays-us = <0 10000 50000>;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
snps,reset-active-low;
183183
snps,reset-delays-us = <0 10000 50000>;
184184
tx_delay = <0x10>;
185-
rx_delay = <0x10>;
185+
rx_delay = <0x23>;
186186
status = "okay";
187187
};
188188

0 commit comments

Comments
 (0)