mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 19:15:04 +07:00
d953f1fb14
Usage of DTS macros instead of hard-coded numbers makes code easier to read. One does not have to remember which value means pull-up/down or specific driver strength. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
/*
|
|
* Google Snow Rev 5+ board device tree source
|
|
*
|
|
* Copyright (c) 2012 Google, Inc
|
|
* Copyright (c) 2015 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "exynos5250-snow-common.dtsi"
|
|
|
|
/ {
|
|
model = "Google Snow Rev 5+";
|
|
compatible = "google,snow-rev5", "samsung,exynos5250",
|
|
"samsung,exynos5";
|
|
|
|
sound {
|
|
compatible = "google,snow-audio-max98090";
|
|
|
|
samsung,model = "Snow-I2S-MAX98090";
|
|
samsung,audio-codec = <&max98090>;
|
|
};
|
|
};
|
|
|
|
&i2c_7 {
|
|
max98090: codec@10 {
|
|
compatible = "maxim,max98090";
|
|
reg = <0x10>;
|
|
interrupts = <4 IRQ_TYPE_NONE>;
|
|
interrupt-parent = <&gpx0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&max98090_irq>;
|
|
};
|
|
};
|
|
|
|
&pinctrl_0 {
|
|
max98090_irq: max98090-irq {
|
|
samsung,pins = "gpx0-4";
|
|
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
|
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
|
};
|
|
};
|