diff --git a/patch/kernel/archive/rockchip64-6.19/overlay/Makefile b/patch/kernel/archive/rockchip64-6.19/overlay/Makefile index dd6db7aab1..a05b4b98db 100644 --- a/patch/kernel/archive/rockchip64-6.19/overlay/Makefile +++ b/patch/kernel/archive/rockchip64-6.19/overlay/Makefile @@ -2,6 +2,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \ hinlink-h88k-240x135-lcd.dtbo \ rk35xx-radxa-zero-3w-ext-ant.dtbo \ + rk3308-uart1.dtbo rk3308-uart2.dtbo rk3308-uart3.dtbo \ rk3308-otg-host.dtbo \ rk3308-s0-ext-antenna.dtbo \ rk3308-b@1.3ghz.dtbo \ diff --git a/patch/kernel/archive/rockchip64-6.19/overlay/README.rockchip-overlays b/patch/kernel/archive/rockchip64-6.19/overlay/README.rockchip-overlays index e13c3ca18e..393e84ec26 100644 --- a/patch/kernel/archive/rockchip64-6.19/overlay/README.rockchip-overlays +++ b/patch/kernel/archive/rockchip64-6.19/overlay/README.rockchip-overlays @@ -10,12 +10,24 @@ rockchip (Rockchip) - i2c7, i2c8, pcie-gen2, spi-spidev, uart4, w1-gpio -for RK3308 (Rock PI-S) - -- rk3308bs rk3308bs-1.3ghz sdio-10mhz sdio-4mhz emmc +for RK3308: +- b@1,3ghz, bs, bs-1.3ghz, otg-host, uart1, uart2, uart3, s0-ext-antenna ### Overlay details: +### mksklipad-enable-rtc-end1 + +Enables end1 ethernet adapter, which also makes rtc work better. +There is no physical port for end1, so this overlay is merely for +testing the rtc. +The rtc still tends to stall sometimes. In the original makerbase +image, the rtc was completely unusable though. + +### mksklipad-enable-v4l2 + +Enables the video4linux devices /dev/video[012] /dev/media[01] +Not sure, if they are of any use. + ### mkspi-disable-lcd-spi DTBO to disable spi_for_{lcd,touch} when enabling uart1 @@ -219,6 +231,14 @@ To configure the OTG USB port as an additional host port: ### rk3308-otg-host +********************************** +RK3308 enable uart (31 Oct 2025): + +### rk3308-uart1 +### rk3308-uart2 +### rk3308-uart3 + + ********************************** Details for Rock Pi-S overlays (14 Sep 2025): diff --git a/patch/kernel/archive/rockchip64-6.19/overlay/rk3308-uart1.dtso b/patch/kernel/archive/rockchip64-6.19/overlay/rk3308-uart1.dtso new file mode 100644 index 0000000000..30b5eaae8b --- /dev/null +++ b/patch/kernel/archive/rockchip64-6.19/overlay/rk3308-uart1.dtso @@ -0,0 +1,13 @@ +//Enable RK3308's UART1 + +/dts-v1/; +/plugin/; + +/ { + fragment@0 { + target = <&uart1>; + __overlay__ { + status = "okay"; + }; + }; +}; diff --git a/patch/kernel/archive/rockchip64-6.19/overlay/rk3308-uart2.dtso b/patch/kernel/archive/rockchip64-6.19/overlay/rk3308-uart2.dtso new file mode 100644 index 0000000000..967a30ec5f --- /dev/null +++ b/patch/kernel/archive/rockchip64-6.19/overlay/rk3308-uart2.dtso @@ -0,0 +1,13 @@ +//Enable RK3308's UART2 + +/dts-v1/; +/plugin/; + +/ { + fragment@0 { + target = <&uart2>; + __overlay__ { + status = "okay"; + }; + }; +}; diff --git a/patch/kernel/archive/rockchip64-6.19/overlay/rk3308-uart3.dtso b/patch/kernel/archive/rockchip64-6.19/overlay/rk3308-uart3.dtso new file mode 100644 index 0000000000..fdae810a1b --- /dev/null +++ b/patch/kernel/archive/rockchip64-6.19/overlay/rk3308-uart3.dtso @@ -0,0 +1,13 @@ +//Enable RK3308's UART3 + +/dts-v1/; +/plugin/; + +/ { + fragment@0 { + target = <&uart3>; + __overlay__ { + status = "okay"; + }; + }; +};