Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 54 additions & 2 deletions arch/arm64/boot/dts/exynos/google/gs201-panther.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
* USB (NCM + ACM), the cluster watchdogs from gs201.dtsi, a
* simple-framebuffer on the buffer ABL leaves DPP0 scanning out, UFS, the
* three keys, the touchscreen with its rails on the main PMIC, the GPU, the
* haptics, the MAX77759's I2C bus with its fuel gauge and the DSI command
* path to the panel. The display itself stays on simple-framebuffer.
* haptics, the MAX77759's I2C bus with its fuel gauge, Bluetooth and the
* DSI command path to the panel. The display itself stays on
* simple-framebuffer.
*/

/dts-v1/;
Expand Down Expand Up @@ -161,6 +162,36 @@
};
};

/*
* Bluetooth: the BCM4389 BT core on the APM USI1 UART, wired as on the
* Pixel 7 Pro: BT_REG_ON and BT_DEV_WAKE on PERIC0's gpp16-2/3, the host
* wake on gpa6-6, as in the Pixel 7's live device tree. The UART clocks
* come from the read-only CMU_APM subset. BT_REG_ON is separate from
* Wi-Fi's WL_REG_ON (gph2-4), so Bluetooth powers up alone.
*/
&cmu_apm {
status = "okay";
};

&usi_apm1 {
status = "okay";
};

&serial_apm1 {
status = "okay";

bluetooth {
compatible = "brcm,bcm4389-bt";
shutdown-gpios = <&gpp16 2 GPIO_ACTIVE_HIGH>;
device-wakeup-gpios = <&gpp16 3 GPIO_ACTIVE_HIGH>;
interrupts-extended = <&gpa6 6 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "host-wakeup";
pinctrl-0 = <&bt_reg_on &bt_dev_wake &bt_host_wake>;
pinctrl-names = "default";
max-speed = <3000000>;
};
};

/*
* Display bring-up, gate D1 (device/panther/DISPLAY-PLAN.md): the DPU and
* DISP clock controllers, and DSIM0 with the panel, so the panel driver can
Expand Down Expand Up @@ -294,6 +325,13 @@
* The bus pins are on PERIC0 (gpp16-0/1).
*/
&pinctrl_far_alive {
bt_host_wake: bt-host-wake-pins {
samsung,pins = "gpa6-6";
samsung,pin-function = <GS101_PIN_FUNC_EINT>;
samsung,pin-pud = <GS101_PIN_PULL_DOWN>;
samsung,pin-drv = <GS101_PIN_DRV_2_5_MA>;
};

hapt_amp_irq: hapt-amp-irq-pins {
samsung,pins = "gpa8-1";
samsung,pin-function = <GS101_PIN_FUNC_EINT>;
Expand All @@ -313,6 +351,20 @@

&pinctrl_peric0 {
status = "okay";

bt_reg_on: bt-reg-on-pins {
samsung,pins = "gpp16-2";
samsung,pin-function = <GS101_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <GS101_PIN_PULL_NONE>;
samsung,pin-drv = <GS101_PIN_DRV_2_5_MA>;
};

bt_dev_wake: bt-dev-wake-pins {
samsung,pins = "gpp16-3";
samsung,pin-function = <GS101_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <GS101_PIN_PULL_NONE>;
samsung,pin-drv = <GS101_PIN_DRV_2_5_MA>;
};
};

&pinctrl_peric1 {
Expand Down