0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Hardkernel Odroid XU3 board device tree source
0004 *
0005 * Copyright (c) 2014 Collabora Ltd.
0006 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
0007 * http://www.samsung.com
0008 */
0009
0010 /dts-v1/;
0011 #include "exynos5422-odroidxu3-common.dtsi"
0012 #include "exynos5422-odroidxu3-audio.dtsi"
0013 #include "exynos54xx-odroidxu-leds.dtsi"
0014
0015 / {
0016 model = "Hardkernel Odroid XU3";
0017 compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
0018
0019 aliases {
0020 ethernet = ðernet;
0021 };
0022 };
0023
0024 &i2c_0 {
0025 status = "okay";
0026
0027 /* A15 cluster: VDD_ARM */
0028 power-sensor@40 {
0029 compatible = "ti,ina231";
0030 reg = <0x40>;
0031 shunt-resistor = <10000>;
0032 };
0033
0034 /* memory: VDD_MEM */
0035 power-sensor@41 {
0036 compatible = "ti,ina231";
0037 reg = <0x41>;
0038 shunt-resistor = <10000>;
0039 };
0040
0041 /* GPU: VDD_G3D */
0042 power-sensor@44 {
0043 compatible = "ti,ina231";
0044 reg = <0x44>;
0045 shunt-resistor = <10000>;
0046 };
0047
0048 /* A7 cluster: VDD_KFC */
0049 power-sensor@45 {
0050 compatible = "ti,ina231";
0051 reg = <0x45>;
0052 shunt-resistor = <10000>;
0053 };
0054 };
0055
0056 &ldo28_reg {
0057 regulator-name = "dp_p3v3";
0058 regulator-min-microvolt = <3300000>;
0059 regulator-max-microvolt = <3300000>;
0060 };
0061
0062 &pwm {
0063 /*
0064 * PWM 0 -- fan
0065 * PWM 1 -- Green LED
0066 * PWM 2 -- Blue LED
0067 * PWM 3 -- on MIPI connector for backlight
0068 */
0069 pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
0070 pinctrl-names = "default";
0071 status = "okay";
0072 };
0073
0074 &usbdrd_dwc3_1 {
0075 dr_mode = "peripheral";
0076 };
0077
0078 &usbhost2 {
0079 #address-cells = <1>;
0080 #size-cells = <0>;
0081
0082 hub@1 {
0083 compatible = "usb424,9514";
0084 reg = <1>;
0085 #address-cells = <1>;
0086 #size-cells = <0>;
0087
0088 ethernet: ethernet@1 {
0089 compatible = "usb424,ec00";
0090 reg = <1>;
0091 local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
0092 };
0093 };
0094 };