v2: arch: arm64: dts: amlogic: meson-g12b-waveshare-cm4-io-base-b

https://www.waveshare.com/wiki/CM4-IO-BASE-B

Fan, RTC and USB support
RTC requires rtc pcf85063 driver
Fan requires hwmon emc2305 driver

Added wakeup-source to fanctrl node so emc2305 module loads at boot.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
This commit is contained in:
Patrick Yavitz 2023-10-11 11:46:38 -04:00 committed by Igor
parent 67af958258
commit 595e1fdf62
3 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
From 220f0e430938ad10a7c54372a9b44b2baa6dabda Mon Sep 17 00:00:00 2001
From 0541667e097b302fd97b4fce606336f4c7cab67f Mon Sep 17 00:00:00 2001
From: Patrick Yavitz <pyavitz@xxxxx.com>
Date: Wed, 11 Oct 2023 09:04:11 -0400
Date: Wed, 11 Oct 2023 11:34:54 -0400
Subject: [PATCH] v2: arch: arm64: dts: amlogic: meson-g12b-waveshare-cm4-io-base-b
https://www.waveshare.com/wiki/CM4-IO-BASE-B
@ -12,8 +12,8 @@ Fan requires hwmon emc2305 driver
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
---
arch/arm64/boot/dts/amlogic/Makefile | 1 +
.../meson-g12b-waveshare-cm4-io-base-b.dts | 65 +++++++++++++++++++
2 files changed, 66 insertions(+)
.../meson-g12b-waveshare-cm4-io-base-b.dts | 66 +++++++++++++++++++
2 files changed, 67 insertions(+)
create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-waveshare-cm4-io-base-b.dts
diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
@ -30,10 +30,10 @@ index 1e83933a11ab..f9e43e0d0464 100644
dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nexbox-a95x.dtb
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-waveshare-cm4-io-base-b.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-waveshare-cm4-io-base-b.dts
new file mode 100644
index 000000000000..5739e480df82
index 000000000000..2c988290d48a
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-waveshare-cm4-io-base-b.dts
@@ -0,0 +1,65 @@
@@ -0,0 +1,66 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2023 Patrick Yavitz <pyavitz@xxxxx.com>
@ -65,6 +65,7 @@ index 000000000000..5739e480df82
+ #address-cells = <1>;
+ #size-cells = <0>;
+ #cooling-cells = <0x02>;
+ wakeup-source;
+ };
+};
+

View File

@ -29,6 +29,7 @@
#address-cells = <1>;
#size-cells = <0>;
#cooling-cells = <0x02>;
wakeup-source;
};
};

View File

@ -29,6 +29,7 @@
#address-cells = <1>;
#size-cells = <0>;
#cooling-cells = <0x02>;
wakeup-source;
};
};