xref: /freebsd-src/sys/contrib/device-tree/src/arm/samsung/exynos5422-odroidxu3.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Hardkernel Odroid XU3 board device tree source
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (c) 2014 Collabora Ltd.
6*f126890aSEmmanuel Vadot * Copyright (c) 2013 Samsung Electronics Co., Ltd.
7*f126890aSEmmanuel Vadot *		http://www.samsung.com
8*f126890aSEmmanuel Vadot */
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/dts-v1/;
11*f126890aSEmmanuel Vadot#include "exynos5422-odroidxu3-common.dtsi"
12*f126890aSEmmanuel Vadot#include "exynos5422-odroidxu3-audio.dtsi"
13*f126890aSEmmanuel Vadot#include "exynos54xx-odroidxu-leds.dtsi"
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot/ {
16*f126890aSEmmanuel Vadot	model = "Hardkernel Odroid XU3";
17*f126890aSEmmanuel Vadot	compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot	aliases {
20*f126890aSEmmanuel Vadot		ethernet = &ethernet;
21*f126890aSEmmanuel Vadot	};
22*f126890aSEmmanuel Vadot};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot&i2c_0 {
25*f126890aSEmmanuel Vadot	status = "okay";
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot	/* A15 cluster: VDD_ARM */
28*f126890aSEmmanuel Vadot	power-sensor@40 {
29*f126890aSEmmanuel Vadot		compatible = "ti,ina231";
30*f126890aSEmmanuel Vadot		reg = <0x40>;
31*f126890aSEmmanuel Vadot		shunt-resistor = <10000>;
32*f126890aSEmmanuel Vadot	};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot	/* memory: VDD_MEM */
35*f126890aSEmmanuel Vadot	power-sensor@41 {
36*f126890aSEmmanuel Vadot		compatible = "ti,ina231";
37*f126890aSEmmanuel Vadot		reg = <0x41>;
38*f126890aSEmmanuel Vadot		shunt-resistor = <10000>;
39*f126890aSEmmanuel Vadot	};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot	/* GPU: VDD_G3D */
42*f126890aSEmmanuel Vadot	power-sensor@44 {
43*f126890aSEmmanuel Vadot		compatible = "ti,ina231";
44*f126890aSEmmanuel Vadot		reg = <0x44>;
45*f126890aSEmmanuel Vadot		shunt-resistor = <10000>;
46*f126890aSEmmanuel Vadot	};
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot	/* A7 cluster: VDD_KFC */
49*f126890aSEmmanuel Vadot	power-sensor@45 {
50*f126890aSEmmanuel Vadot		compatible = "ti,ina231";
51*f126890aSEmmanuel Vadot		reg = <0x45>;
52*f126890aSEmmanuel Vadot		shunt-resistor = <10000>;
53*f126890aSEmmanuel Vadot	};
54*f126890aSEmmanuel Vadot};
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot&ldo28_reg {
57*f126890aSEmmanuel Vadot	regulator-name = "dp_p3v3";
58*f126890aSEmmanuel Vadot	regulator-min-microvolt = <3300000>;
59*f126890aSEmmanuel Vadot	regulator-max-microvolt = <3300000>;
60*f126890aSEmmanuel Vadot};
61*f126890aSEmmanuel Vadot
62*f126890aSEmmanuel Vadot&pwm {
63*f126890aSEmmanuel Vadot	/*
64*f126890aSEmmanuel Vadot	 * PWM 0 -- fan
65*f126890aSEmmanuel Vadot	 * PWM 1 -- Green LED
66*f126890aSEmmanuel Vadot	 * PWM 2 -- Blue LED
67*f126890aSEmmanuel Vadot	 * PWM 3 -- on MIPI connector for backlight
68*f126890aSEmmanuel Vadot	 */
69*f126890aSEmmanuel Vadot	pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
70*f126890aSEmmanuel Vadot	pinctrl-names = "default";
71*f126890aSEmmanuel Vadot	status = "okay";
72*f126890aSEmmanuel Vadot};
73*f126890aSEmmanuel Vadot
74*f126890aSEmmanuel Vadot&usbdrd_dwc3_1 {
75*f126890aSEmmanuel Vadot	dr_mode = "peripheral";
76*f126890aSEmmanuel Vadot};
77*f126890aSEmmanuel Vadot
78*f126890aSEmmanuel Vadot&usbhost2 {
79*f126890aSEmmanuel Vadot	#address-cells = <1>;
80*f126890aSEmmanuel Vadot	#size-cells = <0>;
81*f126890aSEmmanuel Vadot
82*f126890aSEmmanuel Vadot	hub@1 {
83*f126890aSEmmanuel Vadot		compatible = "usb424,9514";
84*f126890aSEmmanuel Vadot		reg = <1>;
85*f126890aSEmmanuel Vadot		#address-cells = <1>;
86*f126890aSEmmanuel Vadot		#size-cells = <0>;
87*f126890aSEmmanuel Vadot
88*f126890aSEmmanuel Vadot		ethernet: ethernet@1 {
89*f126890aSEmmanuel Vadot			compatible = "usb424,ec00";
90*f126890aSEmmanuel Vadot			reg = <1>;
91*f126890aSEmmanuel Vadot			local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
92*f126890aSEmmanuel Vadot		};
93*f126890aSEmmanuel Vadot	};
94*f126890aSEmmanuel Vadot};
95