summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Ou <samou@google.com>2022-10-25 12:39:06 +0000
committerSam Ou <samou@google.com>2022-10-25 14:08:31 +0000
commitc94d12643003a97c8d795a6d26c0650fb9961c60 (patch)
tree03d05b4869cc5b1bc361f25c5e890179f17fce14
parent6e9feb78df1055c36f52c0876fc69cd3e79389e8 (diff)
downloadtangorpro-c94d12643003a97c8d795a6d26c0650fb9961c60.tar.gz
arm64/dts: gs201: SBB support for tangorpro
Bug: 255461175 Change-Id: I160f2bb86e323151fda73cab88afff0b547b907e Signed-off-by: Sam Ou <samou@google.com>
-rw-r--r--dts/gs201-tangorpro-common.dtsi2
-rw-r--r--dts/gs201-tangorpro-sbbm.dtsi29
2 files changed, 30 insertions, 1 deletions
diff --git a/dts/gs201-tangorpro-common.dtsi b/dts/gs201-tangorpro-common.dtsi
index 8371a2b..0409b09 100644
--- a/dts/gs201-tangorpro-common.dtsi
+++ b/dts/gs201-tangorpro-common.dtsi
@@ -12,7 +12,6 @@
#include "google-base/gs201-cloudripper-bcl.dtsi"
#include "google-base/gs201-cloudripper-bluetooth.dtsi"
#include "google-base/gs201-cloudripper-gsa-gsc.dtsi"
-#include "google-base/gs201-cloudripper-sbbm.dtsi"
#include "google-base/gs201-cloudripper-wlan.dtsi"
#include "google-base/gs201-pantah-pmic.dtsi"
@@ -34,6 +33,7 @@
#include "gs201-tangorpro-wlan.dtsi"
#include "gs201-tangorpro-led.dtsi"
#include "gs201-tangorpro-fingerprint.dtsi"
+#include "gs201-tangorpro-sbbm.dtsi"
#include "gs201-tangorpro-typec.dtsi"
#include "gs201-pogo-transport.dtsi"
diff --git a/dts/gs201-tangorpro-sbbm.dtsi b/dts/gs201-tangorpro-sbbm.dtsi
new file mode 100644
index 0000000..bb9c947
--- /dev/null
+++ b/dts/gs201-tangorpro-sbbm.dtsi
@@ -0,0 +1,29 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * SideBand Bit Multiplexer device tree source
+ *
+ * Copyright 2022 Google LLC.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <dt-bindings/pinctrl/samsung.h>
+#include <dt-bindings/gpio/gpio.h>
+/ {
+ fragment@sbbmux {
+ target-path = "/";
+ __overlay__ {
+ sbb_mux: sbb-mux {
+ compatible = "google,sbb-mux";
+ gpios = <&gpp18 0 0>, <&gpp18 1 0>, <&gpp18 3 0>, <&gpp18 2 0>;
+ gpio_names = "C1_T0__KIBBLE1_TRIG0",
+ "C1_T1__KIBBLE1_TRIG1",
+ "C1_T2__KIBBLE1_TRIG2",
+ "C1_T3__KIBBLE1_TRIG3";
+ default_signals = "gp_region_0", "gp_region_1",
+ "gp_region_2", "gp_region_3";
+ };
+ };
+ };
+};