162 lines
4 KiB
Diff
162 lines
4 KiB
Diff
|
based on: https://patchwork.kernel.org/project/linux-mediatek/patch/20210604052312.1040707-1-hsinyi@chromium.org/
|
||
|
|
||
|
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise-rev3.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise-rev3.dts
|
||
|
new file mode 100644
|
||
|
index 0000000000000..2776d93561c96
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise-rev3.dts
|
||
|
@@ -0,0 +1,24 @@
|
||
|
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||
|
+/*
|
||
|
+ * Copyright 2021 Google LLC
|
||
|
+ */
|
||
|
+
|
||
|
+/dts-v1/;
|
||
|
+#include "mt8183-kukui-jacuzzi-cerise.dtsi"
|
||
|
+
|
||
|
+/ {
|
||
|
+ model = "Google cerise board";
|
||
|
+ compatible = "google,cerise-rev3-sku0", "google,cerise", "mediatek,mt8183";
|
||
|
+};
|
||
|
+
|
||
|
+&mt6358codec {
|
||
|
+ mediatek,dmic-mode = <1>; /* one-wire */
|
||
|
+};
|
||
|
+
|
||
|
+&touchscreen {
|
||
|
+ status = "disabled";
|
||
|
+};
|
||
|
+
|
||
|
+&qca_wifi {
|
||
|
+ qcom,ath10k-calibration-variant = "GO_CERISE";
|
||
|
+};
|
||
|
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dts
|
||
|
new file mode 100644
|
||
|
index 0000000000000..418b5024d1a7c
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dts
|
||
|
@@ -0,0 +1,24 @@
|
||
|
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||
|
+/*
|
||
|
+ * Copyright 2021 Google LLC
|
||
|
+ */
|
||
|
+
|
||
|
+/dts-v1/;
|
||
|
+#include "mt8183-kukui-jacuzzi-cerise.dtsi"
|
||
|
+
|
||
|
+/ {
|
||
|
+ model = "Google cerise board";
|
||
|
+ compatible = "google,cerise-sku0", "google,cerise", "mediatek,mt8183";
|
||
|
+};
|
||
|
+
|
||
|
+&mt6358codec {
|
||
|
+ mediatek,dmic-mode = <1>; /* one-wire */
|
||
|
+};
|
||
|
+
|
||
|
+&touchscreen {
|
||
|
+ status = "disabled";
|
||
|
+};
|
||
|
+
|
||
|
+&qca_wifi {
|
||
|
+ qcom,ath10k-calibration-variant = "GO_CERISE";
|
||
|
+};
|
||
|
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dtsi
|
||
|
new file mode 100644
|
||
|
index 0000000000000..ec1561ac395ba
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cerise.dtsi
|
||
|
@@ -0,0 +1,13 @@
|
||
|
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||
|
+/*
|
||
|
+ * Copyright 2021 Google LLC
|
||
|
+ */
|
||
|
+
|
||
|
+/dts-v1/;
|
||
|
+#include "mt8183-kukui-jacuzzi.dtsi"
|
||
|
+
|
||
|
+&mmc1_pins_uhs {
|
||
|
+ pins_clk {
|
||
|
+ drive-strength = <MTK_DRIVE_6mA>;
|
||
|
+ };
|
||
|
+};
|
||
|
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern-rev3.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern-rev3.dts
|
||
|
new file mode 100644
|
||
|
index 0000000000000..05303c4ed7511
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern-rev3.dts
|
||
|
@@ -0,0 +1,34 @@
|
||
|
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||
|
+/*
|
||
|
+ * Copyright 2021 Google LLC
|
||
|
+ */
|
||
|
+
|
||
|
+/dts-v1/;
|
||
|
+#include "mt8183-kukui-jacuzzi-cerise.dtsi"
|
||
|
+
|
||
|
+/ {
|
||
|
+ model = "Google stern board";
|
||
|
+ compatible = "google,cerise-rev3-sku1", "google,cerise", "mediatek,mt8183";
|
||
|
+};
|
||
|
+
|
||
|
+&mt6358codec {
|
||
|
+ mediatek,dmic-mode = <0>; /* two-wire */
|
||
|
+};
|
||
|
+
|
||
|
+&touchscreen {
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ compatible = "hid-over-i2c";
|
||
|
+ reg = <0x10>;
|
||
|
+ interrupt-parent = <&pio>;
|
||
|
+ interrupts = <155 IRQ_TYPE_LEVEL_LOW>;
|
||
|
+ pinctrl-names = "default";
|
||
|
+ pinctrl-0 = <&touchscreen_pins>;
|
||
|
+
|
||
|
+ post-power-on-delay-ms = <10>;
|
||
|
+ hid-descr-addr = <0x0001>;
|
||
|
+};
|
||
|
+
|
||
|
+&qca_wifi {
|
||
|
+ qcom,ath10k-calibration-variant = "GO_STERN";
|
||
|
+};
|
||
|
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern.dts
|
||
|
new file mode 100644
|
||
|
index 0000000000000..5be767bc873b8
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-stern.dts
|
||
|
@@ -0,0 +1,34 @@
|
||
|
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||
|
+/*
|
||
|
+ * Copyright 2021 Google LLC
|
||
|
+ */
|
||
|
+
|
||
|
+/dts-v1/;
|
||
|
+#include "mt8183-kukui-jacuzzi-cerise.dtsi"
|
||
|
+
|
||
|
+/ {
|
||
|
+ model = "Google stern board";
|
||
|
+ compatible = "google,cerise-sku1", "google,cerise", "mediatek,mt8183";
|
||
|
+};
|
||
|
+
|
||
|
+&mt6358codec {
|
||
|
+ mediatek,dmic-mode = <0>; /* two-wire */
|
||
|
+};
|
||
|
+
|
||
|
+&touchscreen {
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ compatible = "hid-over-i2c";
|
||
|
+ reg = <0x10>;
|
||
|
+ interrupt-parent = <&pio>;
|
||
|
+ interrupts = <155 IRQ_TYPE_LEVEL_LOW>;
|
||
|
+ pinctrl-names = "default";
|
||
|
+ pinctrl-0 = <&touchscreen_pins>;
|
||
|
+
|
||
|
+ post-power-on-delay-ms = <10>;
|
||
|
+ hid-descr-addr = <0x0001>;
|
||
|
+};
|
||
|
+
|
||
|
+&qca_wifi {
|
||
|
+ qcom,ath10k-calibration-variant = "GO_STERN";
|
||
|
+};
|