1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Hardkernel's Exynos4412 based ODROID-U3 board device tree source 4 * 5 * Copyright (c) 2014 Marek Szyprowski <m.szyprowski@samsung.com> 6 * 7 * Device tree source file for Hardkernel's ODROID-U3 board which is based 8 * on Samsung's Exynos4412 SoC. 9 */ 10 11/dts-v1/; 12#include "exynos4412-odroid-common.dtsi" 13#include "exynos4412-prime.dtsi" 14 15/ { 16 model = "Hardkernel ODROID-U3 board based on Exynos4412"; 17 compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4"; 18 19 memory@40000000 { 20 device_type = "memory"; 21 reg = <0x40000000 0x7FF00000>; 22 }; 23 24 leds { 25 compatible = "gpio-leds"; 26 led1 { 27 label = "led1:heart"; 28 gpios = <&gpc1 0 GPIO_ACTIVE_LOW>; 29 default-state = "on"; 30 linux,default-trigger = "heartbeat"; 31 }; 32 }; 33 34 fan0: pwm-fan { 35 compatible = "pwm-fan"; 36 pwms = <&pwm 0 10000 0>; 37 #cooling-cells = <2>; 38 cooling-levels = <0 102 170 230>; 39 }; 40}; 41 42&adc { 43 vdd-supply = <&ldo10_reg>; 44 /* Nothing connected to ADC inputs, keep it disabled */ 45}; 46 47/* Supply for LAN9730/SMSC95xx */ 48&buck8_reg { 49 regulator-name = "BUCK8_P3V3"; 50 regulator-min-microvolt = <3300000>; 51 regulator-max-microvolt = <3300000>; 52}; 53 54&cpu_thermal { 55 cooling-maps { 56 map0 { 57 trip = <&cpu_alert1>; 58 cooling-device = <&cpu0 9 9>, <&cpu1 9 9>, 59 <&cpu2 9 9>, <&cpu3 9 9>, 60 <&fan0 1 2>; 61 }; 62 map1 { 63 trip = <&cpu_alert2>; 64 cooling-device = <&cpu0 15 15>, <&cpu1 15 15>, 65 <&cpu2 15 15>, <&cpu3 15 15>, 66 <&fan0 2 3>; 67 }; 68 map2 { 69 trip = <&cpu_alert0>; 70 cooling-device = <&fan0 0 1>; 71 }; 72 }; 73}; 74 75&hdmicec { 76 needs-hpd; 77}; 78 79/* VDDQ for MSHC (eMMC card) */ 80&ldo22_reg { 81 regulator-name = "LDO22_VDDQ_MMC4_2.8V"; 82 regulator-min-microvolt = <2800000>; 83 regulator-max-microvolt = <2800000>; 84}; 85 86&mshc_0 { 87 vqmmc-supply = <&ldo22_reg>; 88}; 89 90&pwm { 91 pinctrl-0 = <&pwm0_out>; 92 pinctrl-names = "default"; 93 samsung,pwm-outputs = <0>; 94 status = "okay"; 95}; 96 97&usb3503 { 98 clock-names = "refclk"; 99 clocks = <&pmu_system_controller 0>; 100 refclk-frequency = <24000000>; 101}; 102 103&ehci { 104 phys = <&exynos_usbphy 2>, <&exynos_usbphy 3>; 105 phy-names = "hsic0", "hsic1"; 106}; 107 108&sound { 109 model = "Odroid-U3"; 110 samsung,audio-widgets = 111 "Headphone", "Headphone Jack", 112 "Speakers", "Speakers"; 113 samsung,audio-routing = 114 "Headphone Jack", "HPL", 115 "Headphone Jack", "HPR", 116 "Headphone Jack", "MICBIAS", 117 "IN1", "Headphone Jack", 118 "Speakers", "SPKL", 119 "Speakers", "SPKR"; 120}; 121 122&spi_1 { 123 pinctrl-names = "default"; 124 pinctrl-0 = <&spi1_bus>; 125 cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>; 126 status = "okay"; 127}; 128