--- v5
+++ v8
@@ -2,11 +2,11 @@
Signed-off-by: Alistair Francis <alistair@alistair23.me>
---
- arch/arm/boot/dts/imx7d-remarkable2.dts | 89 +++++++++++++++++++++++++
- 1 file changed, 89 insertions(+)
+ arch/arm/boot/dts/imx7d-remarkable2.dts | 100 ++++++++++++++++++++++++
+ 1 file changed, 100 insertions(+)
diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts
-index 89cbf13097a4..f12d6805b214 100644
+index a2a91bfdd98e..fea480af8e48 100644
--- a/arch/arm/boot/dts/imx7d-remarkable2.dts
+++ b/arch/arm/boot/dts/imx7d-remarkable2.dts
@@ -8,6 +8,7 @@
@@ -17,8 +17,8 @@
/ {
model = "reMarkable 2.0";
-@@ -34,6 +35,18 @@ reg_brcm: regulator-brcm {
- startup-delay-us = <150>;
+@@ -47,6 +48,18 @@ reg_digitizer: regulator-digitizer {
+ startup-delay-us = <100000>; /* 100 ms */
};
+ reg_touch: regulator-touch {
@@ -36,8 +36,8 @@
wifi_pwrseq: wifi_pwrseq {
compatible = "mmc-pwrseq-simple";
pinctrl-names = "default";
-@@ -51,6 +64,59 @@ &clks {
- assigned-clock-rates = <0>, <32768>;
+@@ -84,6 +97,70 @@ wacom_digitizer: digitizer@9 {
+ };
};
+&i2c3 {
@@ -47,6 +47,9 @@
+ status = "okay";
+
+ tsc@24 {
++ #address-cells = <1>;
++ #size-cells = <0>;
++
+ compatible = "cypress,tt21000";
+ reg = <0x24>;
+
@@ -59,36 +62,44 @@
+ touchscreen-size-x = <880>;
+ touchscreen-size-y = <1280>;
+
-+ button-0 {
-+ linux,code = <KEY_HOMEPAGE>;
++ button@0 {
++ reg = <0>;
++ linux,keycodes = <KEY_HOMEPAGE>;
+ };
+
-+ button-1 {
-+ linux,code = <KEY_MENU>;
++ button@1 {
++ reg = <1>;
++ linux,keycodes = <KEY_MENU>;
+ };
+
-+ button-2 {
-+ linux,code = <KEY_BACK>;
++ button@2 {
++ reg = <2>;
++ linux,keycodes = <KEY_BACK>;
+ };
+
-+ button-3 {
-+ linux,code = <KEY_SEARCH>;
++ button@3 {
++ reg = <3>;
++ linux,keycodes = <KEY_SEARCH>;
+ };
+
-+ button-4 {
-+ linux,code = <KEY_VOLUMEDOWN>;
++ button@4 {
++ reg = <4>;
++ linux,keycodes = <KEY_VOLUMEDOWN>;
+ };
+
-+ button-5 {
-+ linux,code = <KEY_VOLUMEUP>;
++ button@5 {
++ reg = <5>;
++ linux,keycodes = <KEY_VOLUMEUP>;
+ };
+
-+ button-6 {
-+ linux,code = <KEY_CAMERA>;
++ button@6 {
++ reg = <6>;
++ linux,keycodes = <KEY_CAMERA>;
+ };
+
-+ button-7 {
-+ linux,code = <KEY_POWER>;
++ button@7 {
++ reg = <7>;
++ linux,keycodes = <KEY_POWER>;
+ };
+ };
+};
@@ -96,7 +107,7 @@
&snvs_pwrkey {
status = "okay";
};
-@@ -125,6 +191,29 @@ MX7D_PAD_SAI1_TX_BCLK__GPIO6_IO13 0x14
+@@ -177,6 +254,15 @@ MX7D_PAD_SAI1_TX_BCLK__GPIO6_IO13 0x14
>;
};
@@ -109,6 +120,13 @@
+ >;
+ };
+
+ pinctrl_i2c1: i2c1grp {
+ fsl,pins = <
+ MX7D_PAD_I2C1_SDA__I2C1_SDA 0x4000007f
+@@ -184,6 +270,20 @@ MX7D_PAD_I2C1_SCL__I2C1_SCL 0x4000007f
+ >;
+ };
+
+ pinctrl_i2c3: i2c3grp {
+ fsl,pins = <
+ MX7D_PAD_I2C3_SDA__I2C3_SDA 0x4000007f
@@ -127,7 +145,7 @@
fsl,pins = <
MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79
--
-2.31.1
+2.37.1
_______________________________________________