aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/overlays/adau1977-adc-overlay.dts
blob: 298488e19156514cd743e2d6366943c62d0b9129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Definitions for ADAU1977 ADC
/dts-v1/;
/plugin/;

/ {
	compatible = "brcm,bcm2835";
    
	fragment@0 {
        	target = <&i2c>;
        	
		__overlay__ {
			#address-cells = <1>;
			#size-cells = <0>;
			status = "okay";
			
			adau1977: codec@11 {
                        	compatible = "adi,adau1977";
                        	reg = <0x11>;
                        	reset-gpios = <&gpio 5 0>;
				AVDD-supply = <&vdd_3v3_reg>;
                	};
        	};
	};

	fragment@1 {
		target = <&i2s>;
		__overlay__ {
			status = "okay";
		};
	};

	fragment@2 {
		target = <&sound>;
		__overlay__ {
			compatible = "adi,adau1977-adc";
			i2s-controller = <&i2s>;
			status = "okay";
		};
	};
};