1/* 2 * Google Snow Rev 5+ board device tree source 3 * 4 * Copyright (c) 2012 Google, Inc 5 * Copyright (c) 2015 Samsung Electronics Co., Ltd. 6 * http://www.samsung.com 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License version 2 as 10 * published by the Free Software Foundation. 11 */ 12 13/dts-v1/; 14#include "exynos5250-snow-common.dtsi" 15 16/ { 17 model = "Google Snow Rev 5+"; 18 compatible = "google,snow-rev5", "samsung,exynos5250", 19 "samsung,exynos5"; 20 21 sound { 22 compatible = "google,snow-audio-max98090"; 23 24 samsung,model = "Snow-I2S-MAX98090"; 25 samsung,audio-codec = <&max98090>; 26 27 cpu { 28 sound-dai = <&i2s0 0>; 29 }; 30 31 codec { 32 sound-dai = <&max98090 0>, <&hdmi>; 33 }; 34 }; 35}; 36 37&i2c_7 { 38 max98090: codec@10 { 39 compatible = "maxim,max98090"; 40 reg = <0x10>; 41 interrupts = <4 IRQ_TYPE_NONE>; 42 interrupt-parent = <&gpx0>; 43 pinctrl-names = "default"; 44 pinctrl-0 = <&max98090_irq>; 45 clocks = <&pmu_system_controller 0>; 46 clock-names = "mclk"; 47 #sound-dai-cells = <1>; 48 }; 49}; 50 51&pinctrl_0 { 52 max98090_irq: max98090-irq { 53 samsung,pins = "gpx0-4"; 54 samsung,pin-function = <0>; 55 samsung,pin-pud = <0>; 56 samsung,pin-drv = <0>; 57 }; 58}; 59