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