大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全系列IDE稳定放心使用
msm8937.dtsi中
aliases {
i2c1 = &i2c_1;
i2c2 = &i2c_2;
i2c3 = &i2c_3;
i2c4 = &i2c_4;
i2c5 = &i2c_5;
i2c6 = &i2c_6;
i2c8 = &i2c_8;
};
i2c_1: i2c@78b5000 { /* BLSP1 QUP1 */
compatible = “qcom,i2c-msm-v2”;
#address-cells = <1>;
#size-cells = <0>;
reg-names = “qup_phys_addr”;
reg = <0x78b5000 0x600>;
interrupt-names = “qup_irq”;
interrupts = <0 95 0>;
qcom,clk-freq-out = <400000>;
qcom,clk-freq-in = <19200000>;
clock-names = “iface_clk”, “core_clk”;
clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
<&clock_gcc clk_gcc_blsp1_qup1_i2c_apps_clk>;
pinctrl-names = “i2c_active”, “i2c_sleep”;
pinctrl-0 = <&i2c_1_active>;
pinctrl-1 = <&i2c_1_sleep>;
qcom,noise-rjct-scl = <0>;
qcom,noise-rjct-sda = <0>;
qcom,master-id = <86>;
dmas = <&dma_blsp1 4 64 0x20000020 0x20>,
<&dma_blsp1 5 32 0x20000020 0x20>;
dma-names = “tx”, “rx”;
};
i2c_2: i2c@78b6000 { /* BLSP1 QUP2 */
compatible = “qcom,i2c-msm-v2”;
#address-cells = <1>;
#size-cells = <0>;
reg-names = “qup_phys_addr”;
reg = <0x78b6000 0x600>;
interrupt-names = “qup_irq”;
interrupts = <0 96 0>;
qcom,clk-freq-out = <400000>;
qcom,clk-freq-in = <19200000>;
clock-names = “iface_clk”, “core_clk”;
clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
<&clock_gcc clk_gcc_blsp1_qup2_i2c_apps_clk>;
pinctrl-names = “i2c_active”, “i2c_sleep”;
pinctrl-0 = <&i2c_2_active>;
pinctrl-1 = <&i2c_2_sleep>;
qcom,noise-rjct-scl = <0>;
qcom,noise-rjct-sda = <0>;
qcom,master-id = <86>;
dmas = <&dma_blsp1 6 64 0x20000020 0x20>,
<&dma_blsp1 7 32 0x20000020 0x20>;
dma-names = “tx”, “rx”;
};
i2c_3: i2c@78b7000 { /* BLSP1 QUP3 */
compatible = “qcom,i2c-msm-v2”;
#address-cells = <1>;
#size-cells = <0>;
reg-names = “qup_phys_addr”;
reg = <0x78b7000 0x600>;
interrupt-names = “qup_irq”;
interrupts = <0 97 0>;
qcom,clk-freq-out = <400000>;
qcom,clk-freq-in = <19200000>;
clock-names = “iface_clk”, “core_clk”;
clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
<&clock_gcc clk_gcc_blsp1_qup3_i2c_apps_clk>;
pinctrl-names = “i2c_active”, “i2c_sleep”;
pinctrl-0 = <&i2c_3_active>;
pinctrl-1 = <&i2c_3_sleep>;
qcom,noise-rjct-scl = <0>;
qcom,noise-rjct-sda = <0>;
qcom,master-id = <86>;
dmas = <&dma_blsp1 8 64 0x20000020 0x20>,
<&dma_blsp1 9 32 0x20000020 0x20>;
dma-names = “tx”, “rx”;
};
i2c_4: i2c@78b8000 { /* BLSP1 QUP3 */
compatible = “qcom,i2c-msm-v2”;
#address-cells = <1>;
#size-cells = <0>;
reg-names = “qup_phys_addr”;
reg = <0x78b8000 0x600>;
interrupt-names = “qup_irq”;
interrupts = <0 98 0>;
qcom,clk-freq-out = <400000>;
qcom,clk-freq-in = <19200000>;
clock-names = “iface_clk”, “core_clk”;
clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
<&clock_gcc clk_gcc_blsp1_qup4_i2c_apps_clk>;
pinctrl-names = “i2c_active”, “i2c_sleep”;
pinctrl-0 = <&i2c_4_active>;
pinctrl-1 = <&i2c_4_sleep>;
qcom,noise-rjct-scl = <0>;
qcom,noise-rjct-sda = <0>;
qcom,master-id = <86>;
dmas = <&dma_blsp1 10 64 0x20000020 0x20>,
<&dma_blsp1 11 32 0x20000020 0x20>;
dma-names = “tx”, “rx”;
};
i2c_5: i2c@7af5000 { // BLSP2 QUP1
compatible = “qcom,i2c-msm-v2”;
#address-cells = <1>;
#size-cells = <0>;
reg-names = “qup_phys_addr”;
reg = <0x7af5000 0x600>;
interrupt-names = “qup_irq”;
interrupts = <0 299 0>;
qcom,clk-freq-out = <400000>;
qcom,clk-freq-in = <19200000>;
clock-names = “iface_clk”, “core_clk”;
clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
<&clock_gcc clk_gcc_blsp2_qup1_i2c_apps_clk>;
pinctrl-names = “i2c_active”, “i2c_sleep”;
pinctrl-0 = <&i2c_5_active>;
pinctrl-1 = <&i2c_5_sleep>;
qcom,noise-rjct-scl = <0>;
qcom,noise-rjct-sda = <0>;
qcom,master-id = <84>;
dmas = <&dma_blsp2 4 64 0x20000020 0x20>,
<&dma_blsp2 5 32 0x20000020 0x20>;
dma-names = “tx”, “rx”;
};
i2c_6: i2c@7af6000 {
compatible = “qcom,i2c-msm-v2”;
#address-cells = <1>;
#size-cells = <0>;
reg-names = “qup_phys_addr”;
reg = <0x7af6000 0x600>;
interrupt-names = “qup_irq”;
interrupts = <0 300 0>;
qcom,clk-freq-out = <400000>;
qcom,clk-freq-in = <19200000>;
clock-names = “iface_clk”, “core_clk”;
clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
<&clock_gcc clk_gcc_blsp2_qup2_i2c_apps_clk>;
pinctrl-names = “i2c_active”, “i2c_sleep”;
pinctrl-0 = <&i2c_6_active>;
pinctrl-1 = <&i2c_6_sleep>;
qcom,noise-rjct-scl = <0>;
qcom,noise-rjct-sda = <0>;
qcom,master-id = <84>;
dmas = <&dma_blsp2 6 64 0x20000020 0x20>,
<&dma_blsp2 7 32 0x20000020 0x20>;
dma-names = “tx”, “rx”;
};
i2c_8: i2c@7af8000 { // BLSP2 QUP4
compatible = “qcom,i2c-msm-v2”;
#address-cells = <1>;
#size-cells = <0>;
reg-names = “qup_phys_addr”;
reg = <0x7af8000 0x600>;
interrupt-names = “qup_irq”;
interrupts = <0 302 0>;
qcom,clk-freq-out = <400000>;
qcom,clk-freq-in = <19200000>;
clock-names = “iface_clk”, “core_clk”;
clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
<&clock_gcc clk_gcc_blsp2_qup4_i2c_apps_clk>;
pinctrl-names = “i2c_active”, “i2c_sleep”;
pinctrl-0 = <&i2c_8_active>;
pinctrl-1 = <&i2c_8_sleep>;
qcom,noise-rjct-scl = <0>;
qcom,noise-rjct-sda = <0>;
qcom,master-id = <84>;
dmas = <&dma_blsp2 10 64 0x20000020 0x20>,
<&dma_blsp2 11 32 0x20000020 0x20>;
dma-names = “tx”, “rx”;
};
msm8937-pinctrl.dtsi
i2c_1 {
i2c_1_active: i2c_1_active {
/* active state */
mux {
pins = “gpio2”, “gpio3”;
function = “blsp_i2c1”;
};
config {
pins = “gpio2”, “gpio3”;
drive-strength = <2>;
bias-disable;
};
};
i2c_1_sleep: i2c_1_sleep {
/* suspended state */
mux {
pins = “gpio2”, “gpio3”;
function = “gpio”;
};
config {
pins = “gpio2”, “gpio3”;
drive-strength = <2>;
bias-disable;
};
};
};
i2c_2 {
i2c_2_active: i2c_2_active {
/* active state */
mux {
pins = “gpio6”, “gpio7”;
function = “blsp_i2c2”;
};
config {
pins = “gpio6”, “gpio7”;
drive-strength = <2>;
bias-disable;
};
};
i2c_2_sleep: i2c_2_sleep {
/* suspended state */
mux {
pins = “gpio6”, “gpio7”;
function = “gpio”;
};
config {
pins = “gpio6”, “gpio7”;
drive-strength = <2>;
bias-disable;
};
};
};
i2c_3 {
i2c_3_active: i2c_3_active {
/* active state */
mux {
pins = “gpio10”, “gpio11”;
function = “blsp_i2c3”;
};
config {
pins = “gpio10”, “gpio11”;
drive-strength = <2>;
bias-disable;
};
};
i2c_3_sleep: i2c_3_sleep {
/* suspended state */
mux {
pins = “gpio10”, “gpio11”;
function = “gpio”;
};
config {
pins = “gpio10”, “gpio11”;
drive-strength = <2>;
bias-disable;
};
};
};
i2c_4 {
i2c_4_active: i2c_4_active {
/* active state */
mux {
pins = “gpio14”, “gpio15”;
function = “blsp_i2c4”;
};
config {
pins = “gpio14”, “gpio15”;
drive-strength = <2>;
bias-disable;
};
};
i2c_4_sleep: i2c_4_sleep {
/* suspended state */
mux {
pins = “gpio14”, “gpio15”;
function = “gpio”;
};
config {
pins = “gpio14”, “gpio15”;
drive-strength = <2>;
bias-disable;
};
};
};
i2c_5 {
i2c_5_active: i2c_5_active {
/* active state */
mux {
pins = “gpio18”, “gpio19”;
function = “blsp_i2c5”;
};
config {
pins = “gpio18”, “gpio19”;
drive-strength = <2>;
bias-disable;
};
};
i2c_5_sleep: i2c_5_sleep {
/* suspended state */
mux {
pins = “gpio18”, “gpio19”;
function = “gpio”;
};
config {
pins = “gpio18”, “gpio19”;
drive-strength = <2>;
bias-disable;
};
};
};
i2c_6 {
i2c_6_active: i2c_6_active {
/* active state */
mux {
pins = “gpio22”, “gpio23”;
function = “blsp_i2c6”;
};
config {
pins = “gpio22”, “gpio23”;
drive-strength = <2>;
bias-disable;
};
};
i2c_6_sleep: i2c_6_sleep {
/* suspended state */
mux {
pins = “gpio22”, “gpio23”;
function = “gpio”;
};
config {
pins = “gpio22”, “gpio23”;
drive-strength = <2>;
bias-disable;
};
};
};
i2c_8 {
i2c_8_active: i2c_8_active {
/* active state */
mux {
pins = “gpio98”, “gpio99”;
function = “blsp_i2c8”;
};
config {
pins = “gpio98”, “gpio99”;
drive-strength = <2>;
bias-disable;
};
};
i2c_8_sleep: i2c_8_sleep {
/* suspended state */
mux {
pins = “gpio98”, “gpio99”;
function = “gpio”;
};
config {
pins = “gpio98”, “gpio99”;
drive-strength = <2>;
bias-disable;
};
};
};
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/180479.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...