Loading arch/arm/boot/dts/qcom/msmgold-pinctrl.dtsi +79 −1 Original line number Diff line number Diff line /* * Copyright (c) 2015, The Linux Foundation. All rights reserved. * Copyright (c) 2015-2016, 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 Loading Loading @@ -128,6 +128,84 @@ }; wcnss_pmux_5wire { /* Active configuration of bus pins */ wcnss_default: wcnss_default { wcss_wlan2 { pins = "gpio76"; function = "wcss_wlan2"; }; wcss_wlan1 { pins = "gpio77"; function = "wcss_wlan1"; }; wcss_wlan0 { pins = "gpio78"; function = "wcss_wlan0"; }; wcss_wlan { pins = "gpio79", "gpio80"; function = "wcss_wlan"; }; config { pins = "gpio76", "gpio77", "gpio78", "gpio79", "gpio80"; drive-strength = <6>; /* 6 MA */ bias-pull-up; /* PULL UP */ }; }; wcnss_sleep: wcnss_sleep { wcss_wlan2 { pins = "gpio76"; function = "wcss_wlan2"; }; wcss_wlan1 { pins = "gpio77"; function = "wcss_wlan1"; }; wcss_wlan0 { pins = "gpio78"; function = "wcss_wlan0"; }; wcss_wlan { pins = "gpio79", "gpio80"; function = "wcss_wlan"; }; config { pins = "gpio76", "gpio77", "gpio78", "gpio79", "gpio80"; drive-strength = <2>; /* 2 MA */ bias-pull-down; /* PULL Down */ }; }; }; wcnss_pmux_gpio: wcnss_pmux_gpio { wcnss_gpio_default: wcnss_gpio_default { /* Active configuration of bus pins */ mux { /* Uses general purpose pins */ pins = "gpio76", "gpio77", "gpio78", "gpio79", "gpio80"; function = "gpio"; }; config { pins = "gpio76", "gpio77", "gpio78", "gpio79", "gpio80"; drive-strength = <6>; /* 6 MA */ bias-pull-up; /* PULL UP */ }; }; }; pmx_mdss: pmx_mdss { mdss_dsi_active: mdss_dsi_active { mux { Loading arch/arm/boot/dts/qcom/msmgold.dtsi +82 −1 Original line number Diff line number Diff line /* * Copyright (c) 2015, The Linux Foundation. All rights reserved. * Copyright (c) 2015-2016, 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 Loading Loading @@ -434,6 +434,87 @@ rpm-channel-type = <15>; /* SMD_APPS_RPM */ }; qcom,wcnss-wlan@0a000000 { compatible = "qcom,wcnss_wlan"; reg = <0x0a000000 0x280000>, <0x0b011008 0x04>, <0x0a21b000 0x3000>, <0x03204000 0x00000100>, <0x03200800 0x00000200>, <0x0a100400 0x00000200>, <0x0a205050 0x00000200>, <0x0a219000 0x00000020>, <0x0a080488 0x00000008>, <0x0a080fb0 0x00000008>, <0x0a08040c 0x00000008>, <0x0a0120a8 0x00000008>, <0x0a012448 0x00000008>, <0x0a080c00 0x00000001>; reg-names = "wcnss_mmio", "wcnss_fiq", "pronto_phy_base", "riva_phy_base", "riva_ccu_base", "pronto_a2xb_base", "pronto_ccpu_base", "pronto_saw2_base", "wlan_tx_phy_aborts","wlan_brdg_err_source", "wlan_tx_status", "alarms_txctl", "alarms_tactl", "pronto_mcu_base"; interrupts = <0 145 0 0 146 0>; interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; qcom,pronto-vddmx-supply = <&pmgold_l3_level_ao>; qcom,pronto-vddcx-supply = <&pmgold_s2_level>; qcom,pronto-vddpx-supply = <&pmgold_l5>; qcom,iris-vddxo-supply = <&pmgold_l7>; qcom,iris-vddrfa-supply = <&pmgold_l19>; qcom,iris-vddpa-supply = <&pmgold_l9>; qcom,iris-vdddig-supply = <&pmgold_l5>; qcom,iris-vddxo-voltage-level = <1800000 0 1800000>; qcom,iris-vddrfa-voltage-level = <1300000 0 1300000>; qcom,iris-vddpa-voltage-level = <3300000 0 3300000>; qcom,iris-vdddig-voltage-level = <1800000 0 1800000>; qcom,vddmx-voltage-level = <RPM_SMD_REGULATOR_LEVEL_TURBO RPM_SMD_REGULATOR_LEVEL_NONE RPM_SMD_REGULATOR_LEVEL_TURBO>; qcom,vddcx-voltage-level = <RPM_SMD_REGULATOR_LEVEL_NOM RPM_SMD_REGULATOR_LEVEL_NONE RPM_SMD_REGULATOR_LEVEL_TURBO>; qcom,vddpx-voltage-level = <1800000 0 1800000>; qcom,iris-vddxo-current = <10000>; qcom,iris-vddrfa-current = <100000>; qcom,iris-vddpa-current = <515000>; qcom,iris-vdddig-current = <10000>; qcom,pronto-vddmx-current = <0>; qcom,pronto-vddcx-current = <0>; qcom,pronto-vddpx-current = <0>; pinctrl-names = "wcnss_default", "wcnss_sleep", "wcnss_gpio_default"; pinctrl-0 = <&wcnss_default>; pinctrl-1 = <&wcnss_sleep>; pinctrl-2 = <&wcnss_gpio_default>; gpios = <&tlmm 76 0>, <&tlmm 77 0>, <&tlmm 78 0>, <&tlmm 79 0>, <&tlmm 80 0>; clocks = <&clock_gcc clk_xo_wlan_clk>, <&clock_gcc clk_rf_clk2>, <&clock_debug clk_gcc_debug_mux_8937>, <&clock_gcc clk_wcnss_m_clk>; clock-names = "xo", "rf_clk", "measure", "wcnss_debug"; qcom,has-autodetect-xo; qcom,is-pronto-v3; qcom,has-pronto-hw; qcom,has-vsys-adc-channel; qcom,wcnss-adc_tm = <&pm8937_adc_tm>; }; spmi_bus: qcom,spmi@200f000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x200f000 0x1000>, Loading Loading
arch/arm/boot/dts/qcom/msmgold-pinctrl.dtsi +79 −1 Original line number Diff line number Diff line /* * Copyright (c) 2015, The Linux Foundation. All rights reserved. * Copyright (c) 2015-2016, 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 Loading Loading @@ -128,6 +128,84 @@ }; wcnss_pmux_5wire { /* Active configuration of bus pins */ wcnss_default: wcnss_default { wcss_wlan2 { pins = "gpio76"; function = "wcss_wlan2"; }; wcss_wlan1 { pins = "gpio77"; function = "wcss_wlan1"; }; wcss_wlan0 { pins = "gpio78"; function = "wcss_wlan0"; }; wcss_wlan { pins = "gpio79", "gpio80"; function = "wcss_wlan"; }; config { pins = "gpio76", "gpio77", "gpio78", "gpio79", "gpio80"; drive-strength = <6>; /* 6 MA */ bias-pull-up; /* PULL UP */ }; }; wcnss_sleep: wcnss_sleep { wcss_wlan2 { pins = "gpio76"; function = "wcss_wlan2"; }; wcss_wlan1 { pins = "gpio77"; function = "wcss_wlan1"; }; wcss_wlan0 { pins = "gpio78"; function = "wcss_wlan0"; }; wcss_wlan { pins = "gpio79", "gpio80"; function = "wcss_wlan"; }; config { pins = "gpio76", "gpio77", "gpio78", "gpio79", "gpio80"; drive-strength = <2>; /* 2 MA */ bias-pull-down; /* PULL Down */ }; }; }; wcnss_pmux_gpio: wcnss_pmux_gpio { wcnss_gpio_default: wcnss_gpio_default { /* Active configuration of bus pins */ mux { /* Uses general purpose pins */ pins = "gpio76", "gpio77", "gpio78", "gpio79", "gpio80"; function = "gpio"; }; config { pins = "gpio76", "gpio77", "gpio78", "gpio79", "gpio80"; drive-strength = <6>; /* 6 MA */ bias-pull-up; /* PULL UP */ }; }; }; pmx_mdss: pmx_mdss { mdss_dsi_active: mdss_dsi_active { mux { Loading
arch/arm/boot/dts/qcom/msmgold.dtsi +82 −1 Original line number Diff line number Diff line /* * Copyright (c) 2015, The Linux Foundation. All rights reserved. * Copyright (c) 2015-2016, 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 Loading Loading @@ -434,6 +434,87 @@ rpm-channel-type = <15>; /* SMD_APPS_RPM */ }; qcom,wcnss-wlan@0a000000 { compatible = "qcom,wcnss_wlan"; reg = <0x0a000000 0x280000>, <0x0b011008 0x04>, <0x0a21b000 0x3000>, <0x03204000 0x00000100>, <0x03200800 0x00000200>, <0x0a100400 0x00000200>, <0x0a205050 0x00000200>, <0x0a219000 0x00000020>, <0x0a080488 0x00000008>, <0x0a080fb0 0x00000008>, <0x0a08040c 0x00000008>, <0x0a0120a8 0x00000008>, <0x0a012448 0x00000008>, <0x0a080c00 0x00000001>; reg-names = "wcnss_mmio", "wcnss_fiq", "pronto_phy_base", "riva_phy_base", "riva_ccu_base", "pronto_a2xb_base", "pronto_ccpu_base", "pronto_saw2_base", "wlan_tx_phy_aborts","wlan_brdg_err_source", "wlan_tx_status", "alarms_txctl", "alarms_tactl", "pronto_mcu_base"; interrupts = <0 145 0 0 146 0>; interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; qcom,pronto-vddmx-supply = <&pmgold_l3_level_ao>; qcom,pronto-vddcx-supply = <&pmgold_s2_level>; qcom,pronto-vddpx-supply = <&pmgold_l5>; qcom,iris-vddxo-supply = <&pmgold_l7>; qcom,iris-vddrfa-supply = <&pmgold_l19>; qcom,iris-vddpa-supply = <&pmgold_l9>; qcom,iris-vdddig-supply = <&pmgold_l5>; qcom,iris-vddxo-voltage-level = <1800000 0 1800000>; qcom,iris-vddrfa-voltage-level = <1300000 0 1300000>; qcom,iris-vddpa-voltage-level = <3300000 0 3300000>; qcom,iris-vdddig-voltage-level = <1800000 0 1800000>; qcom,vddmx-voltage-level = <RPM_SMD_REGULATOR_LEVEL_TURBO RPM_SMD_REGULATOR_LEVEL_NONE RPM_SMD_REGULATOR_LEVEL_TURBO>; qcom,vddcx-voltage-level = <RPM_SMD_REGULATOR_LEVEL_NOM RPM_SMD_REGULATOR_LEVEL_NONE RPM_SMD_REGULATOR_LEVEL_TURBO>; qcom,vddpx-voltage-level = <1800000 0 1800000>; qcom,iris-vddxo-current = <10000>; qcom,iris-vddrfa-current = <100000>; qcom,iris-vddpa-current = <515000>; qcom,iris-vdddig-current = <10000>; qcom,pronto-vddmx-current = <0>; qcom,pronto-vddcx-current = <0>; qcom,pronto-vddpx-current = <0>; pinctrl-names = "wcnss_default", "wcnss_sleep", "wcnss_gpio_default"; pinctrl-0 = <&wcnss_default>; pinctrl-1 = <&wcnss_sleep>; pinctrl-2 = <&wcnss_gpio_default>; gpios = <&tlmm 76 0>, <&tlmm 77 0>, <&tlmm 78 0>, <&tlmm 79 0>, <&tlmm 80 0>; clocks = <&clock_gcc clk_xo_wlan_clk>, <&clock_gcc clk_rf_clk2>, <&clock_debug clk_gcc_debug_mux_8937>, <&clock_gcc clk_wcnss_m_clk>; clock-names = "xo", "rf_clk", "measure", "wcnss_debug"; qcom,has-autodetect-xo; qcom,is-pronto-v3; qcom,has-pronto-hw; qcom,has-vsys-adc-channel; qcom,wcnss-adc_tm = <&pm8937_adc_tm>; }; spmi_bus: qcom,spmi@200f000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x200f000 0x1000>, Loading