Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /dts-v1/;
- /plugin/;
- / {
- compatible = "brcm,bcm2835";
- fragment@0 {
- target = <&i2s>;
- overlay {
- status = "okay";
- #sound-dai-cells = <0>;
- };
- };
- fragment@1 {
- target-path = "/"; /* just а nodelabel definition /
- overlay {
- adc3140_mclk: adc3140-mclk {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <12288000>; / 12.288 MHz /
- };
- };
- };
- fragment@2 {
- target = <&sound>;
- overlay {
- compatible = "simple-audio-card";
- simple-audio-card,name = "TLV320ADC3140";
- simple-audio-card,format = "dsp_a"; / DSP_A = 4-channel TDM /
- simple-audio-card,dai-tdm-slot-num = <4>;
- simple-audio-card,dai-tdm-slot-width = <32>;
- simple-audio-card,bitclock-master = <&adc3140>;
- simple-audio-card,frame-master = <&adc3140>;
- simple-audio-card,cpu {
- sound-dai = <&i2s>;
- };
- simple-audio-card,codec {
- sound-dai = <&adc3140>;
- clocks = <&adc3140_mclk>;
- #clock-cells = <0>;
- };
- };
- };
- fragment@3 {
- target = <&i2c1>; / or &i2c0 depending on wire setup /
- overlay {
- status = "okay";
- };
- };
- fragment@4 {
- / PHY node for the TLV320ADC3140 /
- target-path = "/";
- overlay {
- adc3140: tlv320adc3140@4c {
- compatible = "ti,tlv320adc3140";
- reg = <0x4c>; / I²C adress /
- #sound-dai-cells = <0>;
- ti,use-internal-areg; / internal LDO /
- ti,mic-bias-source = <6>; / MICBIAS to pin 6 */
- iov-supply = <®_3v3>;
- ldoin-supply = <®_3v3>;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement