Skip to content

Commit 5262d50

Browse files
authored
Merge branch 'armbian:rk-6.1-rkr5.1' into rk-6.1-rkr5.1-1ghz
2 parents 19f416d + 623b438 commit 5262d50

40 files changed

+3438
-525
lines changed

README

Lines changed: 0 additions & 18 deletions
This file was deleted.

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<h2 align="center">
2+
<img src="https://raw.githubusercontent.com/armbian/.github/master/profile/logo.png" alt="Armbian logo" width="25%">
3+
<br><br>
4+
</h2>
5+
6+
### Purpose of This Repository
7+
8+
This repository contains a **customized version of the Linux kernel**, maintained by the **Armbian team**, with specific adaptations for **Rockchip SoCs** (System-on-Chips) used in a wide range of ARM-based single board computers.
9+
10+
It serves as the base for:
11+
12+
- **Kernel development and maintenance** for Armbian-supported devices.
13+
- **Hardware enablement**, performance tuning, and stability patches specific to Rockchip-based platforms.
14+
- **Integration with the Armbian build framework** to produce ready-to-use OS images.
15+
16+
This repository is intended for developers, testers, and contributors working with the Armbian project and the broader Rockchip ARM ecosystem.

arch/arm64/boot/dts/rockchip/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-evb2-lp4x-v10-pdm-mic-array.dtb
158158
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-evb3-ddr3-v10.dtb
159159
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-evb3-ddr3-v10-linux.dtb
160160
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-evb5-lp4x-v10.dtb
161+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lckfb-tspi.dtb
161162
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-nanopi-r3-rev01.dtb
162163
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-orangepi-3b.dtb
163164
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-orangepi-3b-v1.1.dtb
@@ -171,7 +172,6 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-rk817-tablet.dtb
171172
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-rk817-tablet-k108.dtb
172173
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-rk817-tablet-rkg11.dtb
173174
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-rk817-tablet-v10.dtb
174-
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-taishanpi-v10.dtb
175175
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3567-evb2-lp4x-v10.dtb
176176
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3567-evb2-lp4x-v10-dual-channel-lvds.dtb
177177
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3567-evb2-lp4x-v10-one-vp-two-single-channel-lvds.dtb
@@ -278,6 +278,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568m-serdes-v1-evb-display-rgb2lvds-lp4x-v10.d
278278
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568m-serdes-v1-evb-display-rgb2rgb-lp4x-v10.dtb
279279
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568m-serdes-v1-evb-display-super-frame-dsi0-command2dsi-lp4x-v10.dtb
280280
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568m-serdes-v1-evb-display-super-frame-dsi0-command2lvds0-lp4x-v10.dtb
281+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-100ask-dshanpi-a1.dtb
281282
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-cm5-io.dtb
282283
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-cm5-rpi-cm4-io.dtb
283284
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5.dtb
@@ -387,6 +388,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-pcie-ep-demo-v11.dtb
387388
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-pcie-ep-demo-v11-linux.dtb
388389
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-orangepi-5-max.dtb
389390
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-orangepi-5-plus.dtb
391+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-orangepi-5-ultra.dtb
390392
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b.dtb
391393
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-radxa-rock-5b+.dtb
392394
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5-itx.dtb

