WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / exynos5422-odroidxu4.dts
blobede7822576436d90e7dcb061cb79ddee2d315407
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Hardkernel Odroid XU4 board device tree source
4  *
5  * Copyright (c) 2015 Krzysztof Kozlowski
6  * Copyright (c) 2014 Collabora Ltd.
7  * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd.
8  *              http://www.samsung.com
9  */
11 /dts-v1/;
12 #include <dt-bindings/sound/samsung-i2s.h>
13 #include "exynos5422-odroidxu3-common.dtsi"
15 / {
16         model = "Hardkernel Odroid XU4";
17         compatible = "hardkernel,odroid-xu4", "samsung,exynos5800", \
18                      "samsung,exynos5";
20         led-controller {
21                 compatible = "pwm-leds";
23                 led-1 {
24                         label = "blue:heartbeat";
25                         pwms = <&pwm 2 2000000 0>;
26                         pwm-names = "pwm2";
27                         max_brightness = <255>;
28                         linux,default-trigger = "heartbeat";
29                 };
30         };
32         sound: sound {
33                 compatible = "samsung,odroid-xu3-audio";
34                 model = "Odroid-XU4";
36                 samsung,audio-routing = "I2S Playback", "Mixer DAI TX";
38                 cpu {
39                         sound-dai = <&i2s0 0>, <&i2s0 1>;
40                 };
42                 codec {
43                         sound-dai = <&hdmi>;
44                 };
45         };
48 &i2s0 {
49         status = "okay";
51         assigned-clocks = <&clock CLK_MOUT_EPLL>,
52                           <&clock CLK_MOUT_MAU_EPLL>,
53                           <&clock CLK_MOUT_USER_MAU_EPLL>,
54                           <&clock_audss EXYNOS_MOUT_AUDSS>,
55                           <&clock_audss EXYNOS_MOUT_I2S>,
56                           <&i2s0 CLK_I2S_RCLK_SRC>,
57                           <&clock_audss EXYNOS_DOUT_SRP>,
58                           <&clock_audss EXYNOS_DOUT_AUD_BUS>,
59                           <&clock_audss EXYNOS_DOUT_I2S>;
61         assigned-clock-parents = <&clock CLK_FOUT_EPLL>,
62                                  <&clock CLK_MOUT_EPLL>,
63                                  <&clock CLK_MOUT_MAU_EPLL>,
64                                  <&clock CLK_MAU_EPLL>,
65                                  <&clock_audss EXYNOS_MOUT_AUDSS>,
66                                  <&clock_audss EXYNOS_SCLK_I2S>;
68         assigned-clock-rates = <0>,
69                                <0>,
70                                <0>,
71                                <0>,
72                                <0>,
73                                <0>,
74                                <196608001>,
75                                <(196608002 / 2)>,
76                                <196608000>;
79 &pwm {
80         /*
81          * PWM 0 -- fan
82          * PWM 2 -- Blue LED
83          */
84         pinctrl-0 = <&pwm0_out &pwm2_out>;
85         pinctrl-names = "default";
86         samsung,pwm-outputs = <0>, <2>;
87         status = "okay";
90 &usbdrd_dwc3_1 {
91         dr_mode = "host";