1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * SDM845 SoC device tree source 4 * 5 * Copyright (c) 2018, The Linux Foundation. A 6 */ 7 8 &slim { 9 status = "okay"; 10 11 slim@1 { 12 reg = <1>; 13 #address-cells = <2>; 14 #size-cells = <0>; 15 16 wcd9340_ifd: ifd@0,0 { 17 compatible = "slim217, 18 reg = <0 0>; 19 }; 20 21 wcd9340: codec@1,0 { 22 compatible = "slim217, 23 reg = <1 0>; 24 slim-ifc-dev = <&wcd93 25 26 #sound-dai-cells = <1> 27 28 interrupts-extended = 29 interrupt-controller; 30 #interrupt-cells = <1> 31 32 clock-names = "extclk" 33 clocks = <&rpmhcc RPMH 34 35 #clock-cells = <0>; 36 clock-frequency = <960 37 clock-output-names = " 38 39 pinctrl-0 = <&wcd_intr 40 pinctrl-names = "defau 41 42 qcom,micbias1-microvol 43 qcom,micbias2-microvol 44 qcom,micbias3-microvol 45 qcom,micbias4-microvol 46 47 #address-cells = <1>; 48 #size-cells = <1>; 49 50 wcdgpio: gpio-controll 51 compatible = " 52 gpio-controlle 53 #gpio-cells = 54 reg = <0x42 0x 55 }; 56 57 swm: soundwire@c85 { 58 compatible = " 59 reg = <0xc85 0 60 interrupts-ext 61 62 qcom,dout-port 63 qcom,din-ports 64 qcom,ports-sin 65 qcom,ports-off 66 qcom,ports-off 67 68 #sound-dai-cel 69 clocks = <&wcd 70 clock-names = 71 #address-cells 72 #size-cells = 73 }; 74 }; 75 }; 76 }; 77 78 &tlmm { 79 wcd_intr_default: wcd-intr-default-sta 80 pins = "gpio54"; 81 function = "gpio"; 82 83 bias-pull-down; 84 drive-strength = <2>; 85 }; 86 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.