Linux Audio

Check our new training course

Embedded Linux training

Mar 10-20, 2025, special US time zones
Register
Loading...
Note: File does not exist in v6.8.
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 * Google Snow board device tree source
 4 *
 5 * Copyright (c) 2012 Google, Inc
 6 */
 7
 8/dts-v1/;
 9#include "exynos5250-snow-common.dtsi"
10
11/ {
12	model = "Google Snow";
13	compatible = "google,snow-rev4", "google,snow", "samsung,exynos5250",
14		"samsung,exynos5";
15	chassis-type = "laptop";
16
17	sound {
18		compatible = "google,snow-audio-max98095";
19
20		samsung,model = "Snow-I2S-MAX98095";
21		samsung,audio-codec = <&max98095>;
22
23		cpu {
24			sound-dai = <&i2s0 0>;
25		};
26
27		codec {
28			sound-dai = <&max98095 0>, <&hdmi>;
29		};
30	};
31};
32
33&i2c_7 {
34	max98095: audio-codec@11 {
35		compatible = "maxim,max98095";
36		reg = <0x11>;
37		pinctrl-names = "default";
38		pinctrl-0 = <&max98095_en>;
39		clocks = <&pmu_system_controller 0>;
40		clock-names = "mclk";
41		#sound-dai-cells = <1>;
42	};
43};
44
45&pinctrl_0 {
46	max98095_en: max98095-en-pins {
47		samsung,pins = "gpx1-7";
48		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
49		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
50		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
51	};
52};