From 17d4e8c4cc7eab5cc72af82f190f2f7101ac4252 Mon Sep 17 00:00:00 2001 From: Rui Salvaterra Date: Fri, 17 May 2024 18:13:06 +0100 Subject: [PATCH] HACK: add rtc node to the BPI-R3 device tree Signed-off-by: Rui Salvaterra --- .../963-HACK-dts-mt7986-hardcode-rtc-node.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 target/linux/mediatek/patches-6.6/963-HACK-dts-mt7986-hardcode-rtc-node.patch diff --git a/target/linux/mediatek/patches-6.6/963-HACK-dts-mt7986-hardcode-rtc-node.patch b/target/linux/mediatek/patches-6.6/963-HACK-dts-mt7986-hardcode-rtc-node.patch new file mode 100644 index 00000000000000..faf1d9b559dcf3 --- /dev/null +++ b/target/linux/mediatek/patches-6.6/963-HACK-dts-mt7986-hardcode-rtc-node.patch @@ -0,0 +1,16 @@ +Index: linux-6.6.30/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +=================================================================== +--- linux-6.6.30.orig/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts ++++ linux-6.6.30/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +@@ -227,6 +227,11 @@ + pinctrl-names = "default"; + pinctrl-0 = <&i2c_pins>; + status = "okay"; ++ ++ ds3231: rtc@68 { ++ compatible = "maxim,ds3231"; ++ reg = <0x68>; ++ }; + }; + + &pcie {