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