Linux Audio

Check our new training course

Loading...
v4.17
 1// SPDX-License-Identifier: GPL-2.0+ OR MIT
 2//
 3// Device Tree Source for UniPhier PXs2 Vodka Board
 4//
 5// Copyright (C) 2015-2016 Socionext Inc.
 6//   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
 7
 8/dts-v1/;
 9#include "uniphier-pxs2.dtsi"
10
11/ {
12	model = "UniPhier PXs2 Vodka Board";
13	compatible = "socionext,uniphier-pxs2-vodka", "socionext,uniphier-pxs2";
14
15	chosen {
16		stdout-path = "serial0:115200n8";
17	};
18
19	aliases {
20		serial0 = &serial2;
21		serial1 = &serial0;
22		serial2 = &serial1;
23		i2c0 = &i2c0;
24		i2c4 = &i2c4;
25		i2c5 = &i2c5;
26		i2c6 = &i2c6;
 
27	};
28
29	memory@80000000 {
30		device_type = "memory";
31		reg = <0x80000000 0x80000000>;
32	};
33
34	sound {
35		compatible = "audio-graph-card";
36		label = "UniPhier PXs2";
37		dais = <&spdif_port0
38			&comp_spdif_port0>;
39	};
40
41	spdif-out {
42		compatible = "linux,spdif-dit";
43		#sound-dai-cells = <0>;
44
45		port@0 {
46			spdif_tx: endpoint {
47				remote-endpoint = <&spdif_hiecout1>;
48			};
49		};
50	};
51
52	comp-spdif-out {
53		compatible = "linux,spdif-dit";
54		#sound-dai-cells = <0>;
55
56		port@0 {
57			comp_spdif_tx: endpoint {
58				remote-endpoint = <&comp_spdif_hiecout1>;
59			};
60		};
61	};
62};
63
64&serial2 {
65	status = "okay";
66};
67
68&spdif_hiecout1 {
69	remote-endpoint = <&spdif_tx>;
70};
71
72&comp_spdif_hiecout1 {
73	remote-endpoint = <&comp_spdif_tx>;
74};
75
76&i2c0 {
77	status = "okay";
78};
79
 
 
 
 
80&eth {
81	status = "okay";
82	phy-handle = <&ethphy>;
83};
84
85&mdio {
86	ethphy: ethphy@1 {
87		reg = <1>;
88	};
 
 
 
 
89};
v5.14.15
 1// SPDX-License-Identifier: GPL-2.0+ OR MIT
 2//
 3// Device Tree Source for UniPhier PXs2 Vodka Board
 4//
 5// Copyright (C) 2015-2016 Socionext Inc.
 6//   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
 7
 8/dts-v1/;
 9#include "uniphier-pxs2.dtsi"
10
11/ {
12	model = "UniPhier PXs2 Vodka Board";
13	compatible = "socionext,uniphier-pxs2-vodka", "socionext,uniphier-pxs2";
14
15	chosen {
16		stdout-path = "serial0:115200n8";
17	};
18
19	aliases {
20		serial0 = &serial2;
21		serial1 = &serial0;
22		serial2 = &serial1;
23		i2c0 = &i2c0;
24		i2c4 = &i2c4;
25		i2c5 = &i2c5;
26		i2c6 = &i2c6;
27		ethernet0 = &eth;
28	};
29
30	memory@80000000 {
31		device_type = "memory";
32		reg = <0x80000000 0x80000000>;
33	};
34
35	sound {
36		compatible = "audio-graph-card";
37		label = "UniPhier PXs2";
38		dais = <&spdif_port0
39			&comp_spdif_port0>;
40	};
41
42	spdif-out {
43		compatible = "linux,spdif-dit";
44		#sound-dai-cells = <0>;
45
46		port@0 {
47			spdif_tx: endpoint {
48				remote-endpoint = <&spdif_hiecout1>;
49			};
50		};
51	};
52
53	comp-spdif-out {
54		compatible = "linux,spdif-dit";
55		#sound-dai-cells = <0>;
56
57		port@0 {
58			comp_spdif_tx: endpoint {
59				remote-endpoint = <&comp_spdif_hiecout1>;
60			};
61		};
62	};
63};
64
65&serial2 {
66	status = "okay";
67};
68
69&spdif_hiecout1 {
70	remote-endpoint = <&spdif_tx>;
71};
72
73&comp_spdif_hiecout1 {
74	remote-endpoint = <&comp_spdif_tx>;
75};
76
77&i2c0 {
78	status = "okay";
79};
80
81&emmc {
82	status = "okay";
83};
84
85&eth {
86	status = "okay";
87	phy-handle = <&ethphy>;
88};
89
90&mdio {
91	ethphy: ethernet-phy@1 {
92		reg = <1>;
93	};
94};
95
96&usb0 {
97	status = "okay";
98};