Loading...
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};
1/*
2 * Google Snow board device tree source
3 *
4 * Copyright (c) 2012 Google, Inc
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11/dts-v1/;
12#include "exynos5250-snow-common.dtsi"
13
14/ {
15 model = "Google Snow";
16 compatible = "google,snow-rev4", "google,snow", "samsung,exynos5250",
17 "samsung,exynos5";
18
19 sound {
20 compatible = "google,snow-audio-max98095";
21
22 samsung,model = "Snow-I2S-MAX98095";
23 samsung,audio-codec = <&max98095>;
24 };
25};
26
27&i2c_7 {
28 max98095: codec@11 {
29 compatible = "maxim,max98095";
30 reg = <0x11>;
31 pinctrl-names = "default";
32 pinctrl-0 = <&max98095_en>;
33 };
34};
35
36&pinctrl_0 {
37 max98095_en: max98095-en {
38 samsung,pins = "gpx1-7";
39 samsung,pin-function = <0>;
40 samsung,pin-pud = <3>;
41 samsung,pin-drv = <0>;
42 };
43};