1// SPDX-License-Identifier: GPL-2.0
2
3/dts-v1/;
4
5#include "pxa300-raumfeld-common.dtsi"
6#include "pxa300-raumfeld-tuneable-clock.dtsi"
7
8/ {
9	model = "Raumfeld Connector (PXA3xx)";
10	compatible = "raumfeld,raumfeld-connector-pxa303", "marvell,pxa300";
11
12	sound {
13		compatible = "simple-audio-card";
14		simple-audio-card,name = "Raumfeld Connector";
15		#address-cells = <1>;
16		#size-cells = <0>;
17
18		simple-audio-card,dai-link@0 {
19			reg = <0>;
20			format = "i2s";
21			bitclock-master = <&dailink_master_analog>;
22			frame-master = <&dailink_master_analog>;
23			mclk-fs = <256>;
24
25			dailink_master_analog: cpu {
26				sound-dai = <&ssp_dai0>;
27			};
28
29			codec {
30				sound-dai = <&cs4270>;
31			};
32		};
33
34		simple-audio-card,dai-link@1 {
35			reg = <1>;
36			format = "i2s";
37			bitclock-master = <&dailink_master_digital>;
38			frame-master = <&dailink_master_digital>;
39			mclk-fs = <256>;
40
41			dailink_master_digital: cpu {
42				sound-dai = <&ssp_dai1>;
43			};
44
45			codec {
46				sound-dai = <&ak4104>;
47			};
48		};
49	};
50};
51
52&ssp1 {
53	status = "okay";
54};
55
56&ssp2 {
57	status = "okay";
58};
59
60&spi {
61	ak4104: optical-transmitter@0 {
62		compatible = "asahi-kasei,ak4104";
63		reg = <0>;
64		vdd-supply = <&reg_3v3>;
65		spi-max-frequency = <5000000>;
66		reset-gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
67		#sound-dai-cells = <0>;
68	};
69};
70
71&rotary {
72	status = "disabled";
73};
74