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