Squashed 'dts/upstream/' content from commit aaba2d45dc2a
git-subtree-dir: dts/upstream
git-subtree-split: aaba2d45dc2a1b3bbb710f2a3808ee1c9f340abe
diff --git a/src/arm64/freescale/imx8mq-librem5-r4.dts b/src/arm64/freescale/imx8mq-librem5-r4.dts
new file mode 100644
index 0000000..33f398b
--- /dev/null
+++ b/src/arm64/freescale/imx8mq-librem5-r4.dts
@@ -0,0 +1,27 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+// Copyright (C) 2021 Purism SPC <kernel@puri.sm>
+
+/dts-v1/;
+
+#include "imx8mq-librem5-r3.dtsi"
+
+/ {
+ model = "Purism Librem 5r4";
+ compatible = "purism,librem5r4", "purism,librem5", "fsl,imx8mq";
+};
+
+&bat {
+ maxim,rsns-microohm = <1667>;
+};
+
+&led_backlight {
+ led-max-microamp = <25000>;
+};
+
+&lcd_panel {
+ compatible = "ys,ys57pss36bh5gq";
+};
+
+&proximity {
+ proximity-near-level = <7>;
+};