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