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