Files
kernel_oneplus_sm8550-devic…/qcom/cinder-x100.dtsi
Melody Olvera 27a3518c64 ARM: dts: msm: Add warm reboot support for x100 devices
Cinder x100 devices are always expected to undergo a warm
reset, so set the reboot to warm on x100 devices.

Change-Id: Ib6a726f9bad5e743c00894dcdca2eedfa69b35a9
2022-08-17 11:33:49 -07:00

77 lines
1.5 KiB
Plaintext

#include "cinder-pmic-overlay.dtsi"
#include <dt-bindings/gpio/gpio.h>
&chosen {
bootargs = "cpufreq.default_governor=performance msm_rtb.filter=0x237 reboot=w";
};
&soc {
pcie_ep: qcom,pcie@48020000 {
compatible = "qcom,pcie-ep";
status = "ok";
};
vbus_supply_regulator: vbus_supply_regulator {
compatible = "regulator-fixed";
regulator-name = "vdd_supply";
enable-active-high;
gpio = <&tlmm 43 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&usb_vbus_boost_default>;
};
usb_conn_gpio: usb_conn_gpio {
compatible = "gpio-usb-b-connector";
vbus-gpio = <&pm8150_gpios 7 GPIO_ACTIVE_HIGH>;
id-gpio = <&tlmm 42 GPIO_ACTIVE_HIGH>;
vbus-supply = <&vbus_supply_regulator>;
pinctrl-names = "default";
pinctrl-0 = <&usb_vbus_det_default
&usb_id_det_default>;
port {
usb_port0_connector: endpoint {
remote-endpoint = <&usb_port0>;
};
};
};
};
&usb0 {
usb-role-switch;
port {
usb_port0: endpoint {
remote-endpoint = <&usb_port0_connector>;
};
};
};
&qupv3_se5_i2c {
clock-frequency = <400000>;
status = "ok";
exp0: gpio@21 {
compatible = "ti,tca6408";
reg = <0x21>;
vcc-supply = <&L15A>;
gpio-controller;
#gpio-cells = <2>;
};
};
&qupv3_se6_i2c {
clock-frequency = <400000>;
status = "ok";
exp1: gpio@20 {
compatible = "ti,tca6408";
reg = <0x20>;
interrupt-parent = <&intc>;
interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
vcc-supply = <&L15A>;
gpio-controller;
#gpio-cells = <2>;
};
};