1279377Simp/* 2279377Simp * Hardkernel's Exynos4412 based ODROID-U3 board device tree source 3279377Simp * 4279377Simp * Copyright (c) 2014 Marek Szyprowski <m.szyprowski@samsung.com> 5279377Simp * 6279377Simp * Device tree source file for Hardkernel's ODROID-U3 board which is based 7279377Simp * on Samsung's Exynos4412 SoC. 8279377Simp * 9279377Simp * This program is free software; you can redistribute it and/or modify 10279377Simp * it under the terms of the GNU General Public License version 2 as 11279377Simp * published by the Free Software Foundation. 12279377Simp*/ 13279377Simp 14279377Simp/dts-v1/; 15279377Simp#include "exynos4412-odroid-common.dtsi" 16279377Simp 17279377Simp/ { 18279377Simp model = "Hardkernel ODROID-U3 board based on Exynos4412"; 19279377Simp compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4"; 20279377Simp 21279377Simp memory { 22279377Simp reg = <0x40000000 0x7FF00000>; 23279377Simp }; 24279377Simp 25279377Simp leds { 26279377Simp compatible = "gpio-leds"; 27279377Simp led1 { 28279377Simp label = "led1:heart"; 29295436Sandrew gpios = <&gpc1 0 GPIO_ACTIVE_LOW>; 30279377Simp default-state = "on"; 31279377Simp linux,default-trigger = "heartbeat"; 32279377Simp }; 33279377Simp }; 34295436Sandrew 35295436Sandrew fan0: pwm-fan { 36295436Sandrew compatible = "pwm-fan"; 37295436Sandrew pwms = <&pwm 0 10000 0>; 38295436Sandrew cooling-min-state = <0>; 39295436Sandrew cooling-max-state = <3>; 40295436Sandrew #cooling-cells = <2>; 41295436Sandrew cooling-levels = <0 102 170 230>; 42295436Sandrew }; 43295436Sandrew 44295436Sandrew thermal-zones { 45295436Sandrew cpu_thermal: cpu-thermal { 46295436Sandrew cooling-maps { 47295436Sandrew map0 { 48295436Sandrew trip = <&cpu_alert1>; 49295436Sandrew cooling-device = <&cpu0 7 7>; 50295436Sandrew }; 51295436Sandrew map1 { 52295436Sandrew trip = <&cpu_alert2>; 53295436Sandrew cooling-device = <&cpu0 13 13>; 54295436Sandrew }; 55295436Sandrew map2 { 56295436Sandrew trip = <&cpu_alert0>; 57295436Sandrew cooling-device = <&fan0 0 1>; 58295436Sandrew }; 59295436Sandrew map3 { 60295436Sandrew trip = <&cpu_alert1>; 61295436Sandrew cooling-device = <&fan0 1 2>; 62295436Sandrew }; 63295436Sandrew map4 { 64295436Sandrew trip = <&cpu_alert2>; 65295436Sandrew cooling-device = <&fan0 2 3>; 66295436Sandrew }; 67295436Sandrew }; 68295436Sandrew }; 69295436Sandrew }; 70279377Simp}; 71279377Simp 72295436Sandrew&pwm { 73295436Sandrew pinctrl-0 = <&pwm0_out>; 74295436Sandrew pinctrl-names = "default"; 75295436Sandrew samsung,pwm-outputs = <0>; 76295436Sandrew status = "okay"; 77295436Sandrew}; 78295436Sandrew 79279377Simp&usb3503 { 80279377Simp clock-names = "refclk"; 81279377Simp clocks = <&pmu_system_controller 0>; 82279377Simp refclk-frequency = <24000000>; 83279377Simp}; 84279377Simp 85279377Simp&ehci { 86279377Simp port@1 { 87279377Simp status = "okay"; 88279377Simp }; 89279377Simp port@2 { 90279377Simp status = "okay"; 91279377Simp }; 92279377Simp}; 93279377Simp 94279377Simp&sound { 95279377Simp simple-audio-card,name = "Odroid-U3"; 96279377Simp simple-audio-card,widgets = 97279377Simp "Headphone", "Headphone Jack", 98279377Simp "Speakers", "Speakers"; 99279377Simp simple-audio-card,routing = 100279377Simp "Headphone Jack", "HPL", 101279377Simp "Headphone Jack", "HPR", 102279377Simp "Headphone Jack", "MICBIAS", 103279377Simp "IN1", "Headphone Jack", 104279377Simp "Speakers", "SPKL", 105279377Simp "Speakers", "SPKR"; 106279377Simp}; 107295436Sandrew 108295436Sandrew&spi_1 { 109295436Sandrew pinctrl-names = "default"; 110295436Sandrew pinctrl-0 = <&spi1_bus>; 111295436Sandrew cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>; 112295436Sandrew status = "okay"; 113295436Sandrew}; 114