summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/overlays/rra-digidac1-wm8741-audio-overlay.dts
blob: 16b1247bfa618ff85936ddf78c3aea58075eaa67 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// Definitions for RRA DigiDAC1 Audio card
/dts-v1/;
/plugin/;

/ {
	compatible = "brcm,bcm2708";

	fragment@0 {
		target-path = "/";
		__overlay__ {
			aliases {
				ldo0 = &ldo0;
				ldo1 = &ldo1;
			};
		};
	};

	fragment@1 {
		target-path = "/soc";
		__overlay__ {

			ldo1: ldo1 {
				compatible = "regulator-fixed";
				regulator-name = "DC_5V";
				regulator-min-microvolt = <5000000>;
				regulator-max-microvolt = <5000000>;
				regulator-always-on;
			};

			ldo0: ldo0 {
				compatible = "regulator-fixed";
				regulator-name = "DC_3V3";
				regulator-min-microvolt = <3300000>;
				regulator-max-microvolt = <3300000>;
				regulator-always-on;
			};
		};
	};

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

	fragment@3 {
		target = <&i2c1>;
		__overlay__ {
			#address-cells = <1>;
			#size-cells = <0>;
			status = "okay";

			wm8804@3b {
				#sound-dai-cells = <0>;
				compatible = "wlf,wm8804";
				reg = <0x3b>;
				status = "okay";
				PVDD-supply = <&ldo0>;
				DVDD-supply = <&ldo0>;
			};

			wm8742: wm8741@1a {
				compatible = "wlf,wm8741";
				reg = <0x1a>;
				status = "okay";
				AVDD-supply = <&ldo1>;
				DVDD-supply = <&ldo0>;
			};
		};
	};

	fragment@4 {
		target = <&sound>;
		__overlay__ {
			compatible = "rra,digidac1-soundcard";
			i2s-controller = <&i2s>;
			status = "okay";
		};
	};
};