Krzysztof Kozlowski | 6658356 | 2015-09-16 08:37:11 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Hardkernel Odroid XU4 board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2015 Krzysztof Kozlowski |
| 5 | * Copyright (c) 2014 Collabora Ltd. |
| 6 | * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd. |
| 7 | * http://www.samsung.com |
| 8 | * |
| 9 | * This program is free software; you can redistribute it and/or modify |
| 10 | * it under the terms of the GNU General Public License version 2 as |
| 11 | * published by the Free Software Foundation. |
| 12 | */ |
| 13 | |
| 14 | /dts-v1/; |
| 15 | #include "exynos5422-odroidxu3-common.dtsi" |
| 16 | |
| 17 | / { |
| 18 | model = "Hardkernel Odroid XU4"; |
| 19 | compatible = "hardkernel,odroid-xu4", "samsung,exynos5800", \ |
| 20 | "samsung,exynos5"; |
| 21 | |
| 22 | pwmleds { |
| 23 | compatible = "pwm-leds"; |
| 24 | |
| 25 | blueled { |
| 26 | label = "blue:heartbeat"; |
| 27 | pwms = <&pwm 2 2000000 0>; |
| 28 | pwm-names = "pwm2"; |
| 29 | max_brightness = <255>; |
| 30 | linux,default-trigger = "heartbeat"; |
| 31 | }; |
| 32 | }; |
| 33 | }; |
| 34 | |
| 35 | &pwm { |
| 36 | /* |
| 37 | * PWM 0 -- fan |
| 38 | * PWM 2 -- Blue LED |
| 39 | */ |
| 40 | pinctrl-0 = <&pwm0_out &pwm2_out>; |
| 41 | pinctrl-names = "default"; |
| 42 | samsung,pwm-outputs = <0>, <2>; |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
| 46 | &usbdrd_dwc3_1 { |
| 47 | dr_mode = "host"; |
| 48 | }; |