Merge tag 'irqchip-4.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / exynos5250-snow-rev5.dts
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 };
25
26 &i2c_7 {
27         max98090: codec@10 {
28                 compatible = "maxim,max98090";
29                 reg = <0x10>;
30                 interrupts = <4 IRQ_TYPE_NONE>;
31                 interrupt-parent = <&gpx0>;
32                 pinctrl-names = "default";
33                 pinctrl-0 = <&max98090_irq>;
34         };
35 };
36
37 &pinctrl_0 {
38         max98090_irq: max98090-irq {
39                 samsung,pins = "gpx0-4";
40                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
41                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
42                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
43         };
44 };