Loading arch/arm/boot/dts/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ dtb-$(CONFIG_ARCH_MSM8996) += msm8996-v2-sim.dtb \ msm8996-v2.0-pmi8994-mtp.dtb \ msm8996-v2.0-pmi8994-pm8004-cdp.dtb \ msm8996-v2.0-pmi8994-pm8004-mtp.dtb \ msm8996-v2.0-fluid.dtb \ msm8996-v2.0-liquid.dtb dtb-$(CONFIG_ARCH_MSMCOBALT) += msmcobalt-sim.dtb Loading arch/arm/boot/dts/qcom/msm8996-fluid.dtsi +294 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,25 @@ }; }; &ufs_ice { status = "ok"; }; &ufsphy1 { status = "ok"; }; &ufs1 { status = "ok"; }; &uartblsp2dm1 { status = "ok"; pinctrl-names = "default"; pinctrl-0 = <&uart_console_active>; }; &sdhc_1 { vdd-supply = <&pm8994_l20>; qcom,vdd-voltage-level = <2950000 2950000>; Loading Loading @@ -280,3 +299,278 @@ qcom,fast-avg-setup = <0>; }; }; /{ mtp_batterydata: qcom,battery-data { qcom,batt-id-range-pct = <15>; #include "batterydata-itech-3000mah.dtsi" }; }; &pmi8994_fg { qcom,battery-data = <&mtp_batterydata>; qcom,ext-sense-type; qcom,fg-vbatt-low-threshold = <3700>; }; &usb_otg_switch { status = "okay"; }; &pm8994_mpps { mpp@a300 { /* MPP 4 */ /* HDMI_5v_vreg regulator enable */ qcom,mode = <1>; /* Digital output */ qcom,output-type = <0>; /* CMOS logic */ qcom,vin-sel = <2>; /* S4 1.8V */ qcom,src-sel = <0>; /* Constant */ qcom,master-en = <1>; /* Enable GPIO */ qcom,invert = <0>; status = "okay"; }; }; &pmi8994_gpios { gpio@c100 { /* GPIO 2 SPKR_SD_N */ qcom,mode = <1>; /* DIGITAL OUT */ qcom,pull = <5>; /* No Pull */ qcom,vin-sel = <2>; /* 1.8 */ qcom,src-sel = <0>; /* CONSTANT */ qcom,master-en = <1>; /* ENABLE GPIO */ status = "okay"; }; gpio@c200 { /* GPIO 3 SPKR_SD_N */ qcom,mode = <1>; /* DIGITAL OUT */ qcom,pull = <5>; /* No Pull */ qcom,vin-sel = <2>; /* 1.8 */ qcom,src-sel = <0>; /* CONSTANT */ qcom,master-en = <1>; /* ENABLE GPIO */ status = "okay"; }; gpio@c400 { /* GPIO 5 - USB3 OTG SWITCH EN */ qcom,mode = <1>; /* Digital output */ qcom,vin-sel = <2>; /* 1.8 */ qcom,src-sel = <0>; /* GPIO */ qcom,master-en = <1>; /* Enable GPIO */ qcom,invert = <0>; /* Output low initially */ status = "okay"; }; }; &pmi8994_mpps { mpp@a000 { /* MPP 1 */ qcom,mode = <1>; /* Digital output */ qcom,output-type = <0>; /* CMOS logic */ qcom,vin-sel = <0>; /* S4 1.8V */ qcom,src-sel = <7>; /* DTEST4 */ qcom,master-en = <1>; /* Enable MPP */ status = "okay"; }; mpp@a300 { /* MPP 4 */ /* WLED FET */ qcom,mode = <1>; /* DIGITAL OUT */ qcom,vin-sel = <0>; /* VIN0 */ qcom,master-en = <1>; status = "okay"; }; }; &soc { i2c@75ba000 { synaptics@20 { compatible = "synaptics,dsx"; reg = <0x20>; interrupt-parent = <&tlmm>; interrupts = <125 0x2008>; vdd-supply = <&pm8994_l14>; avdd-supply = <&pm8994_l22>; pinctrl-names = "pmx_ts_active", "pmx_ts_suspend"; pinctrl-0 = <&ts_active>; pinctrl-1 = <&ts_suspend>; synaptics,display-coords = <0 0 1599 2559>; synaptics,panel-coords = <0 0 1599 2703>; synaptics,reset-gpio = <&tlmm 89 0x00>; synaptics,irq-gpio = <&tlmm 125 0x2008>; synaptics,disable-gpios; }; }; gen-vkeys { compatible = "qcom,gen-vkeys"; label = "synaptics_dsx"; qcom,disp-maxx = <1599>; qcom,disp-maxy = <2559>; qcom,panel-maxx = <1599>; qcom,panel-maxy = <2703>; qcom,key-codes = <158 139 102 217>; }; gpio_keys { compatible = "gpio-keys"; input-name = "gpio-keys"; home { label = "home"; gpios = <&pm8994_gpios 1 0x1>; linux,input-type = <1>; linux,code = <102>; gpio-key,wakeup; debounce-interval = <15>; }; vol_up { label = "volume_up"; gpios = <&pm8994_gpios 2 0x1>; linux,input-type = <1>; linux,code = <115>; gpio-key,wakeup; debounce-interval = <15>; }; cam_snapshot { label = "cam_snapshot"; gpios = <&pm8994_gpios 4 0x1>; linux,input-type = <1>; linux,code = <766>; gpio-key,wakeup; debounce-interval = <15>; }; cam_focus { label = "cam_focus"; gpios = <&pm8994_gpios 5 0x1>; linux,input-type = <1>; linux,code = <528>; gpio-key,wakeup; debounce-interval = <15>; }; }; sound { qcom,model = "msm8996-tomtom-mtp-snd-card"; qcom,hdmi-audio-rx; asoc-codec = <&stub_codec>, <&hdmi_audio>; asoc-codec-names = "msm-stub-codec.1", "msm-hdmi-audio-codec-rx"; }; sound-9335 { qcom,model = "msm8996-tasha-mtp-snd-card"; qcom,hdmi-audio-rx; asoc-codec = <&stub_codec>, <&hdmi_audio>; asoc-codec-names = "msm-stub-codec.1", "msm-hdmi-audio-codec-rx"; }; }; &pm8994_gpios { gpio@c700 { /* GPIO 8 - WLAN_EN */ qcom,mode = <1>; /* Digital output*/ qcom,pull = <4>; /* Pulldown 10uA */ qcom,vin-sel = <2>; /* VIN2 */ qcom,src-sel = <0>; /* GPIO */ qcom,invert = <0>; /* Invert */ qcom,master-en = <1>; /* Enable GPIO */ status = "okay"; }; gpio@c800 { /* GPIO 9 - Rome 3.3V control */ qcom,mode = <1>; /* Digital output */ qcom,output-type = <0>; /* MOS logic */ qcom,invert = <1>; /* Output high */ qcom,vin-sel = <0>; /* VPH_PWR */ qcom,src-sel = <0>; /* Constant */ qcom,out-strength = <1>; /* High drive strength */ qcom,master-en = <1>; /* Enable GPIO */ status = "okay"; }; gpio@cd00 { /* GPIO 14 - lcd_bklt_reg_en */ qcom,mode = <1>; /* DIGITAL OUT */ qcom,output-type = <0>; /* CMOS logic */ qcom,invert = <1>; /* output hight initially */ qcom,vin-sel = <2>; /* 1.8 */ qcom,src-sel = <0>; /* CONSTANT */ qcom,out-strength = <1>; /* Low drive strength */ qcom,master-en = <1>; /* ENABLE GPIO */ status = "okay"; }; gpio@c000 { /* GPIO 1 */ qcom,mode = <0>; qcom,pull = <0>; qcom,vin-sel = <2>; qcom,src-sel = <0>; status = "okay"; }; gpio@c100 { /* GPIO 2 */ qcom,mode = <0>; qcom,pull = <0>; qcom,vin-sel = <2>; qcom,src-sel = <0>; status = "okay"; }; gpio@c300 { /* GPIO 4 */ qcom,mode = <0>; qcom,pull = <0>; qcom,vin-sel = <2>; qcom,src-sel = <0>; status = "okay"; }; gpio@c400 { /* GPIO 5 */ qcom,mode = <0>; qcom,pull = <0>; qcom,vin-sel = <2>; qcom,src-sel = <0>; status = "okay"; }; gpio@ce00 { /* GPIO 15 */ qcom,mode = <1>; qcom,output-type = <0>; qcom,pull = <5>; qcom,vin-sel = <2>; qcom,out-strength = <1>; qcom,src-sel = <2>; qcom,master-en = <1>; status = "okay"; }; gpio@d100 { /* GPIO 18 - Rome Sleep Clock */ qcom,mode = <1>; /* Digital output */ qcom,output-type = <0>; /* CMOS logic */ qcom,invert = <0>; /* Output low initially */ qcom,vin-sel = <2>; /* VIN 2 */ qcom,src-sel = <3>; /* Function 2 */ qcom,out-strength = <2>; /* Medium */ qcom,master-en = <1>; /* Enable GPIO */ status = "okay"; }; gpio@d200 { /* GPIO 19 - Rome BT Reset */ qcom,mode = <1>; /* Digital output*/ qcom,pull = <4>; /* Pulldown 10uA */ qcom,vin-sel = <2>; /* VIN2 */ qcom,src-sel = <0>; /* GPIO */ qcom,invert = <0>; /* Invert */ qcom,master-en = <1>; /* Enable GPIO */ status = "okay"; }; }; &pmi8994_haptics { status = "okay"; }; &blsp1_uart2 { status = "ok"; }; arch/arm/boot/dts/qcom/msm8996-v2.0-fluid.dts 0 → 100644 +32 −0 Original line number Diff line number Diff line /* Copyright (c) 2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; #include "msm8996-v2.dtsi" #include "msm8996-fluid.dtsi" / { model = "Qualcomm Technologies, Inc. MSM 8996 v2.0 FLUID"; compatible = "qcom,msm8996-fluid", "qcom,msm8996", "qcom,fluid"; qcom,msm-id = <246 0x20000>; qcom,board-id = <3 0>; }; &l2ccc_0 { qcom,clamped-reset-seq; }; &l2ccc_1 { qcom,clamped-reset-seq; }; Loading
arch/arm/boot/dts/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ dtb-$(CONFIG_ARCH_MSM8996) += msm8996-v2-sim.dtb \ msm8996-v2.0-pmi8994-mtp.dtb \ msm8996-v2.0-pmi8994-pm8004-cdp.dtb \ msm8996-v2.0-pmi8994-pm8004-mtp.dtb \ msm8996-v2.0-fluid.dtb \ msm8996-v2.0-liquid.dtb dtb-$(CONFIG_ARCH_MSMCOBALT) += msmcobalt-sim.dtb Loading
arch/arm/boot/dts/qcom/msm8996-fluid.dtsi +294 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,25 @@ }; }; &ufs_ice { status = "ok"; }; &ufsphy1 { status = "ok"; }; &ufs1 { status = "ok"; }; &uartblsp2dm1 { status = "ok"; pinctrl-names = "default"; pinctrl-0 = <&uart_console_active>; }; &sdhc_1 { vdd-supply = <&pm8994_l20>; qcom,vdd-voltage-level = <2950000 2950000>; Loading Loading @@ -280,3 +299,278 @@ qcom,fast-avg-setup = <0>; }; }; /{ mtp_batterydata: qcom,battery-data { qcom,batt-id-range-pct = <15>; #include "batterydata-itech-3000mah.dtsi" }; }; &pmi8994_fg { qcom,battery-data = <&mtp_batterydata>; qcom,ext-sense-type; qcom,fg-vbatt-low-threshold = <3700>; }; &usb_otg_switch { status = "okay"; }; &pm8994_mpps { mpp@a300 { /* MPP 4 */ /* HDMI_5v_vreg regulator enable */ qcom,mode = <1>; /* Digital output */ qcom,output-type = <0>; /* CMOS logic */ qcom,vin-sel = <2>; /* S4 1.8V */ qcom,src-sel = <0>; /* Constant */ qcom,master-en = <1>; /* Enable GPIO */ qcom,invert = <0>; status = "okay"; }; }; &pmi8994_gpios { gpio@c100 { /* GPIO 2 SPKR_SD_N */ qcom,mode = <1>; /* DIGITAL OUT */ qcom,pull = <5>; /* No Pull */ qcom,vin-sel = <2>; /* 1.8 */ qcom,src-sel = <0>; /* CONSTANT */ qcom,master-en = <1>; /* ENABLE GPIO */ status = "okay"; }; gpio@c200 { /* GPIO 3 SPKR_SD_N */ qcom,mode = <1>; /* DIGITAL OUT */ qcom,pull = <5>; /* No Pull */ qcom,vin-sel = <2>; /* 1.8 */ qcom,src-sel = <0>; /* CONSTANT */ qcom,master-en = <1>; /* ENABLE GPIO */ status = "okay"; }; gpio@c400 { /* GPIO 5 - USB3 OTG SWITCH EN */ qcom,mode = <1>; /* Digital output */ qcom,vin-sel = <2>; /* 1.8 */ qcom,src-sel = <0>; /* GPIO */ qcom,master-en = <1>; /* Enable GPIO */ qcom,invert = <0>; /* Output low initially */ status = "okay"; }; }; &pmi8994_mpps { mpp@a000 { /* MPP 1 */ qcom,mode = <1>; /* Digital output */ qcom,output-type = <0>; /* CMOS logic */ qcom,vin-sel = <0>; /* S4 1.8V */ qcom,src-sel = <7>; /* DTEST4 */ qcom,master-en = <1>; /* Enable MPP */ status = "okay"; }; mpp@a300 { /* MPP 4 */ /* WLED FET */ qcom,mode = <1>; /* DIGITAL OUT */ qcom,vin-sel = <0>; /* VIN0 */ qcom,master-en = <1>; status = "okay"; }; }; &soc { i2c@75ba000 { synaptics@20 { compatible = "synaptics,dsx"; reg = <0x20>; interrupt-parent = <&tlmm>; interrupts = <125 0x2008>; vdd-supply = <&pm8994_l14>; avdd-supply = <&pm8994_l22>; pinctrl-names = "pmx_ts_active", "pmx_ts_suspend"; pinctrl-0 = <&ts_active>; pinctrl-1 = <&ts_suspend>; synaptics,display-coords = <0 0 1599 2559>; synaptics,panel-coords = <0 0 1599 2703>; synaptics,reset-gpio = <&tlmm 89 0x00>; synaptics,irq-gpio = <&tlmm 125 0x2008>; synaptics,disable-gpios; }; }; gen-vkeys { compatible = "qcom,gen-vkeys"; label = "synaptics_dsx"; qcom,disp-maxx = <1599>; qcom,disp-maxy = <2559>; qcom,panel-maxx = <1599>; qcom,panel-maxy = <2703>; qcom,key-codes = <158 139 102 217>; }; gpio_keys { compatible = "gpio-keys"; input-name = "gpio-keys"; home { label = "home"; gpios = <&pm8994_gpios 1 0x1>; linux,input-type = <1>; linux,code = <102>; gpio-key,wakeup; debounce-interval = <15>; }; vol_up { label = "volume_up"; gpios = <&pm8994_gpios 2 0x1>; linux,input-type = <1>; linux,code = <115>; gpio-key,wakeup; debounce-interval = <15>; }; cam_snapshot { label = "cam_snapshot"; gpios = <&pm8994_gpios 4 0x1>; linux,input-type = <1>; linux,code = <766>; gpio-key,wakeup; debounce-interval = <15>; }; cam_focus { label = "cam_focus"; gpios = <&pm8994_gpios 5 0x1>; linux,input-type = <1>; linux,code = <528>; gpio-key,wakeup; debounce-interval = <15>; }; }; sound { qcom,model = "msm8996-tomtom-mtp-snd-card"; qcom,hdmi-audio-rx; asoc-codec = <&stub_codec>, <&hdmi_audio>; asoc-codec-names = "msm-stub-codec.1", "msm-hdmi-audio-codec-rx"; }; sound-9335 { qcom,model = "msm8996-tasha-mtp-snd-card"; qcom,hdmi-audio-rx; asoc-codec = <&stub_codec>, <&hdmi_audio>; asoc-codec-names = "msm-stub-codec.1", "msm-hdmi-audio-codec-rx"; }; }; &pm8994_gpios { gpio@c700 { /* GPIO 8 - WLAN_EN */ qcom,mode = <1>; /* Digital output*/ qcom,pull = <4>; /* Pulldown 10uA */ qcom,vin-sel = <2>; /* VIN2 */ qcom,src-sel = <0>; /* GPIO */ qcom,invert = <0>; /* Invert */ qcom,master-en = <1>; /* Enable GPIO */ status = "okay"; }; gpio@c800 { /* GPIO 9 - Rome 3.3V control */ qcom,mode = <1>; /* Digital output */ qcom,output-type = <0>; /* MOS logic */ qcom,invert = <1>; /* Output high */ qcom,vin-sel = <0>; /* VPH_PWR */ qcom,src-sel = <0>; /* Constant */ qcom,out-strength = <1>; /* High drive strength */ qcom,master-en = <1>; /* Enable GPIO */ status = "okay"; }; gpio@cd00 { /* GPIO 14 - lcd_bklt_reg_en */ qcom,mode = <1>; /* DIGITAL OUT */ qcom,output-type = <0>; /* CMOS logic */ qcom,invert = <1>; /* output hight initially */ qcom,vin-sel = <2>; /* 1.8 */ qcom,src-sel = <0>; /* CONSTANT */ qcom,out-strength = <1>; /* Low drive strength */ qcom,master-en = <1>; /* ENABLE GPIO */ status = "okay"; }; gpio@c000 { /* GPIO 1 */ qcom,mode = <0>; qcom,pull = <0>; qcom,vin-sel = <2>; qcom,src-sel = <0>; status = "okay"; }; gpio@c100 { /* GPIO 2 */ qcom,mode = <0>; qcom,pull = <0>; qcom,vin-sel = <2>; qcom,src-sel = <0>; status = "okay"; }; gpio@c300 { /* GPIO 4 */ qcom,mode = <0>; qcom,pull = <0>; qcom,vin-sel = <2>; qcom,src-sel = <0>; status = "okay"; }; gpio@c400 { /* GPIO 5 */ qcom,mode = <0>; qcom,pull = <0>; qcom,vin-sel = <2>; qcom,src-sel = <0>; status = "okay"; }; gpio@ce00 { /* GPIO 15 */ qcom,mode = <1>; qcom,output-type = <0>; qcom,pull = <5>; qcom,vin-sel = <2>; qcom,out-strength = <1>; qcom,src-sel = <2>; qcom,master-en = <1>; status = "okay"; }; gpio@d100 { /* GPIO 18 - Rome Sleep Clock */ qcom,mode = <1>; /* Digital output */ qcom,output-type = <0>; /* CMOS logic */ qcom,invert = <0>; /* Output low initially */ qcom,vin-sel = <2>; /* VIN 2 */ qcom,src-sel = <3>; /* Function 2 */ qcom,out-strength = <2>; /* Medium */ qcom,master-en = <1>; /* Enable GPIO */ status = "okay"; }; gpio@d200 { /* GPIO 19 - Rome BT Reset */ qcom,mode = <1>; /* Digital output*/ qcom,pull = <4>; /* Pulldown 10uA */ qcom,vin-sel = <2>; /* VIN2 */ qcom,src-sel = <0>; /* GPIO */ qcom,invert = <0>; /* Invert */ qcom,master-en = <1>; /* Enable GPIO */ status = "okay"; }; }; &pmi8994_haptics { status = "okay"; }; &blsp1_uart2 { status = "ok"; };
arch/arm/boot/dts/qcom/msm8996-v2.0-fluid.dts 0 → 100644 +32 −0 Original line number Diff line number Diff line /* Copyright (c) 2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; #include "msm8996-v2.dtsi" #include "msm8996-fluid.dtsi" / { model = "Qualcomm Technologies, Inc. MSM 8996 v2.0 FLUID"; compatible = "qcom,msm8996-fluid", "qcom,msm8996", "qcom,fluid"; qcom,msm-id = <246 0x20000>; qcom,board-id = <3 0>; }; &l2ccc_0 { qcom,clamped-reset-seq; }; &l2ccc_1 { qcom,clamped-reset-seq; };