GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / exynos5250-snow.dts
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
16         sound {
17                 compatible = "google,snow-audio-max98095";
18
19                 samsung,model = "Snow-I2S-MAX98095";
20                 samsung,audio-codec = <&max98095>;
21
22                 cpu {
23                         sound-dai = <&i2s0 0>;
24                 };
25
26                 codec {
27                         sound-dai = <&max98095 0>, <&hdmi>;
28                 };
29         };
30 };
31
32 &i2c_7 {
33         max98095: codec@11 {
34                 compatible = "maxim,max98095";
35                 reg = <0x11>;
36                 pinctrl-names = "default";
37                 pinctrl-0 = <&max98095_en>;
38                 clocks = <&pmu_system_controller 0>;
39                 clock-names = "mclk";
40                 #sound-dai-cells = <1>;
41         };
42 };
43
44 &pinctrl_0 {
45         max98095_en: max98095-en {
46                 samsung,pins = "gpx1-7";
47                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
48                 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
49                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
50         };
51 };