1 // SPDX-License-Identifier: GPL-2.0-only
5 #include "msm8916-pm8916.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
12 mmc0 = &sdhc_1; /* eMMC */
13 mmc1 = &sdhc_2; /* SD card */
14 serial0 = &blsp_uart2;
18 stdout-path = "serial0";
22 /* Additional memory used by Samsung firmware modifications */
24 reg = <0x0 0x85500000 0x0 0xb00000>;
30 compatible = "gpio-keys";
32 pinctrl-0 = <&gpio_keys_default>;
33 pinctrl-names = "default";
35 label = "GPIO Buttons";
39 gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_VOLUMEUP>;
45 gpios = <&tlmm 109 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_HOMEPAGE>;
51 compatible = "gpio-keys";
53 pinctrl-0 = <&gpio_hall_sensor_default>;
54 pinctrl-names = "default";
56 label = "GPIO Hall Effect Sensor";
59 label = "Hall Effect Sensor";
60 gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
61 linux,input-type = <EV_SW>;
62 linux,code = <SW_LID>;
72 compatible = "maxim,max77849-battery";
75 maxim,rsns-microohm = <10000>;
76 maxim,over-heat-temp = <600>;
77 maxim,over-volt = <4400>;
79 interrupt-parent = <&tlmm>;
80 interrupts = <121 IRQ_TYPE_EDGE_FALLING>;
82 pinctrl-0 = <&fuelgauge_int_default>;
83 pinctrl-names = "default";
91 compatible = "capella,cm3323";
96 compatible = "st,lis2hh12";
99 vdd-supply = <&pm8916_l17>;
100 vddio-supply = <&pm8916_l5>;
102 interrupt-parent = <&tlmm>;
103 interrupts = <115 IRQ_TYPE_LEVEL_HIGH>;
105 st,drdy-int-pin = <1>;
106 mount-matrix = "0", "1", "0",
110 pinctrl-0 = <&accel_int_default>;
111 pinctrl-names = "default";
120 linux,code = <KEY_VOLUMEDOWN>;
124 &pm8916_rpm_regulators {
126 regulator-min-microvolt = <2850000>;
127 regulator-max-microvolt = <2850000>;
131 /* FIXME: Replace with MAX77849 MUIC when driver is available */
141 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
142 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
143 pinctrl-names = "default", "sleep";
145 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
151 dr_mode = "peripheral";
152 extcon = <&pm8916_usbin>;
158 extcon = <&pm8916_usbin>;
174 compatible = "qcom,wcn3660b";
182 accel_int_default: accel-int-default-state {
185 drive-strength = <2>;
189 fuelgauge_int_default: fuelgauge-int-default-state {
192 drive-strength = <2>;
196 gpio_keys_default: gpio-keys-default-state {
197 pins = "gpio107", "gpio109";
199 drive-strength = <2>;
203 gpio_hall_sensor_default: gpio-hall-sensor-default-state {
206 drive-strength = <2>;
210 sdc2_cd_default: sdc2-cd-default-state {
213 drive-strength = <2>;