1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/* 3724ba675SRob Herring * Hardkernel Odroid XU4 board device tree source 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright (c) 2015 Krzysztof Kozlowski 6724ba675SRob Herring * Copyright (c) 2014 Collabora Ltd. 7724ba675SRob Herring * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd. 8724ba675SRob Herring * http://www.samsung.com 9724ba675SRob Herring */ 10724ba675SRob Herring 11724ba675SRob Herring/dts-v1/; 12724ba675SRob Herring#include <dt-bindings/leds/common.h> 13724ba675SRob Herring#include <dt-bindings/sound/samsung-i2s.h> 14724ba675SRob Herring#include "exynos5422-odroidxu3-common.dtsi" 15724ba675SRob Herring 16724ba675SRob Herring/ { 17724ba675SRob Herring model = "Hardkernel Odroid XU4"; 18724ba675SRob Herring compatible = "hardkernel,odroid-xu4", "samsung,exynos5800", \ 19724ba675SRob Herring "samsung,exynos5"; 20724ba675SRob Herring 21724ba675SRob Herring led-controller { 22724ba675SRob Herring compatible = "pwm-leds"; 23724ba675SRob Herring 24724ba675SRob Herring led-1 { 25724ba675SRob Herring function = LED_FUNCTION_HEARTBEAT; 26724ba675SRob Herring color = <LED_COLOR_ID_BLUE>; 27724ba675SRob Herring pwms = <&pwm 2 2000000 0>; 28724ba675SRob Herring pwm-names = "pwm2"; 29724ba675SRob Herring max-brightness = <255>; 30724ba675SRob Herring linux,default-trigger = "heartbeat"; 31724ba675SRob Herring }; 32724ba675SRob Herring }; 33724ba675SRob Herring 34724ba675SRob Herring sound: sound { 35724ba675SRob Herring compatible = "samsung,odroid-xu3-audio"; 36724ba675SRob Herring model = "Odroid-XU4"; 37724ba675SRob Herring 38*c670e7c8SKrzysztof Kozlowski audio-routing = "I2S Playback", "Mixer DAI TX"; 39724ba675SRob Herring 40724ba675SRob Herring cpu { 41724ba675SRob Herring sound-dai = <&i2s0 0>, <&i2s0 1>; 42724ba675SRob Herring }; 43724ba675SRob Herring 44724ba675SRob Herring codec { 45724ba675SRob Herring sound-dai = <&hdmi>; 46724ba675SRob Herring }; 47724ba675SRob Herring }; 48724ba675SRob Herring}; 49724ba675SRob Herring 50724ba675SRob Herring&i2s0 { 51724ba675SRob Herring status = "okay"; 52724ba675SRob Herring 53724ba675SRob Herring assigned-clocks = <&clock CLK_MOUT_EPLL>, 54724ba675SRob Herring <&clock CLK_MOUT_MAU_EPLL>, 55724ba675SRob Herring <&clock CLK_MOUT_USER_MAU_EPLL>, 56724ba675SRob Herring <&clock_audss EXYNOS_MOUT_AUDSS>, 57724ba675SRob Herring <&clock_audss EXYNOS_MOUT_I2S>, 58724ba675SRob Herring <&i2s0 CLK_I2S_RCLK_SRC>, 59724ba675SRob Herring <&clock_audss EXYNOS_DOUT_SRP>, 60724ba675SRob Herring <&clock_audss EXYNOS_DOUT_AUD_BUS>, 61724ba675SRob Herring <&clock_audss EXYNOS_DOUT_I2S>; 62724ba675SRob Herring 63724ba675SRob Herring assigned-clock-parents = <&clock CLK_FOUT_EPLL>, 64724ba675SRob Herring <&clock CLK_MOUT_EPLL>, 65724ba675SRob Herring <&clock CLK_MOUT_MAU_EPLL>, 66724ba675SRob Herring <&clock CLK_MAU_EPLL>, 67724ba675SRob Herring <&clock_audss EXYNOS_MOUT_AUDSS>, 68724ba675SRob Herring <&clock_audss EXYNOS_SCLK_I2S>; 69724ba675SRob Herring 70724ba675SRob Herring assigned-clock-rates = <0>, 71724ba675SRob Herring <0>, 72724ba675SRob Herring <0>, 73724ba675SRob Herring <0>, 74724ba675SRob Herring <0>, 75724ba675SRob Herring <0>, 76724ba675SRob Herring <196608001>, 77724ba675SRob Herring <(196608002 / 2)>, 78724ba675SRob Herring <196608000>; 79724ba675SRob Herring}; 80724ba675SRob Herring 81724ba675SRob Herring&pwm { 82724ba675SRob Herring /* 83724ba675SRob Herring * PWM 0 -- fan 84724ba675SRob Herring * PWM 2 -- Blue LED 85724ba675SRob Herring */ 86724ba675SRob Herring pinctrl-0 = <&pwm0_out &pwm2_out>; 87724ba675SRob Herring pinctrl-names = "default"; 88724ba675SRob Herring samsung,pwm-outputs = <0>, <2>; 89724ba675SRob Herring status = "okay"; 90724ba675SRob Herring}; 91724ba675SRob Herring 92724ba675SRob Herring&usbdrd_dwc3_1 { 93724ba675SRob Herring dr_mode = "host"; 94724ba675SRob Herring}; 95