summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@studenti.polito.it>2023-02-23 00:29:19 +0100
committerAndi Shyti <andi.shyti@kernel.org>2023-03-08 22:35:36 +0100
commit48253c9ea3e67c177587902ba98fc3f32fdce4d1 (patch)
tree7e249c7d4cd36b6e93a3bbe8cc9bfc628347bcb6
parent8c1f19bc632efef6432e8250b593015c4ddb279b (diff)
arm64: dts: rpi3, rpi4: Add BH1745 device tree nodebh1745
This way the bh1745.ko driver will be loaded. Signed-off-by: Andi Shyti <andi.shyti@studenti.polito.it> Co-developed-by: Corentin Teissier <corentinteiss@yahoo.fr> Signed-off-by: Corentin Teissier <corentinteiss@yahoo.fr>
-rw-r--r--arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts7
-rw-r--r--arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts7
2 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts
index d24c53682e44..5289bf745597 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts
@@ -1,2 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
#include "arm/bcm2711-rpi-4-b.dts"
+
+&i2c1 {
+ light@38 {
+ compatible = "rohm,bh1745";
+ reg = <0x38>;
+ };
+};
diff --git a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
index 89b78d6c19bf..c60d9b537243 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
@@ -1,2 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
#include "arm/bcm2837-rpi-3-b.dts"
+
+&i2c1 {
+ light@38 {
+ compatible = "rohm,bh1745";
+ reg = <0x38>;
+ };
+};