Loading...
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Google Snow Rev 5+ board device tree source
4 *
5 * Copyright (c) 2012 Google, Inc
6 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
7 * http://www.samsung.com
8 */
9
10/dts-v1/;
11#include "exynos5250-snow-common.dtsi"
12
13/ {
14 model = "Google Snow Rev 5+";
15 compatible = "google,snow-rev5", "samsung,exynos5250",
16 "samsung,exynos5";
17 chassis-type = "laptop";
18
19 sound {
20 compatible = "google,snow-audio-max98090";
21
22 samsung,model = "Snow-I2S-MAX98090";
23 samsung,audio-codec = <&max98090>;
24
25 cpu {
26 sound-dai = <&i2s0 0>;
27 };
28
29 codec {
30 sound-dai = <&max98090 0>, <&hdmi>;
31 };
32 };
33};
34
35&i2c_7 {
36 max98090: audio-codec@10 {
37 compatible = "maxim,max98090";
38 reg = <0x10>;
39 interrupts = <4 IRQ_TYPE_NONE>;
40 interrupt-parent = <&gpx0>;
41 pinctrl-names = "default";
42 pinctrl-0 = <&max98090_irq>;
43 clocks = <&pmu_system_controller 0>;
44 clock-names = "mclk";
45 #sound-dai-cells = <1>;
46 };
47};
48
49&pinctrl_0 {
50 max98090_irq: max98090-irq-pins {
51 samsung,pins = "gpx0-4";
52 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
53 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
54 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
55 };
56};
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Google Snow Rev 5+ board device tree source
4 *
5 * Copyright (c) 2012 Google, Inc
6 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
7 * http://www.samsung.com
8 */
9
10/dts-v1/;
11#include "exynos5250-snow-common.dtsi"
12
13/ {
14 model = "Google Snow Rev 5+";
15 compatible = "google,snow-rev5", "samsung,exynos5250",
16 "samsung,exynos5";
17
18 sound {
19 compatible = "google,snow-audio-max98090";
20
21 samsung,model = "Snow-I2S-MAX98090";
22 samsung,audio-codec = <&max98090>;
23
24 cpu {
25 sound-dai = <&i2s0 0>;
26 };
27
28 codec {
29 sound-dai = <&max98090 0>, <&hdmi>;
30 };
31 };
32};
33
34&i2c_7 {
35 max98090: audio-codec@10 {
36 compatible = "maxim,max98090";
37 reg = <0x10>;
38 interrupts = <4 IRQ_TYPE_NONE>;
39 interrupt-parent = <&gpx0>;
40 pinctrl-names = "default";
41 pinctrl-0 = <&max98090_irq>;
42 clocks = <&pmu_system_controller 0>;
43 clock-names = "mclk";
44 #sound-dai-cells = <1>;
45 };
46};
47
48&pinctrl_0 {
49 max98090_irq: max98090-irq {
50 samsung,pins = "gpx0-4";
51 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
52 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
53 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
54 };
55};