arch/arm64/boot/dts/rockchip/overlay/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
5555
rock-5b-rpi-camera-v2.dtbo \
5656
rock-5b-radxa-camera-4k.dtbo \
5757
rock-5b-sata.dtbo \
58+
rock-5t-radxa-display-10fhd.dtbo \
5859
rock-5-itx-radxa-camera-4k-on-cam0.dtbo \
5960
rock-5-itx-radxa-camera-4k-on-cam1.dtbo \
6061
rock-5-itx-radxa-display-8hd-on-lcd0.dtbo \
Lines changed: 261 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,261 @@
1+
/dts-v1/;
2+
/plugin/;
3+
4+
#include <dt-bindings/interrupt-controller/irq.h>
5+
#include <dt-bindings/gpio/gpio.h>
6+
#include <dt-bindings/pinctrl/rockchip.h>
7+
#include <dt-bindings/display/drm_mipi_dsi.h>
8+
#include <dt-bindings/pwm/pwm.h>
9+
10+
/ {
11+
metadata {
12+
title ="Enable Radxa Display 10FHD";
13+
compatible = "radxa,rock-5t";
14+
category = "display";
15+
exclusive = "dsi1", "GPIO1_A2";
16+
description = "Enable Radxa Display 10FHD.";
17+
};
18+
};
19+
20+
/ {
21+
fragment@0 {
22+
target-path = "/";
23+
24+
__overlay__ {
25+
vcc_lcd_mipi1: vcc-lcd-mipi1 {
26+
status = "okay";
27+
compatible = "regulator-fixed";
28+
regulator-name = "vcc_lcd_mipi1";
29+
gpio = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>;
30+
enable-active-high;
31+
regulator-boot-on;
32+
regulator-state-mem {
33+
regulator-off-in-suspend;
34+
};
35+
};
36+
37+
dsi1_backlight: dsi1-backlight {
38+
status = "okay";
39+
compatible = "pwm-backlight";
40+
pwms = <&pwm2 0 25000 PWM_POLARITY_INVERTED>;
41+
brightness-levels = <
42+
0 20 20 21 21 22 22 23
43+
23 24 24 25 25 26 26 27
44+
27 28 28 29 29 30 30 31
45+
31 32 32 33 33 34 34 35
46+
35 36 36 37 37 38 38 39
47+
40 41 42 43 44 45 46 47
48+
48 49 50 51 52 53 54 55
49+
56 57 58 59 60 61 62 63
50+
64 65 66 67 68 69 70 71
51+
72 73 74 75 76 77 78 79
52+
80 81 82 83 84 85 86 87
53+
88 89 90 91 92 93 94 95
54+
96 97 98 99 100 101 102 103
55+
104 105 106 107 108 109 110 111
56+
112 113 114 115 116 117 118 119
57+
120 121 122 123 124 125 126 127
58+
128 129 130 131 132 133 134 135
59+
136 137 138 139 140 141 142 143
60+
144 145 146 147 148 149 150 151
61+
152 153 154 155 156 157 158 159
62+
160 161 162 163 164 165 166 167
63+
168 169 170 171 172 173 174 175
64+
176 177 178 179 180 181 182 183
65+
184 185 186 187 188 189 190 191
66+
192 193 194 195 196 197 198 199
67+
200 201 202 203 204 205 206 207
68+
208 209 210 211 212 213 214 215
69+
216 217 218 219 220 221 222 223
70+
224 225 226 227 228 229 230 231
71+
232 233 234 235 236 237 238 239
72+
240 241 242 243 244 245 246 247
73+
248 249 250 251 252 253 254 255
74+
>;
75+
default-brightness-level = <200>;
76+
enable-gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_HIGH>;
77+
pinctrl-names = "default";
78+
pinctrl-0 = <&dsi1_backlight_en>;
79+
};
80+
};
81+
};
82+
83+
fragment@1 {
84+
target = <&pwm2>;
85+
86+
__overlay__ {
87+
status = "okay";
88+
pinctrl-names = "active";
89+
pinctrl-0 = <&pwm2m2_pins>;
90+
};
91+
};
92+
93+
fragment@2 {
94+
target = <&dsi1>;
95+
96+
__overlay__ {
97+
status = "okay";
98+
#address-cells = <1>;
99+
#size-cells = <0>;
100+
101+
dsi1_panel: panel@0 {
102+
status = "okay";
103+
compatible = "simple-panel-dsi";
104+
reg = <0>;
105+
backlight = <&dsi1_backlight>;
106+
107+
vdd-supply = <&vcc_lcd_mipi1>;
108+
vccio-supply = <&vcc_1v8_s0>;
109+
reset-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
110+
pinctrl-names = "default";
111+
pinctrl-0 = <&dsi1_lcd_rst_gpio>;
112+
113+
prepare-delay-ms = <120>;
114+
reset-delay-ms = <120>;
115+
init-delay-ms = <120>;
116+
enable-delay-ms = <100>;
117+
disable-delay-ms = <120>;
118+
unprepare-delay-ms = <120>;
119+
120+
width-mm = <62>;
121+
height-mm = <110>;
122+
123+
dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
124+
MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_NO_EOT_PACKET)>;
125+
dsi,format = <MIPI_DSI_FMT_RGB888>;
126+
dsi,lanes = <4>;
127+
128+
panel-init-sequence = [
129+
05 78 01 11
130+
05 00 01 29
131+
];
132+
133+
panel-exit-sequence = [
134+
05 00 01 28
135+
05 00 01 10
136+
];
137+
138+
display-timings {
139+
native-mode = <&timing0>;
140+
timing0: timing0 {
141+
clock-frequency = <160000000>;
142+
hactive = <1200>;
143+
vactive = <1920>;
144+
145+
vback-porch = <25>;
146+
vfront-porch = <35>;
147+
148+
hback-porch = <60>;
149+
hfront-porch = <80>;
150+
151+
hsync-len = <4>;
152+
vsync-len = <4>;
153+
154+
vsync-active = <0>;
155+
hsync-active = <0>;
156+
de-active = <0>;
157+
pixelclk-active = <0>;
158+
};
159+
};
160+
161+
ports {
162+
#address-cells = <1>;
163+
#size-cells = <0>;
164+
165+
port@0 {
166+
reg = <0>;
167+
panel_in_dsi1: endpoint {
168+
remote-endpoint = <&dsi1_out_panel>;
169+
};
170+
};
171+
};
172+
};
173+
174+
ports {
175+
#address-cells = <1>;
176+
#size-cells = <0>;
177+
178+
port@1 {
179+
reg = <1>;
180+
dsi1_out_panel: endpoint {
181+
remote-endpoint = <&panel_in_dsi1>;
182+
};
183+
};
184+
};
185+
};
186+
};
187+
188+
fragment@3 {
189+
target = <&mipi_dcphy1>;
190+
191+
__overlay__ {
192+
status = "okay";
193+
};
194+
};
195+
196+
fragment@4 {
197+
target = <&route_dsi1>;
198+
199+
__overlay__ {
200+
status = "okay";
201+
connect = <&vp3_out_dsi1>;
202+
};
203+
};
204+
205+
fragment@5 {
206+
target = <&dsi1_in_vp2>;
207+
208+
__overlay__ {
209+
status = "disabled";
210+
};
211+
};
212+
213+
fragment@6 {
214+
target = <&dsi1_in_vp3>;
215+
216+
__overlay__ {
217+
status = "okay";
218+
};
219+
};
220+
221+
fragment@7 {
222+
target = <&i2c6>;
223+
224+
__overlay__ {
225+
status = "okay";
226+
pinctrl-names = "default";
227+
pinctrl-0 = <&i2c6m0_xfer>;
228+
clock-frequency = <400000>;
229+
#address-cells = <1>;
230+
#size-cells = <0>;
231+
232+
gt9xx: gt9xx@14 {
233+
compatible = "goodix,gt9271";
234+
reg = <0x14>;
235+
interrupt-parent = <&gpio0>;
236+
interrupts = <RK_PD3 IRQ_TYPE_LEVEL_HIGH>;
237+
irq-gpios = <&gpio0 RK_PD3 IRQ_TYPE_LEVEL_HIGH>;
238+
reset-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>;
239+
touchscreen-size-x = <1200>;
240+
touchscreen-size-y = <1920>;
241+
status = "okay";
242+
};
243+
};
244+
};
245+
246+
fragment@8 {
247+
target = <&pinctrl>;
248+
249+
__overlay__ {
250+
dsi1-lcd {
251+
dsi1_lcd_rst_gpio: dsi1-lcd-rst-gpio {
252+
rockchip,pins = <2 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up>;
253+
};
254+
255+
dsi1_backlight_en: dsi1-backlight-en {
256+
rockchip,pins = <2 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up>;
257+
};
258+
};
259+
};
260+
};
261+
};
File renamed without changes.

0 commit comments

Comments
 (0)