Skip to content

Commit 39dfe89

Browse files
committed
Add bootargs, LED, and MCU configuration to Aiot-rk3588a device tree
1 parent 9e6be28 commit 39dfe89

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

patch/kernel/rk35xx-vendor-6.1/dt/rk3588-aiot-rk3588a.dts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,42 @@
1313
/ {
1414
model = "Shimeta Aiot rk3588a";
1515
compatible = "rockchip,rk3588-aiot-rk3588a", "rockchip,rk3588";
16+
17+
chosen {
18+
bootargs = "earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 irqchip.gicv3_pseudo_nmi=0";
19+
};
20+
21+
leds {
22+
compatible = "gpio-leds";
23+
work {
24+
gpios = <&gpio4 RK_PB7 GPIO_ACTIVE_HIGH>;
25+
linux,default-trigger = "heartbeat";
26+
};
27+
};
28+
29+
30+
mcuinf {
31+
compatible = "smdtmcu,STM8S00K3";
32+
status = "okay";
33+
reg = <0x62>;
34+
#pwm-cells = <2>;
35+
/* MCU interrupt pin: GPIO0_B0 */
36+
int-gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
37+
};
38+
39+
};
40+
41+
&pinctrl {
42+
mcu {
43+
mcum0-pins {
44+
rockchip,pins = <0x04 0x1c 0x05 0x1a3 0x04 0x1d 0x05 0x1a3>;
45+
};
46+
47+
mcum1-pins {
48+
rockchip,pins = <0x03 0x1c 0x06 0x1a3 0x03 0x1d 0x06 0x1a3>;
49+
};
50+
};
51+
1652
};
1753

1854
&dp0 {

0 commit comments

Comments
 (0)