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
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};
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};